summaryrefslogtreecommitdiffstats
path: root/includes/header.html
diff options
context:
space:
mode:
Diffstat (limited to 'includes/header.html')
-rwxr-xr-xincludes/header.html81
1 files changed, 64 insertions, 17 deletions
diff --git a/includes/header.html b/includes/header.html
index 5eb7577..e952fe7 100755
--- a/includes/header.html
+++ b/includes/header.html
@@ -1,44 +1,91 @@
<!DOCTYPE html>
+<!--#if expr="'$__SSIC__' eq '__SSIC__'" -->
+ <!-- Apache HTTPd mod_include -->
+ <!--#if expr="$DOCUMENT_BASE = ''" -->
+ <!--#set var="DOCUMENT_BASE" value="" -->
+ <!--#endif -->
+ <!--#if expr="$MEDIA_BASE = ''" -->
+ <!--#set var="MEDIA_BASE" value="" -->
+ <!--#endif -->
+<!--#else -->
+ <!-- Server Side Includes Compiler -->
+ <!--#if expr="'$DOCUMENT_BASE' eq ''" -->
+ <!--#set var="DOCUMENT_BASE" value="" -->
+ <!--#endif -->
+ <!--#if expr="'$MEDIA_BASE' eq ''" -->
+ <!--#set var="MEDIA_BASE" value="" -->
+ <!--#endif -->
+<!--#endif -->
+
<html>
<head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <meta charset="utf-8">
<meta name="author" content="Patrick 'P. J.' McDermott <mailto:pjm@nac.net>">
<meta name="description" content="The resume, software, and essays of P. J. McDermott -- a software and hardware hacker and advocate for software and cultural freedom.">
-<!--#if expr="${title} = /^$/" -->
+<!--#if expr="'$__SSIC__' eq '__SSIC__'" -->
+ <!-- Apache HTTPd mod_include -->
+ <!--#if expr="$title = ''" -->
<title>P. J. McDermott</title>
+ <!--#else -->
+ <title><!--#echo var="title" --> - P. J. McDermott</title>
+ <!--#endif -->
<!--#else -->
+ <!-- Server Side Includes Compiler -->
+ <!--#if expr="'$title' eq ''" -->
+ <title>P. J. McDermott</title>
+ <!--#else -->
<title><!--#echo var="title" --> - P. J. McDermott</title>
+ <!--#endif -->
<!--#endif -->
- <link rel="stylesheet" type="text/css" href="/main.css">
+ <link rel="stylesheet" type="text/css" href="<!--#echo
+var="MEDIA_BASE" -->/main.css">
</head>
<body>
- <div class="header">
- <a href="#body" class="skip">Skip to body</a>
- <h1><a href="/">P. J. M<span class="super">c</span>Dermott</a></h1>
+ <a href="#body" class="skip">Skip to body</a>
+ <header>
+ <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>
- </div>
- <div class="menu">
+ </header>
+ <nav>
<ul>
<li>
- <a href="/contact.html">Contact</a>
+ <a href="<!--#echo var="DOCUMENT_BASE"
+-->/contact.html">Contact</a>
</li>
<li>
- <a href="/resume.html">R&#233;sum&#233;</a>
+ <a href="<!--#echo var="DOCUMENT_BASE"
+-->/resume.html">R&#233;sum&#233;</a>
</li>
<li>
- <a href="/guides/">Guides</a>
+ <a href="<!--#echo var="DOCUMENT_BASE"
+-->/guides/">Guides</a>
</li>
<li>
- <a href="/essays/">Essays</a>
+ <a href="<!--#echo var="DOCUMENT_BASE"
+-->/essays/">Essays</a>
</li>
<li>
- <a href="/talks/">Talks</a>
+ <a href="<!--#echo var="DOCUMENT_BASE"
+-->/talks/">Talks</a>
</li>
<li>
- <a href="/projects/">Projects</a>
+ <a href="<!--#echo var="DOCUMENT_BASE"
+-->/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>