diff options
author | David Runge <dave@sleepmap.de> | 2015-04-03 00:43:23 +0200 |
---|---|---|
committer | David Runge <dave@sleepmap.de> | 2015-04-03 00:43:23 +0200 |
commit | 08102c75bc450f4f71fa5f5672902a35bec87907 (patch) | |
tree | be4eeb1569e53f2918075f00c920c0739baffc1e /sleepmap-theme/templates | |
parent | 09546ff05e7072e1e07944c8d902353065369344 (diff) | |
download | sleepmap-08102c75bc450f4f71fa5f5672902a35bec87907.tar.gz sleepmap-08102c75bc450f4f71fa5f5672902a35bec87907.tar.bz2 sleepmap-08102c75bc450f4f71fa5f5672902a35bec87907.tar.xz sleepmap-08102c75bc450f4f71fa5f5672902a35bec87907.zip |
sleepmap-theme/templates/base.html: Retabbing, removing useless IE and github junk.
Diffstat (limited to 'sleepmap-theme/templates')
-rw-r--r-- | sleepmap-theme/templates/base.html | 158 |
1 files changed, 72 insertions, 86 deletions
diff --git a/sleepmap-theme/templates/base.html b/sleepmap-theme/templates/base.html index 64b1748..8026b78 100644 --- a/sleepmap-theme/templates/base.html +++ b/sleepmap-theme/templates/base.html @@ -1,90 +1,76 @@ <!DOCTYPE html> <html lang="en"> -<head> - <title>{% block title %}{{ SITENAME }}{%endblock%}</title> - <meta charset="utf-8" /> - <link rel="stylesheet" href="{{ SITEURL }}/theme/css/{{ CSS_FILE }}" type="text/css" /> - <link href="{{ SITEURL }}/{{ FEED }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} ATOM Feed" /> - {% if FEED_RSS %} - <link href="{{ SITEURL }}/{{ FEED_RSS }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} RSS Feed" /> - {% endif %} + <head> + <title>{% block title %}{{ SITENAME }}{%endblock%}</title> + <meta charset="utf-8" /> + <link rel="stylesheet" href="{{ SITEURL }}/theme/css/{{ CSS_FILE }}" type="text/css" /> + <link href="{{ SITEURL }}/{{ FEED }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} ATOM Feed" /> + {% if FEED_RSS %} + <link href="{{ SITEURL }}/{{ FEED_RSS }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} RSS Feed" /> + {% endif %} + </head> - - <!--[if IE]> - <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]--> - - <!--[if lte IE 7]> - <link rel="stylesheet" type="text/css" media="all" href="{{ SITEURL }}/css/ie.css"/> - <script src="{{ SITEURL }}/js/IE8.js" type="text/javascript"></script><![endif]--> - - <!--[if lt IE 7]> - <link rel="stylesheet" type="text/css" media="all" href="{{ SITEURL }}/css/ie6.css"/><![endif]--> - -</head> - -<body id="index" class="home"> -{% include 'github.html' %} - <header id="banner" class="body"> - <h1><a href="{{ SITEURL }}/index.html">{{ SITENAME }} {% if SITESUBTITLE %} <strong>{{ SITESUBTITLE }}</strong>{% endif %}</a></h1> - <nav><ul> - {% for title, link in MENUITEMS %} - <li><a href="{{ link }}">{{ title }}</a></li> - {% endfor %} - {% if DISPLAY_PAGES_ON_MENU != False %} - {% for p in PAGES %} - <li {% if p == page %}class="active"{% endif %}><a href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a></li> - {% 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> - {% endfor %} - </ul> - </div><!-- /.social --> - {% endif %} - </aside><!-- /#sidebar --> - - <footer id="footer" class="body"> - <address id="about" class="vcard body"> - <p> © Sleep Map 2015 </p> - </address><!-- /#about --> - </footer><!-- /#footer --> -</body> + <body id="index" class="home"> + <header id="banner" class="body"> + <h1><a href="{{ SITEURL }}/index.html">{{ SITENAME }} {% if SITESUBTITLE %} <strong>{{ SITESUBTITLE }}</strong>{% endif %}</a></h1> + <nav><ul> + {% for title, link in MENUITEMS %} + <li><a href="{{ link }}">{{ title }}</a></li> + {% endfor %} + {% if DISPLAY_PAGES_ON_MENU != False %} + {% for p in PAGES %} + <li {% if p == page %}class="active"{% endif %}><a href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a></li> + {% 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> + {% endfor %} + </ul> + </div><!-- /.social --> + {% endif %} + </aside><!-- /#sidebar --> + + <footer id="footer" class="body"> + <address id="about" class="vcard body"> + <p> © Sleep Map 2015 </p> + </address><!-- /#about --> + </footer><!-- /#footer --> + </body> </html> |