shithub: werc

Download patch

ref: 8462fc11bb72960a397e996ea473b6c7b08d68a4
parent: c1110b65504664c251683b2842ee118e09b77961
author: uriel <uriel@engel.se.cat-v.org>
date: Thu Jun 28 03:23:12 EDT 2007

Add new meta headers (description and keywords), replace '-' with '|' in titles and comment out alternative stylesheet.

--- a/inc/headers.tpl
+++ b/inc/headers.tpl
@@ -8,17 +8,24 @@
 
 <meta name="verify-v1" content="6zEoK0WMlnLmIS/w7Pnh6+srZECHsvnMGN0kQmowSGk=" />
 
-    <title>%($title - $site - $siteTitle $siteSubTitle %)</title>
+    <title>%($title '|' $site '|' $siteTitle $siteSubTitle %)</title>
 
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
     <meta name="author" content="k" />
 
+% if (! ~ $#meta_description 0)
+%   echo '    <meta name="description" content="'$"meta_description'" />'
+% if (! ~ $#meta_keywords 0)
+%   echo '    <meta name="keywords" content="'$"meta_keywords'" />'
+
     <link rel="stylesheet" href="/pub/style/style.css" type="text/css" media="screen" title="default" />
-    <link rel="stylesheet alternative" type="text/css" href="/pub/style/style_old.css" media="screen" title="Old Style" />
+%#    <link rel="stylesheet alternative" type="text/css" href="/pub/style/style_old.css" media="screen" title="Old Style" />
 % if (test -f $sitedir/_style.css) {
     <link rel="stylesheet" href="/_style.css" type="text/css" media="screen" title="default" />
 % }
+
     %($extraHeaders%)
+
 </head>
 <body>