diff options
author | P. J. McDermott <pjm@nac.net> | 2013-09-24 21:00:16 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2013-09-24 21:00:16 (EDT) |
commit | 8bbd1a60d94f83d26cc0dc60269e9ef615f27cd1 (patch) | |
tree | 289efd468d536f0101bc973236595cc20a7d886d /includes/header.html | |
parent | 232b1270ecf29aa22e5b75a3ba8850d8d47d4138 (diff) | |
download | www-8bbd1a60d94f83d26cc0dc60269e9ef615f27cd1.zip www-8bbd1a60d94f83d26cc0dc60269e9ef615f27cd1.tar.gz www-8bbd1a60d94f83d26cc0dc60269e9ef615f27cd1.tar.bz2 |
Support ssic (CGI::SSI) test expressions.
Diffstat (limited to 'includes/header.html')
-rwxr-xr-x | includes/header.html | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/includes/header.html b/includes/header.html index ddf15e2..905f594 100755 --- a/includes/header.html +++ b/includes/header.html @@ -5,10 +5,20 @@ <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"> </head> |