werc-1.5.0-tweaks

Tweaks for the werc website builder created by the mad architect Uriel
Log | Files | Refs | README

headers.tpl (981B)


      1 <!DOCTYPE HTML>
      2 <html>
      3 <head>
      4 
      5     <title>%($pageTitle%)</title>
      6 
      7     <link rel="stylesheet" href="/pub/style/style.css" type="text/css" media="screen, handheld" title="default">
      8     <link rel="shortcut icon" href="/favicon.ico" type="image/vnd.microsoft.icon">
      9 % if(test -f $sitedir/_werc/pub/style.css)
     10 %    echo '    <link rel="stylesheet" href="/_werc/pub/style.css" type="text/css" media="screen" title="default">'
     11 
     12     <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
     13 
     14     <meta charset="UTF-8">
     15 % # Legacy charset declaration for backards compatibility with non-html5 browsers.
     16     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 
     17 
     18 % if(! ~ $#meta_description 0)
     19 %   echo '    <meta name="description" content="'$"meta_description'">'
     20 % if(! ~ $#meta_keywords 0)
     21 %   echo '    <meta name="keywords" content="'$"meta_keywords'">'
     22 
     23 % h = `{get_lib_file headers.inc}
     24 % if(! ~ $#h 0)
     25 %   cat $h
     26 
     27     %($"extraHeaders%)
     28 </head>
     29 <body>
     30