git.iko.soy/typeable/pandoc
on master help sign in
Realign HTML templates.

Add lang, dir, quotes where not included previously; always make display of author and date conditional.

commit400dadd4445e949a0fcd96274bd3b4ef24864244 authorAndrew Dunning <andunning@gmail.com> dateThu 22 Oct 2015, 18:05 (11 years ago) parentf92d725
5 files changed+33−12
default.html+1−1 default.revealjs+9−4 default.s5+13−5 default.slideous+4−1 default.slidy+6−1
default.html+1−1
@@ -24,7 +24,7 @@ $highlighting-css$
2424 </style>
2525$endif$
2626$for(css)$
27− <link rel="stylesheet" href="$css$" $if(html5)$$else$type="text/css" $endif$/>
27+ <link rel="stylesheet" href="$css$" type="text/css" />
2828$endfor$
2929$if(math)$
3030 $math$
default.revealjs+9−4
@@ -16,8 +16,11 @@ $endif$
1616 <meta name="apple-mobile-web-app-capable" content="yes">
1717 <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
1818 <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui">
19− <link rel="stylesheet" href="$revealjs-url$/css/reveal.css"/>
19+ <link rel="stylesheet" href="$revealjs-url$/css/reveal.css">
2020 <style type="text/css">code{white-space: pre;}</style>
21+$if(quotes)$
22+ <style type="text/css">q { quotes: "“" "”" "‘" "’"; }</style>
23+$endif$
2124$if(highlighting-css)$
2225 <style type="text/css">
2326$highlighting-css$
@@ -58,14 +61,16 @@ $endfor$
5861
5962$if(title)$
6063<section>
61− <h1 class="title">$title$</h1>
64+ <h1 class="title">$title$</h1>
6265$if(subtitle)$
6366 <h1 class="subtitle">$subtitle$</h1>
6467$endif$
6568$for(author)$
66− <h2 class="author">$author$</h2>
69+ <h2 class="author">$author$</h2>
6770$endfor$
68− <h3 class="date">$date$</h3>
71+$if(date)$
72+ <h3 class="date">$date$</h3>
73+$endif$
6974</section>
7075$endif$
7176$if(toc)$
default.s5+13−5
@@ -1,10 +1,11 @@
11<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2−<html xmlns="http://www.w3.org/1999/xhtml">
2+<html xmlns="http://www.w3.org/1999/xhtml"$if(lang)$ lang="$lang$" xml:lang="$lang$"$endif$$if(dir)$ dir="$dir$"$endif$>
33<head>
44 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
55 <meta http-equiv="Content-Style-Type" content="text/css" />
66 <meta name="generator" content="pandoc" />
77$for(author-meta)$
8+ <meta name="version" content="S5 1.1" />
89 <meta name="author" content="$author-meta$" />
910$endfor$
1011$if(date-meta)$
@@ -18,6 +19,9 @@ $endif$
1819 <!-- configuration parameters -->
1920 <meta name="defaultView" content="slideshow" />
2021 <meta name="controlVis" content="hidden" />
22+$if(quotes)$
23+ <style type="text/css">q { quotes: "“" "”" "‘" "’"; }</style>
24+$endif$
2125$if(highlighting-css)$
2226 <style type="text/css">
2327$highlighting-css$
@@ -56,12 +60,16 @@ $endfor$
5660<div class="presentation">
5761$if(title)$
5862<div class="titleslide slide">
59− <h1>$title$</h1>
63+ <h1 class="title">$title$</h1>
6064$if(subtitle)$
61− <h1 class="subtitle">$subtitle$</h1>
65+ <h2 class="subtitle">$subtitle$</h2>
66+$endif$
67+$if(author)$
68+ <h3 class="author">$for(author)$$author$$sep$<br/>$endfor$</h3>
69+$endif$
70+$if(date)$
71+ <h4 class="date">$date$</h4>
6272$endif$
63− <h2>$for(author)$$author$$sep$<br/>$endfor$</h2>
64− <h3>$date$</h3>
6573</div>
6674$endif$
6775$body$
default.slideous+4−1
@@ -1,7 +1,7 @@
11<?xml version="1.0" encoding="utf-8"?>
22<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
33 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4−<html xmlns="http://www.w3.org/1999/xhtml"$if(lang)$ lang="$lang$" xml:lang="$lang$"$endif$>
4+<html xmlns="http://www.w3.org/1999/xhtml"$if(lang)$ lang="$lang$" xml:lang="$lang$"$endif$$if(dir)$ dir="$dir$"$endif$>
55<head>
66 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
77 <meta http-equiv="Content-Style-Type" content="text/css" />
@@ -17,6 +17,9 @@ $if(keywords)$
1717$endif$
1818 <title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title>
1919 <style type="text/css">code{white-space: pre;}</style>
20+$if(quotes)$
21+ <style type="text/css">q { quotes: "“" "”" "‘" "’"; }</style>
22+$endif$
2023$if(highlighting-css)$
2124 <style type="text/css">
2225$highlighting-css$
default.slidy+6−1
@@ -1,7 +1,7 @@
11<?xml version="1.0" encoding="utf-8"?>
22<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
33 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4−<html xmlns="http://www.w3.org/1999/xhtml"$if(lang)$ lang="$lang$" xml:lang="$lang$"$endif$>
4+<html xmlns="http://www.w3.org/1999/xhtml"$if(lang)$ lang="$lang$" xml:lang="$lang$"$endif$$if(dir)$ dir="$dir$"$endif$>
55<head>
66 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
77 <meta http-equiv="Content-Style-Type" content="text/css" />
@@ -17,6 +17,9 @@ $if(keywords)$
1717$endif$
1818 <title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title>
1919 <style type="text/css">code{white-space: pre;}</style>
20+$if(quotes)$
21+ <style type="text/css">q { quotes: "“" "”" "‘" "’"; }</style>
22+$endif$
2023$if(highlighting-css)$
2124 <style type="text/css">
2225$highlighting-css$
@@ -50,9 +53,11 @@ $if(title)$
5053$if(subtitle)$
5154 <h1 class="subtitle">$subtitle$</h1>
5255$endif$
56+$if(author)$
5357 <p class="author">
5458$for(author)$$author$$sep$<br/>$endfor$
5559 </p>
60+$endif$
5661$if(date)$
5762 <p class="date">$date$</p>
5863$endif$