diff options
Diffstat (limited to 'sleepmap-theme')
-rw-r--r-- | sleepmap-theme/templates/base.html | 92 |
1 files changed, 37 insertions, 55 deletions
diff --git a/sleepmap-theme/templates/base.html b/sleepmap-theme/templates/base.html index 68a8cdf..673ffc8 100644 --- a/sleepmap-theme/templates/base.html +++ b/sleepmap-theme/templates/base.html @@ -11,16 +11,19 @@ </head> <body id="index" class="home"> - <header id="banner" class="body"> + <header id="banner"> <h1><a href="{{ SITEURL }}/index.html">{{ SITENAME }} {% if SITESUBTITLE %} <strong>{{ SITESUBTITLE }}</strong>{% endif %}</a></h1> + </header> + <header id="sidemenu" class="body"> <nav> + <h2 class="menuheader">Menu</h2> <ul> {% for title, link in MENUITEMS %} <li><a href="{{ link }}">{{ title }}</a></li> {% endfor %} {% if DISPLAY_PAGES_ON_MENU != False %} {% for p in PAGES %} - {% if p.title == "Projects" or p.title == "Music" or p.title == "Installations" %} + {% if p.title == "Projects" or p.title == "Music" or p.title == "Installations" or p.title == "About" or p.title == "Contact" %} <li {% if p == page %}class="active"{% endif %}> <a href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a> <ul> @@ -34,66 +37,45 @@ {% endif %} {% endfor %} {% endif %} - <li><a href="{{ SITEURL }}/{{ ARCHIVES_URL }}">Archives</a></li> {#{% for cat, null in categories %} <li {% if cat == category %}class="active"{% endif %}><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li> {% endfor %}#} </ul> - </nav> - </header><!-- /#banner --> - - {% block content %} - {% endblock %} - - <aside id="sidebar"> - <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> - {% if LINKS %} - <div class="widget blogroll"> - <h2>Links</h2> - <ul> - {% for name, link in LINKS %} - <li><a href="{{ link }}">{{ name }}</a></li> - {% endfor %} - </ul> - </div><!-- /.blogroll --> - {% 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 %} - <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> + <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><!-- /.social --> - {% endif %} - </aside><!-- /#sidebar --> - - <footer id="footer" class="body"> - <address id="about" class="vcard body"> - <nav> + </ul> + </div> + {% if LINKS %} + <div class="widget blogroll"> + <h2>Links</h2> <ul> - {% for p in PAGES %} - {% if p.title == "About" or p.title == "Contact" %} - <li {% if p == page %}class="active"{% endif %}> - <a href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a> - </li> - {% endif %} + {% for name, link in LINKS %} + <li><a href="{{ link }}">{{ name }}</a></li> {% endfor %} </ul> - </nav> - </address><!-- /#about --> - </footer><!-- /#footer --> + </div><!-- /.blogroll --> + {% 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 %} + <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 %} + </ul> + </div><!-- /.social --> + {% endif %} + </nav> + </header><!-- /#banner --> + {% block content %} + {% endblock %} </body> </html> |