werc/lib/headers.tpl

36 lines
1.1 KiB
Smarty
Raw Normal View History

2008-10-17 19:39:39 -06:00
% for(h in $extraHttpHeaders) echo $h
2007-05-28 20:58:00 -06:00
Content-Type: text/html
% if(~ $REQUEST_METHOD HEAD)
% exit
2007-05-28 20:58:00 -06:00
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>%($pageTitle%)</title>
2007-05-28 20:58:00 -06:00
<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'" />'
2008-03-15 14:01:31 -06:00
<link rel="stylesheet" href="/pub/style/style.css" type="text/css" media="screen, handheld" title="default" />
2007-08-07 05:49:37 -06:00
<link rel="shortcut icon" href="/favicon.ico" type="image/vnd.microsoft.icon" />
% if(test -f $sitedir/_werc/pub/style.css)
% echo ' <link rel="stylesheet" href="/_werc/pub/style.css" type="text/css" media="screen" title="default" />'
% h = `{get_lib_file headers.inc}
% if(! ~ $#h 0)
% cat $h
2009-02-01 12:04:28 -07:00
%($"extraHeaders%)
2007-05-28 20:58:00 -06:00
</head>
<body>