aboutsummaryrefslogtreecommitdiffstats
path: root/tuxlite_tbs/templates
diff options
context:
space:
mode:
authorMatts <s@tuxlite.com>2012-02-12 06:13:15 -0500
committerMatts <s@tuxlite.com>2012-02-12 06:13:15 -0500
commit137ba2e1361d510e252bf5a05a037385867380a8 (patch)
tree48fb7b8b8be1c3ceb7e54c02ff5ffa7860dabfa6 /tuxlite_tbs/templates
parent4dc289551fee1219e1006dcce767ccf59fd8d79f (diff)
downloadpelican-themes-137ba2e1361d510e252bf5a05a037385867380a8.zip
pelican-themes-137ba2e1361d510e252bf5a05a037385867380a8.tar.gz
pelican-themes-137ba2e1361d510e252bf5a05a037385867380a8.tar.bz2
Added collapsible navbar. Moved archives and tags to sidebar.
Diffstat (limited to 'tuxlite_tbs/templates')
-rw-r--r--tuxlite_tbs/templates/base.html46
1 files changed, 30 insertions, 16 deletions
diff --git a/tuxlite_tbs/templates/base.html b/tuxlite_tbs/templates/base.html
index 33145b4..f1da904 100644
--- a/tuxlite_tbs/templates/base.html
+++ b/tuxlite_tbs/templates/base.html
@@ -20,14 +20,20 @@
</head>
<body>
- {% include "github.html" %}
<div class="navbar">
<div class="navbar-inner">
<div class="container">
+ <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </a>i
+
<a class="brand" href="{{ SITEURL }}">{{ SITENAME }}</a>
+ <div class="nav-collapse">
<ul class="nav">
{% for title, link in MENUITEMS %}
<li><a href="{{ link }}">{{ title }}</a></li>
@@ -39,12 +45,7 @@
{% endfor %}
{% endif %}
</ul>
-
- <ul class="nav pull-right">
- <li><a href="{{ SITEURL }}/archives.html">Archives</a>
- <li class="divider-vertical"></li>
- <li><a href="{{ SITEURL }}/tags.html">Tags</a>
- </ul>
+ </div>
</div>
</div>
@@ -60,6 +61,21 @@
<div class="span3">
+ <div class="well" style="padding: 8px 0; background-color: #FBFBFB;">
+ <ul class="nav nav-list">
+ <li class="nav-header">
+ Site
+ </li>
+ <li><a href="{{ SITEURL }}/archives.html">Archives</a>
+ <li><a href="{{ SITEURL }}/tags.html">Tags</a>
+ <li><a href="{{ SITEURL }}/{{ FEED }}" rel="alternate">Atom feed</a></li>
+ {% if FEED_RSS %}
+ <li><a href="{{ SITEURL }}/{{ FEED_RSS }}" rel="alternate">RSS feed</a></li>
+ {% endif %}
+ </ul>
+ </div>
+
+
{% if categories %}
<div class="well" style="padding: 8px 0; background-color: #FBFBFB;">
<ul class="nav nav-list">
@@ -74,6 +90,7 @@
</div>
{% endif %}
+
{% if LINKS %}
<div class="well" style="padding: 8px 0; background-color: #FBFBFB;">
<ul class="nav nav-list">
@@ -88,6 +105,7 @@
</div>
{% endif %}
+
{% if SOCIAL %}
<div class="social">
<div class="well" style="padding: 8px 0; background-color: #FBFBFB;">
@@ -95,12 +113,7 @@
<li class="nav-header">
Social
</li>
-
- <li><a href="{{ SITEURL }}/{{ FEED }}" rel="alternate">atom feed</a></li>
- {% if FEED_RSS %}
- <li><a href="{{ SITEURL }}/{{ FEED_RSS }}" rel="alternate">rss feed</a></li>
- {% endif %}
-
+
{% for name, link in SOCIAL %}
<li><a href="{{ link }}">{{ name }}</a></li>
{% endfor %}
@@ -115,12 +128,13 @@
<footer>
<br />
-<p>{{ SITENAME }} &copy; {{ AUTHOR }} 2012</p>
+<p><a href="{{ SITEURL }}">{{ SITENAME }}</a> &copy; {{ AUTHOR }} 2012</p>
</footer>
</div> <!-- /container -->
-
+<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
+<script src="http://twitter.github.com/bootstrap/assets/js/bootstrap-collapse.js"></script>
{% include "analytics.html" %}
-
+{% include "github.html" %}
</body>
</html>