diff options
author | P. J. McDermott <pjm@nac.net> | 2013-09-24 22:34:45 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2013-09-24 22:34:45 (EDT) |
commit | 9b6714d4196da44a2c32c5d5bea740ce63022c31 (patch) | |
tree | fe5e5601b96477a95df1fe969900b56a1c7a2897 | |
parent | c8857223bc45997300a73320d44556c14696698e (diff) | |
download | www-9b6714d4196da44a2c32c5d5bea740ce63022c31.zip www-9b6714d4196da44a2c32c5d5bea740ce63022c31.tar.gz www-9b6714d4196da44a2c32c5d5bea740ce63022c31.tar.bz2 |
Prefix stylesheet href with MEDIA_BASE.
-rwxr-xr-x | includes/header.html | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/includes/header.html b/includes/header.html index e0a0211..b741994 100755 --- a/includes/header.html +++ b/includes/header.html @@ -5,11 +5,17 @@ <!--#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> @@ -32,7 +38,8 @@ <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> <a href="#body" class="skip">Skip to body</a> |