Start to convert templates to HTML 5
This commit is contained in:
parent
df5668add0
commit
7413921b31
4 changed files with 14 additions and 16 deletions
|
|
@ -1,24 +1,22 @@
|
|||
<?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">
|
||||
<!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" />
|
||||
<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" />'
|
||||
% echo ' <link rel="stylesheet" href="/_werc/pub/style.css" type="text/css" media="screen" title="default">'
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
|
||||
<meta name="author" content="k" />
|
||||
<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'" />'
|
||||
% echo ' <meta name="description" content="'$"meta_description'">'
|
||||
% if(! ~ $#meta_keywords 0)
|
||||
% echo ' <meta name="keywords" content="'$"meta_keywords'" />'
|
||||
% echo ' <meta name="keywords" content="'$"meta_keywords'">'
|
||||
|
||||
% h = `{get_lib_file headers.inc}
|
||||
% if(! ~ $#h 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue