diff options
Diffstat (limited to 'sleepmap-theme')
-rw-r--r-- | sleepmap-theme/templates/base.html | 58 |
1 files changed, 26 insertions, 32 deletions
diff --git a/sleepmap-theme/templates/base.html b/sleepmap-theme/templates/base.html index caddf24..b35057e 100644 --- a/sleepmap-theme/templates/base.html +++ b/sleepmap-theme/templates/base.html @@ -41,43 +41,37 @@ {% endfor %} {% endif %} </ul> - <div class="widget"> - <h2>Categories</h2> - <ul> - {% for cat, null in categories %} - <li {% if cat == category %}class="active"{% endif %}><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li> - {% endfor %} - </ul> - </div> + <h2>Categories</h2> + <ul> + {% for cat, null in categories %} + <li {% if cat == category %}class="active"{% endif %}><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li> + {% endfor %} + </ul> {% if LINKS %} - <div class="widget blogroll"> - <h2>Links</h2> - <ul> - {% for name, link in LINKS %} - <li><a href="{{ link }}" target="_blank">{{ name }}</a></li> - {% endfor %} - </ul> - </div><!-- /.blogroll --> + <h2>Links</h2> + <ul> + {% for name, link in LINKS %} + <li><a href="{{ link }}" target="_blank">{{ name }}</a></li> + {% endfor %} + </ul> {% endif %} {% if SOCIAL %} - <div class="widget social"> - <h2>Social</h2> - <ul> - <li> - <a href="{{ SITEURL }}/{{ FEED_ALL_ATOM }}" rel="alternate">atom feed</a> - </li> - {% if FEED_RSS %} + <h2>Social</h2> + <ul class="social"> + <li> + <a href="{{ SITEURL }}/{{ FEED_ALL_ATOM }}" 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="{{ SITEURL }}/{{ FEED_RSS }}" rel="alternate">rss feed</a> + <a href="{{ link }}" target="_blank">{{ name }}</a> </li> - {% endif %} - {% for name, link in SOCIAL %} - <li> - <a href="{{ link }}" target="_blank">{{ name }}</a> - </li> - {% endfor %} - </ul> - </div><!-- /.social --> + {% endfor %} + </ul> {% endif %} </nav> </header><!-- /#sidemenu --> |