diff options
| author | Paul Buetow (mars.fritz.box) <paul@buetow.org> | 2013-09-29 02:42:36 +0200 |
|---|---|---|
| committer | Paul Buetow (mars.fritz.box) <paul@buetow.org> | 2013-09-29 02:42:36 +0200 |
| commit | 8d9dc7c67a1932bd14424f41b8968653bb1cf9ff (patch) | |
| tree | b228aea18b252191875b3333865e8e51388ba205 /default | |
| parent | 4948aa7eb097e1f40bdfbe8a01bebf9adde4b150 (diff) | |
add HTML5
Diffstat (limited to 'default')
| -rw-r--r-- | default/config.xml | 28 | ||||
| -rw-r--r-- | default/templates/html5.xml | 33 |
2 files changed, 61 insertions, 0 deletions
diff --git a/default/config.xml b/default/config.xml index 3a18b4a..9e36cf5 100644 --- a/default/config.xml +++ b/default/config.xml @@ -18,6 +18,34 @@ <!-- Possible special-vars: --> <!-- @@text@@ = The content text of the current content-tag --> <!-- @@paramname@@ = The value of the specified tag parameter --> + <html5> + <pagetitle>[h1]</pagetitle> + <textheader>[h2]</textheader> + <textsubheader>[h3]</textsubheader> + <important>[div class="important"]</important> + <text>[p]</text> + <type>[span class="@@class@@"]</type> + <quote>[pre class="quote"]</quote> + <pretext>[p][pre]</pretext> + <hyperlink>[a href="@@text@@"]</hyperlink> + <namedlink>[a href="@@href@@"]</namedlink> + <picture>[a href="@@href@@"][img align="center" border="1" alt="@@desc@@" title="@@desc@@" src="@@src@@"]</picture> + <cimg start="yes">[img border="0" alt="@@title@@" title="@@title@@" src="@@href@@" /]</cimg> + <cimglink start="yes">[center][a href="@@link@@"][img alt="@@title@@" title="@@title@@" src="@@href@@" /][/a][/center]</cimglink> + <rimg start="yes">[img border="0" alt="@@title@@" title="@@title@@" class="rimg" src="@@href@@" align="right" /]</rimg> + <rimglink start="yes">[a href="@@link@@"][img border="0" alt="@@title@@" title="@@title@@" class="rimg" src="@@href@@" align="right" /][/a]</rimglink> + <limg start="yes">[img border="0" alt="@@title@@" title="@@title@@" class="limg" src="@@href@@" align="left" /]</limg> + <newline start="yes">[br /]</newline> + <menu>[div class="menu"]</menu> + <menuitem>[a class="menuitem" href="@@link@@$$params$$"]</menuitem> + <activemenuitem>[a class="activemenuitem" href="@@link@@$$params$$"]</activemenuitem> + <enumeration>[ul]</enumeration> + <enumitem>[li]</enumitem> + <enumitemna>[li class="na"]</enumitemna> + <incsep>[div class="incsep"]</incsep> + <code>[pre class="code"]</code> + <javascript>[script type="text/javascript" language="JavaScript"]</javascript> + </html5> <xhtml> <pagetitle>[h1]</pagetitle> <textheader>[h2]</textheader> diff --git a/default/templates/html5.xml b/default/templates/html5.xml new file mode 100644 index 0000000..e5e7064 --- /dev/null +++ b/default/templates/html5.xml @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?> +<content type="text/html"> + <tag>!DOCTYPE html</tag> + <html> + <head> + <title>%%title%%</title> + <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"/> + <meta name="author" content="Paul Buetow"/> + <meta name="publisher" content="Xerl Template Engine (xerl.buetow.org)"/> + <meta name="distribution" content="global"/> + <meta name="robots" content="index, follow"/> + <meta name="language" content="en, english"/> + <meta name="revisit-after" content="7 days"/> + <link rel="stylesheet" type="text/css" href="%%stylesurl%%$$style$$"/> + </head> + <body> + <div class="header"> + <type class="bold">A fortune quote: </type> + <type class="italic">$$!/usr/games/fortune -s$$</type> + </div> + <div class="main"> + <navigation/> + <noop>%%content%%</noop> + <div class="footer"> + <noop>Generated in !!TIME!!s</noop> + <noop>| Powered by </noop> + <namedlink href="http://xerl.buetow.org">Xerl</namedlink> + <noop>| Xerl templates managed with Puppet/Git</noop> + </div> + </div> + </body> + </html> +</content> |
