summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2011-11-02 01:56:45 (EDT)
committer P. J. McDermott <pjm@nac.net>2011-11-02 01:56:45 (EDT)
commit570fec1594fd66054404def4c2aef6bb1a0ddfca (patch)
tree7252e33934fe958555693bf40bc817f48aa2aa2c
parent42afd0dbffcfd9d063998be837ae1b78ec3ad54c (diff)
downloadwww-570fec1594fd66054404def4c2aef6bb1a0ddfca.zip
www-570fec1594fd66054404def4c2aef6bb1a0ddfca.tar.gz
www-570fec1594fd66054404def4c2aef6bb1a0ddfca.tar.bz2
Turn static HTML index page into SSI documents.
-rwxr-xr-xincludes/footer.html15
-rwxr-xr-xincludes/header.html34
-rwxr-xr-x[-rw-r--r--]index.html51
3 files changed, 51 insertions, 49 deletions
diff --git a/includes/footer.html b/includes/footer.html
new file mode 100755
index 0000000..da4240e
--- /dev/null
+++ b/includes/footer.html
@@ -0,0 +1,15 @@
+ <p style="clear: both;"></p>
+ </div>
+ <div class="footer">
+ <p class="copyright">Copyright &copy; 2011 Patrick "P. J." M<span class="super">c</span>Dermott</p>
+ <p class="license">
+ <a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/">
+ <img alt="Creative Commons License" style="border-width:0" src="http://i.creativecommons.org/l/by-sa/3.0/88x31.png">
+ </a>
+ Except where otherwise noted, you may use this document and all works herein under the terms of the <a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/">Creative Commons Attribution-ShareAlike 3.0 Unported license</a>.<br>
+ More permissive terms may be granted upon <a href="contact.html">request</a>.
+ </p>
+ <p class="tos">By using this Web site, you agree to the <a href="terms.html">Terms of Service</a>.</p>
+ </div>
+ </body>
+</html>
diff --git a/includes/header.html b/includes/header.html
new file mode 100755
index 0000000..7c9baab
--- /dev/null
+++ b/includes/header.html
@@ -0,0 +1,34 @@
+<!DOCTYPE html>
+
+<html>
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; 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 computer science student, software and (wannabe) hardware hacker, and advocate for software and cultural freedom.">
+ <title>P. J. McDermott</title>
+ <link rel="stylesheet" type="text/css" href="main.css">
+ </head>
+ <body>
+ <div class="header">
+ <a href="#body" class="skip">Skip to body</a>
+ <h1>P. J. M<span class="super">c</span>Dermott</h1>
+ <p>Computer science student, software and (wannabe) hardware hacker, and advocate for software and cultural freedom.</p>
+ </div>
+ <div class="menu">
+ <ul>
+ <li>
+ <a href="contact.html">Contact</a>
+ </li>
+ <li>
+ <a href="resume.html">R&#233;sum&#233;</a>
+ </li>
+ <li>
+ <a href="essays/">Essays</a>
+ </li>
+ <li>
+ <a href="projects/">Projects</a>
+ </li>
+ </ul>
+ </div>
+ <div class="body">
+ <a id="body"></a>
diff --git a/index.html b/index.html
index c629da2..376f2f0 100644..100755
--- a/index.html
+++ b/index.html
@@ -1,37 +1,4 @@
-<!DOCTYPE html>
-
-<html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; 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 computer science student, software and (wannabe) hardware hacker, and advocate for software and cultural freedom.">
- <title>P. J. McDermott</title>
- <link rel="stylesheet" type="text/css" href="main.css">
- </head>
- <body>
- <div class="header">
- <a href="#body" class="skip">Skip to body</a>
- <h1>P. J. M<span class="super">c</span>Dermott</h1>
- <p>Computer science student, software and (wannabe) hardware hacker, and advocate for software and cultural freedom.</p>
- </div>
- <div class="menu">
- <ul>
- <li>
- <a href="contact.html">Contact</a>
- </li>
- <li>
- <a href="resume.html">R&#233;sum&#233;</a>
- </li>
- <li>
- <a href="essays/">Essays</a>
- </li>
- <li>
- <a href="projects/">Projects</a>
- </li>
- </ul>
- </div>
- <div class="body">
- <a id="body"></a>
+<!--#include file="includes/header.html" -->
<img src="oponop-portrait-1x1-right-240x240.png" alt="P. J. McDermott" class="photo">
<p>
Watch this space. It performs tricks every hour, on the
@@ -49,18 +16,4 @@
<p>
This is not a sentence.
</p>
- <p style="clear: both;"></p>
- </div>
- <div class="footer">
- <p class="copyright">Copyright &copy; 2011 Patrick "P. J." M<span class="super">c</span>Dermott</p>
- <p class="license">
- <a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/">
- <img alt="Creative Commons License" style="border-width:0" src="http://i.creativecommons.org/l/by-sa/3.0/88x31.png">
- </a>
- Except where otherwise noted, you may use this document and all works herein under the terms of the <a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/">Creative Commons Attribution-ShareAlike 3.0 Unported license</a>.<br>
- More permissive terms may be granted upon <a href="contact.html">request</a>.
- </p>
- <p class="tos">By using this Web site, you agree to the <a href="terms.html">Terms of Service</a>.</p>
- </div>
- </body>
-</html>
+<!--#include file="includes/footer.html" -->