From 727772183db59ed74a26757c259e6bf947850fa8 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 11 Jan 2012 12:52:37 -0800 Subject: [PATCH] Split html template into html, html5 templates. --- default.html | 28 -------------------------- default.html5 | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+), 28 deletions(-) create mode 100644 default.html5 diff --git a/default.html b/default.html index 42475f68d..b92025f6c 100644 --- a/default.html +++ b/default.html @@ -1,17 +1,8 @@ -$if(html5)$ - - -$else$ -$endif$ -$if(html5)$ - -$else$ -$endif$ $for(author-meta)$ @@ -20,11 +11,6 @@ $if(date-meta)$ $endif$ $if(title-prefix)$$title-prefix$ - $endif$$if(pagetitle)$$pagetitle$$endif$ -$if(html5)$ - -$endif$ $if(highlighting-css)$ $highlighting-css$ $endif$ @@ -43,11 +29,7 @@ $for(include-before)$ $include-before$ $endfor$ $if(title)$ -$if(html5)$ -
-$else$
-$endif$

$title$

$for(author)$

$author$

@@ -55,23 +37,13 @@ $endfor$ $if(date)$

$date$

$endif$ -$if(html5)$ -
-$else$ $endif$ -$endif$ $if(toc)$ -$if(html5)$ - -$else$
$toc$
$endif$ -$endif$ $body$ $for(include-after)$ $include-after$ diff --git a/default.html5 b/default.html5 new file mode 100644 index 000000000..ac70bc56d --- /dev/null +++ b/default.html5 @@ -0,0 +1,54 @@ + + + + + +$for(author-meta)$ + +$endfor$ +$if(date-meta)$ + +$endif$ + $if(title-prefix)$$title-prefix$ - $endif$$if(pagetitle)$$pagetitle$$endif$ + +$if(highlighting-css)$ +$highlighting-css$ +$endif$ +$for(css)$ + +$endfor$ +$if(math)$ + $math$ +$endif$ +$for(header-includes)$ + $header-includes$ +$endfor$ + + +$for(include-before)$ +$include-before$ +$endfor$ +$if(title)$ +
+

$title$

+$for(author)$ +

$author$

+$endfor$ +$if(date)$ +

$date$

+$endif$ +
+$endif$ +$if(toc)$ + +$endif$ +$body$ +$for(include-after)$ +$include-after$ +$endfor$ + +