summaryrefslogtreecommitdiff
path: root/templates/base.html
diff options
context:
space:
mode:
authorluxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f <luxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f>2009-11-23 15:56:35 +0000
committerluxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f <luxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f>2009-11-23 15:56:35 +0000
commit526fbe767130b4dedd75841969808fe750afa22e (patch)
treedae304cd7c26f58de184366998692f4007d18db5 /templates/base.html
parent4ac2e8c9c7126e21c708fd04bc14cf8143e1c17f (diff)
redesign tentatively complete
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html137
1 files changed, 69 insertions, 68 deletions
diff --git a/templates/base.html b/templates/base.html
index 933c9ea..7db9a37 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -1,10 +1,19 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
- "http://www.w3.org/TR/html4/strict.dtd">
+{%load chunks%}
+<!DOCTYPE html>
<html lang="en">
<head>
<title>{% block pagetitle %}Luxagraf - Topografical Writings{% endblock %}</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-
+ <script>
+ document.createElement('header');
+ document.createElement('nav');
+ document.createElement('section');
+ document.createElement('article');
+ document.createElement('aside');
+ document.createElement('footer');
+ document.createElement('time');
+ </script>
+
<link rel="alternate"
type="application/rss+xml"
@@ -47,73 +56,65 @@
</head>
<body {%block bodyid%}{%endblock%}{%block bodyevents%}{%endblock%}>
-
-<div id="header">
- <h1><a href="/" title="home">Luxagraf, a travelgue</a></h1>
- <ul id="menu">
- <li id="stories"><a href="/writing/1/" title="An archive of previous writings from around the world">Stories</a></li>
- <li id="photos" title="Photos from travels around the world"><a href="/photos/1/">Photos</a></li>
- <li id="map" title="luxagraf stories plotted on a map"><a href="/map/">Map</a></li>
- <!--<li id="books"><a href="/books/">Books</a></li>-->
- </ul>
-</div>
-
-
-<div class="container">
-
- <div id="primary">
-
- {% block primaryoverride %}
- <div class="content">
- {% block titleoverride %}<h1>{% block title %}{% endblock %}</h1>{% endblock %}
-
- {% block primary %}
- {% endblock %}
-
- </div>
- {% endblock %}
-
-
- <div class="meta">
- <p class="date">{% block date %}{% endblock %}</p>
-
- </div>
-
- {% block extrabody %}
-
- {% endblock %}
-
-
-
-
-
- </div>
-{% block sidebar %}
-
-{% endblock %}
-<div class="push"></div>
-</div><!-- end of main top content -->
-
-<div id="foot">
- <div id="footer">
- <span id="foot-float">Other stuff:</span>
+ <header>
+ <nav>
+ <ul>
+ <li id="stories"><a href="/writing/1/" title="An archive of previous writings from around the world">I write.</a></li>
+ <li id="map" title="Maps and miscellanea"><a href="/map/">I travel.</a></li>
+ <li id="photos" title="Photos from travels around the world"><a href="/photos/1/">I photograph.</a></li>
+ </ul>
+ </nav>
+ <hgroup>
+ <h1><a href="/" title="home">Luxagraf</a></h1>
+ <h2><a href="/about/">{a travelogue}</a></h2>
+ </hgroup>
+ </header>
+
+ {% block primary %}
+ <article>
+
+ </article>
+ {% endblock %}
+ {% block extrabody %} {% endblock %}
+
+ <div id="clearfix"></div>
+ <footer>
+ <nav>
<ul>
- <li><a href="/about/" title="About Luxagraf">About</a></li>
- <li><a href="/contact/" title="Get in touch">Contact</a></li>
- <li><a href="/colophon/" title="How Luxagraf is made">Colophon</a></li>
+ <li><a href="/">Home</a></li>
+ <li><a href="/writing/1/">Writing</a></li>
+ <li><a href="/map/">Map</a></li>
+ <li><a href="/photos/1/">Photographs</a></li>
+ <li><a href="/contact/">Contact</a></li>
</ul>
- <p>All content licensed under the Creative Commons (<a href="http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en" title="read the Attribution-Noncommercial-Share Alike 3.0 deed">details</a>). <span>Built with <a href="http://geodjango.org/" title="a GeoDjango joint">GeoDjango</a> and hosted on <a href="http://www.webfaction.com/" title="webfaction">Webfaction</a>.</span></p>
+ </nav>
+ <div>
+ <section>
+ <h4>About</h4>
+ {% chunk "about_sidebar" %}
+ </section>
+ <section>
+ <h4>Places</h4>
+ {% chunk "regions_sidebar" %}
+ </section>
+ <section>
+ <h4>Follow</h4>
+ {% chunk "follow_sidebar" %}
+ </section>
+ <section>
+ <p>All content licensed under the Creative Commons (<a href="http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en" title="read the Attribution-Noncommercial-Share Alike 3.0 deed">details</a>). <span>Built with <a href="http://geodjango.org/" title="a GeoDjango joint">GeoDjango</a> and hosted on <a href="http://www.webfaction.com/" title="webfaction">Webfaction</a>.</span></p>
+ </section>
</div>
-</div>
-{% block js %}{% endblock%}
-<script type="text/javascript">
-var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
-document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
-</script>
-<script type="text/javascript">
-try {
-var pageTracker = _gat._getTracker("UA-1186171-1");
-pageTracker._trackPageview();
-} catch(err) {}</script>
+ </footer>
+ {% block js %}{% endblock%}
+ <script type="text/javascript">
+ var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+ document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+ </script>
+ <script type="text/javascript">
+ try {
+ var pageTracker = _gat._getTracker("UA-1186171-1");
+ pageTracker._trackPageview();
+ } catch(err) {}</script>
</body>
</html> \ No newline at end of file