diff options
author | David Runge <dave@sleepmap.de> | 2015-08-04 12:32:23 +0200 |
---|---|---|
committer | David Runge <dave@sleepmap.de> | 2015-08-04 12:32:23 +0200 |
commit | 66706dbebba3c2b7c8107d5fc926610acf293a05 (patch) | |
tree | 9279ce5dbf1e549afdb7cd2d6cc2bfdd0ff17e64 /sleepmap-theme | |
parent | 7b385754d7ef2151f1d4860d4670f8c6f7984c0d (diff) | |
download | sleepmap-66706dbebba3c2b7c8107d5fc926610acf293a05.tar.gz sleepmap-66706dbebba3c2b7c8107d5fc926610acf293a05.tar.bz2 sleepmap-66706dbebba3c2b7c8107d5fc926610acf293a05.tar.xz sleepmap-66706dbebba3c2b7c8107d5fc926610acf293a05.zip |
sleepmap-theme/templates/base.html: Removing the encapsulating widget divs for categories, links and social.
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 --> |