diff options
author | Alex Legler <alex@a3li.li> | 2015-04-02 11:09:31 +0200 |
---|---|---|
committer | Alex Legler <alex@a3li.li> | 2015-04-02 11:09:31 +0200 |
commit | b0c622da7c0a8bdabb33d63fd0c2d7c2b9df02ef (patch) | |
tree | ae0ac2aedd349e4e5757200b5017e12f9a2b5b36 /_layouts | |
download | www-b0c622da7c0a8bdabb33d63fd0c2d7c2b9df02ef.tar.gz www-b0c622da7c0a8bdabb33d63fd0c2d7c2b9df02ef.tar.bz2 www-b0c622da7c0a8bdabb33d63fd0c2d7c2b9df02ef.zip |
Initial version
Diffstat (limited to '_layouts')
-rw-r--r-- | _layouts/box.html | 9 | ||||
-rw-r--r-- | _layouts/page-nav3.html | 13 | ||||
-rw-r--r-- | _layouts/page-pre.html | 9 | ||||
-rw-r--r-- | _layouts/page.html | 7 | ||||
-rw-r--r-- | _layouts/tyrian.html | 36 |
5 files changed, 74 insertions, 0 deletions
diff --git a/_layouts/box.html b/_layouts/box.html new file mode 100644 index 0000000..b76754c --- /dev/null +++ b/_layouts/box.html @@ -0,0 +1,9 @@ +--- +layout: tyrian +--- +<div class="jumbotron"> + {% if page.boxicon %}<i class="{{ page.boxicon }}" style="color:#ccc;float:right;font-size:100pt;" id="box-icon"></i>{% endif %} + <h1 id="box-title">{{ page.boxtitle }}</h1> + + {{ content }} +</div>
\ No newline at end of file diff --git a/_layouts/page-nav3.html b/_layouts/page-nav3.html new file mode 100644 index 0000000..3a6fe4e --- /dev/null +++ b/_layouts/page-nav3.html @@ -0,0 +1,13 @@ +--- +layout: page +--- +<div class="row"> + <div class="col-xs-12 col-md-3 col-lg-3"> + <ul class="nav nav-pills nav-stacked gentoo-nav"> + {% navigation tertiary %} + </ul> + </div> + <div class="col-xs-12 col-md-9 col-lg-9"> + {{ content }} + </div> +</div>
\ No newline at end of file diff --git a/_layouts/page-pre.html b/_layouts/page-pre.html new file mode 100644 index 0000000..c3b2627 --- /dev/null +++ b/_layouts/page-pre.html @@ -0,0 +1,9 @@ +--- +layout: tyrian +nav2-display: true +--- +<h1 class="first-header">{{ page.title }}</h1> + +<pre> +{{ content | xml_escape }} +</pre>
\ No newline at end of file diff --git a/_layouts/page.html b/_layouts/page.html new file mode 100644 index 0000000..0a04efb --- /dev/null +++ b/_layouts/page.html @@ -0,0 +1,7 @@ +--- +layout: tyrian +nav2-display: true +--- +<h1 class="first-header">{{ page.title }}</h1> + +{{ content }}
\ No newline at end of file diff --git a/_layouts/tyrian.html b/_layouts/tyrian.html new file mode 100644 index 0000000..04b61f6 --- /dev/null +++ b/_layouts/tyrian.html @@ -0,0 +1,36 @@ +<!DOCTYPE html> +<html> + {% include layout/head.html %} + <body class="{{ page.body_class }}"> + {% include layout/header.html %} + + <div class="container"> + <div class="row"> + <div id="content" class="col-md-12"> + {{ content }} + </div> + </div> + </div> + + {% include layout/footer.html %} + + <script src="{{ site.cdnurl }}/jquery.min.js"></script> + <script src="{{ site.cdnurl }}/bootstrap.min.js"></script> + <script src="{{ site.cdnurl }}/retina.min.js"></script> + {% if page.extrajs %}{% for js in page.extrajs %}<script src="/assets/js/{{ js }}"></script>{% endfor %}{% endif %} + {% if page.inlinejs %}<script>{{ page.inlinejs }}</script>{% endif %} + <script type="text/javascript"> + var _paq = _paq || []; + _paq.push(["disableCookies"]); + _paq.push(['trackPageView']); + (function() { + var u="//piwik.gentoo.org/"; + _paq.push(['setTrackerUrl', u+'piwik.php']); + _paq.push(['setSiteId', 7]); + var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; + g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s); + })(); + </script> + <noscript><p><img src="//piwik.gentoo.org/piwik.php?idsite=7" style="border:0;" alt="" /></p></noscript> + </body> +</html>
\ No newline at end of file |