diff options
author | P. 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) |
commit | 7eb245d428c37fc026228f5f907b9af73355cdd3 (patch) | |
tree | 406f749f9d5bcb4f3d7988bdccd063ff88f64946 /includes/header.html | |
parent | c7d7aa4f81d6c502467f088ad23e9f6dd5ffb08c (diff) | |
download | www-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/header.html')
-rwxr-xr-x | includes/header.html | 20 |
1 files changed, 16 insertions, 4 deletions
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> |