diff options
author | David Runge <dave@sleepmap.de> | 2015-08-04 01:14:20 +0200 |
---|---|---|
committer | David Runge <dave@sleepmap.de> | 2015-08-04 01:14:20 +0200 |
commit | b8c188ec7a1c80697ea08f7608ed2e114de847e5 (patch) | |
tree | ff722adef1b6aac5fb40b89d35fcbe35ad85dc5a /sleepmap-theme/templates | |
parent | 89e8ef136df715611ce050218eee42c6bc609807 (diff) | |
download | sleepmap-b8c188ec7a1c80697ea08f7608ed2e114de847e5.tar.gz sleepmap-b8c188ec7a1c80697ea08f7608ed2e114de847e5.tar.bz2 sleepmap-b8c188ec7a1c80697ea08f7608ed2e114de847e5.tar.xz sleepmap-b8c188ec7a1c80697ea08f7608ed2e114de847e5.zip |
sleepmap-theme/templates/base.html: Moving SITESUBTITLE outside of link. Removing unneeded category collection. Make external links open in new tab. Add information about sidemenu closing tag.
Diffstat (limited to 'sleepmap-theme/templates')
-rw-r--r-- | sleepmap-theme/templates/base.html | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/sleepmap-theme/templates/base.html b/sleepmap-theme/templates/base.html index 34d2bc0..caddf24 100644 --- a/sleepmap-theme/templates/base.html +++ b/sleepmap-theme/templates/base.html @@ -12,8 +12,11 @@ <body id="index" class="home"> <header id="banner"> - <h1><a href="{{ SITEURL }}/index.html">{{ SITENAME }} {% if SITESUBTITLE %} <strong>{{ SITESUBTITLE }}</strong>{% endif %}</a></h1> - </header> + <h1> + <a href="{{ SITEURL }}/index.html">{{ SITENAME }} </a> + {% if SITESUBTITLE %} <strong>{{ SITESUBTITLE }}</strong>{% endif %} + </h1> + </header> <!--/#banner--> <header id="sidemenu" class="body"> <nav> <h2 class="menuheader">Menu</h2> @@ -37,9 +40,6 @@ {% endif %} {% endfor %} {% endif %} - {#{% for cat, null in categories %} - <li {% if cat == category %}class="active"{% endif %}><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li> - {% endfor %}#} </ul> <div class="widget"> <h2>Categories</h2> @@ -54,7 +54,7 @@ <h2>Links</h2> <ul> {% for name, link in LINKS %} - <li><a href="{{ link }}">{{ name }}</a></li> + <li><a href="{{ link }}" target="_blank">{{ name }}</a></li> {% endfor %} </ul> </div><!-- /.blogroll --> @@ -63,18 +63,24 @@ <div class="widget social"> <h2>Social</h2> <ul> - <li><a href="{{ SITEURL }}/{{ FEED_ALL_ATOM }}" rel="alternate">atom feed</a></li> + <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> + <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> + <li> + <a href="{{ link }}" target="_blank">{{ name }}</a> + </li> {% endfor %} </ul> </div><!-- /.social --> {% endif %} </nav> - </header><!-- /#banner --> + </header><!-- /#sidemenu --> {% block content %} {% endblock %} </body> |