summaryrefslogtreecommitdiffstats
path: root/includes
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-09-26 13:49:33 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-09-26 13:49:33 (EDT)
commit7eb245d428c37fc026228f5f907b9af73355cdd3 (patch)
tree406f749f9d5bcb4f3d7988bdccd063ff88f64946 /includes
parentc7d7aa4f81d6c502467f088ad23e9f6dd5ffb08c (diff)
downloadwww-7eb245d428c37fc026228f5f907b9af73355cdd3.zip
www-7eb245d428c37fc026228f5f907b9af73355cdd3.tar.gz
www-7eb245d428c37fc026228f5f907b9af73355cdd3.tar.bz2
Use more semantic elements in header and footer.
Also, put the page title in the header.
Diffstat (limited to 'includes')
-rwxr-xr-xincludes/footer.html6
-rwxr-xr-xincludes/header.html20
2 files changed, 19 insertions, 7 deletions
diff --git a/includes/footer.html b/includes/footer.html
index 9f67910..4cbebd6 100755
--- a/includes/footer.html
+++ b/includes/footer.html
@@ -1,6 +1,6 @@
<p style="clear: both;"></p>
- </div>
- <div class="footer">
+ </section>
+ <footer>
<p class="copyright">
Copyright &copy; 2011-2012 Patrick "P. J." M<span class="super">c</span>Dermott
</p>
@@ -27,6 +27,6 @@
Last modified: <!--#echo var="LAST_MODIFIED" --> EDT<br>
Retrieved: <!--#echo var="DATE_LOCAL" --> EDT
</p>
- </div>
+ </footer>
</body>
</html>
diff --git a/includes/header.html b/includes/header.html
index 959d48a..e952fe7 100755
--- a/includes/header.html
+++ b/includes/header.html
@@ -47,7 +47,7 @@ var="MEDIA_BASE" -->/main.css">
<h1><a href="<!--#echo var="DOCUMENT_BASE" -->/">P. J. M<span class="super">c</span>Dermott</a></h1>
<p>Software and hardware hacker and advocate for software and cultural freedom.</p>
</header>
- <div class="menu">
+ <nav>
<ul>
<li>
<a href="<!--#echo var="DOCUMENT_BASE"
@@ -74,6 +74,18 @@ var="MEDIA_BASE" -->/main.css">
-->/projects/">Projects</a>
</li>
</ul>
- </div>
- <div class="body">
- <a id="body"></a>
+ </nav>
+ <section id="body">
+<!--#if expr="'$__SSIC__' eq '__SSIC__'" -->
+ <!-- Apache HTTPd mod_include -->
+ <!--#if expr="$title != ''" -->
+ <!--#else -->
+ <h1><!--#echo var="title" --></h1>
+ <!--#endif -->
+<!--#else -->
+ <!-- Server Side Includes Compiler -->
+ <!--#if expr="'$title' ne ''" -->
+ <h1><!--#echo var="title" --></h1>
+ <!--#endif -->
+<!--#endif -->
+ <article>