From 6f6be91db55f3a4f7ab1bda1cfe474deba34c736 Mon Sep 17 00:00:00 2001 From: P. J. McDermott <pjm@nac.net> Date: Wed, 02 Nov 2011 17:54:15 -0400 Subject: Add page titles. --- diff --git a/contact.html b/contact.html index 072b47e..a6c26a2 100755 --- a/contact.html +++ b/contact.html @@ -1,3 +1,4 @@ +<!--#set var="title" value="Contact" --> <!--#include file="includes/header.html" --> <h2>Contact Information</h2> <table class="contact"> diff --git a/includes/header.html b/includes/header.html index a3b4c75..2839280 100755 --- a/includes/header.html +++ b/includes/header.html @@ -5,7 +5,11 @@ <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 (amateur) hardware hacker, and advocate for software and cultural freedom."> +<!--#if expr="${title} = //" --> <title>P. J. McDermott</title> +<!--#else --> + <title><!--#echo var="title" --> - P. J. McDermott</title> +<!--#endif --> <link rel="stylesheet" type="text/css" href="main.css"> </head> <body> diff --git a/index.html b/index.html index 376f2f0..c7cf7a6 100755 --- a/index.html +++ b/index.html @@ -1,3 +1,4 @@ +<!--#set var="title" value="" --> <!--#include file="includes/header.html" --> <img src="oponop-portrait-1x1-right-240x240.png" alt="P. J. McDermott" class="photo"> <p> -- cgit v0.9.1