diff options
Diffstat (limited to 'lib/headers.tpl')
-rw-r--r-- | lib/headers.tpl | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/lib/headers.tpl b/lib/headers.tpl new file mode 100644 index 0000000..635f85e --- /dev/null +++ b/lib/headers.tpl @@ -0,0 +1,29 @@ +<!DOCTYPE HTML> +<html> +<head> + + <title>%($pageTitle%)</title> + + <link rel="stylesheet" href="/pub/style/style.css" type="text/css" media="screen, handheld" title="default"> + <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">' + + <meta charset="UTF-8"> +% # Legacy charset declaration for backards compatibility with non-html5 browsers. + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> + +% if(! ~ $#meta_description 0) +% echo ' <meta name="description" content="'$"meta_description'">' +% if(! ~ $#meta_keywords 0) +% echo ' <meta name="keywords" content="'$"meta_keywords'">' + +% h = `{get_lib_file headers.inc} +% if(! ~ $#h 0) +% cat $h + + %($"extraHeaders%) + +</head> +<body> + |