diff options
author | luxagraf <sng@luxagraf.net> | 2011-01-13 17:21:22 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2011-01-13 17:21:22 -0500 |
commit | 9b1aa6f9633a507908442821b3769cfd39cc2852 (patch) | |
tree | 005f538123efabae9c629d89504211b11502ace2 /templates/base.html | |
parent | 1f8ecae633496fab2936137a5bf06a6472b95ef7 (diff) |
revamped templates, added ARIA roles, meta geo data
Diffstat (limited to 'templates/base.html')
-rw-r--r-- | templates/base.html | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/templates/base.html b/templates/base.html index 2785d42..ec35269 100644 --- a/templates/base.html +++ b/templates/base.html @@ -33,18 +33,18 @@ content="luxagraf writing travel authors philosophy ramblings"> <meta name="copyright" content="Licensed under the Creative Commons Attribution-Noncommercial-Share Alike 3.0 License"> + <script>var _gaq=[['_setAccount','UA-1186171-1'],['_trackPageview']];(function(d,t){ var g=d.createElement(t),s=d.getElementsByTagName(t)[0]; g.async=1;g.src='//www.google-analytics.com/ga.js';s.parentNode.insertBefore(g,s)}(document,'script'))</script> {%block extrahead%}{%endblock%} </head> - <body {%block bodyid%}{%endblock%}{%block bodyevents%}{%endblock%}> - <header> + <header role="banner"> <a id="logo" href="/" title="home"> <hgroup> <h1>Luxagraf</h1> <h2>{a travelogue}</h2> </hgroup> </a> - <nav> + <nav role="navigation"> <ul> <li id="stories"><a href="/writing/1/" title="An archive of writings from around the world">Writing</a>,</li> <li id="photos"><a href="/photos/1/" title="Photos from travels around the world">Photos</a>,</li> @@ -54,13 +54,9 @@ </ul> </nav> </header> - {% block primary %} - <article> - - </article> - {% endblock %} - {% block extrabody %} {% endblock %} - <footer> + {% block primary %}{% endblock %} + {% block extrabody %}{% endblock %} + <footer role="contentinfo"> <nav> <ul> <li><a href="http://feeds2.feedburner.com/luxagraf/blog" title="RSS feed">RSS</a></li> @@ -74,6 +70,7 @@ </p> </footer> {% block js %}{% endblock%} + {%comment%} <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")); @@ -83,5 +80,6 @@ var pageTracker = _gat._getTracker("UA-1186171-1"); pageTracker._trackPageview(); } catch(err) {}</script> + {%endcomment%} </body> </html> |