aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/templates/default.dzslides13
-rw-r--r--data/templates/default.html413
-rw-r--r--data/templates/default.html513
-rw-r--r--data/templates/default.revealjs13
-rw-r--r--data/templates/default.s513
-rw-r--r--data/templates/default.slideous13
-rw-r--r--data/templates/default.slidy13
-rw-r--r--data/templates/styles.html11
8 files changed, 18 insertions, 84 deletions
diff --git a/data/templates/default.dzslides b/data/templates/default.dzslides
index 96862a2fd..11103ab81 100644
--- a/data/templates/default.dzslides
+++ b/data/templates/default.dzslides
@@ -13,19 +13,8 @@ $if(keywords)$
$endif$
<title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title>
<style>
- code{white-space: pre-wrap;}
- span.smallcaps{font-variant: small-caps;}
- span.underline{text-decoration: underline;}
- div.column{display: inline-block; vertical-align: top; width: 50%;}
-$if(quotes)$
- q { quotes: "“" "”" "‘" "’"; }
-$endif$
- </style>
-$if(highlighting-css)$
- <style>
-$highlighting-css$
+ $styles.html()$
</style>
-$endif$
$if(css)$
$for(css)$
<link rel="stylesheet" href="$css$">
diff --git a/data/templates/default.html4 b/data/templates/default.html4
index 714b3ff2e..5f9b43e47 100644
--- a/data/templates/default.html4
+++ b/data/templates/default.html4
@@ -15,19 +15,8 @@ $if(keywords)$
$endif$
<title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title>
<style type="text/css">
- code{white-space: pre-wrap;}
- span.smallcaps{font-variant: small-caps;}
- span.underline{text-decoration: underline;}
- div.column{display: inline-block; vertical-align: top; width: 50%;}
-$if(quotes)$
- q { quotes: "“" "”" "‘" "’"; }
-$endif$
- </style>
-$if(highlighting-css)$
- <style type="text/css">
-$highlighting-css$
+ $styles.html()$
</style>
-$endif$
$for(css)$
<link rel="stylesheet" href="$css$" type="text/css" />
$endfor$
diff --git a/data/templates/default.html5 b/data/templates/default.html5
index 9816fcf9f..eff6e73ab 100644
--- a/data/templates/default.html5
+++ b/data/templates/default.html5
@@ -15,19 +15,8 @@ $if(keywords)$
$endif$
<title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title>
<style>
- code{white-space: pre-wrap;}
- span.smallcaps{font-variant: small-caps;}
- span.underline{text-decoration: underline;}
- div.column{display: inline-block; vertical-align: top; width: 50%;}
-$if(quotes)$
- q { quotes: "“" "”" "‘" "’"; }
-$endif$
- </style>
-$if(highlighting-css)$
- <style>
-$highlighting-css$
+ $styles.html()$
</style>
-$endif$
$for(css)$
<link rel="stylesheet" href="$css$" />
$endfor$
diff --git a/data/templates/default.revealjs b/data/templates/default.revealjs
index 8e461502d..f63fc144e 100644
--- a/data/templates/default.revealjs
+++ b/data/templates/default.revealjs
@@ -19,19 +19,8 @@ $endif$
<link rel="stylesheet" href="$revealjs-url$/css/reset.css">
<link rel="stylesheet" href="$revealjs-url$/css/reveal.css">
<style>
- code{white-space: pre-wrap;}
- span.smallcaps{font-variant: small-caps;}
- span.underline{text-decoration: underline;}
- div.column{display: inline-block; vertical-align: top; width: 50%;}
-$if(quotes)$
- q { quotes: "“" "”" "‘" "’"; }
-$endif$
- </style>
-$if(highlighting-css)$
- <style>
-$highlighting-css$
+ $styles.html()$
</style>
-$endif$
$if(theme)$
<link rel="stylesheet" href="$revealjs-url$/css/theme/$theme$.css" id="theme">
$else$
diff --git a/data/templates/default.s5 b/data/templates/default.s5
index e9c36b4d4..d76111284 100644
--- a/data/templates/default.s5
+++ b/data/templates/default.s5
@@ -16,22 +16,11 @@ $if(keywords)$
$endif$
<title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title>
<style type="text/css">
- code{white-space: pre-wrap;}
- span.smallcaps{font-variant: small-caps;}
- span.underline{text-decoration: underline;}
- div.column{display: inline-block; vertical-align: top; width: 50%;}
-$if(quotes)$
- q { quotes: "“" "”" "‘" "’"; }
-$endif$
+ $styles.html()$
</style>
<!-- configuration parameters -->
<meta name="defaultView" content="slideshow" />
<meta name="controlVis" content="hidden" />
-$if(highlighting-css)$
- <style type="text/css">
-$highlighting-css$
- </style>
-$endif$
$for(css)$
<link rel="stylesheet" href="$css$" type="text/css" />
$endfor$
diff --git a/data/templates/default.slideous b/data/templates/default.slideous
index ad58272ae..ebf582dca 100644
--- a/data/templates/default.slideous
+++ b/data/templates/default.slideous
@@ -17,19 +17,8 @@ $if(keywords)$
$endif$
<title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title>
<style type="text/css">
- code{white-space: pre-wrap;}
- span.smallcaps{font-variant: small-caps;}
- span.underline{text-decoration: underline;}
- div.column{display: inline-block; vertical-align: top; width: 50%;}
-$if(quotes)$
- q { quotes: "“" "”" "‘" "’"; }
-$endif$
- </style>
-$if(highlighting-css)$
- <style type="text/css">
-$highlighting-css$
+ $styles.html()$
</style>
-$endif$
<link rel="stylesheet" type="text/css" media="screen, projection, print"
href="$slideous-url$/slideous.css" />
$for(css)$
diff --git a/data/templates/default.slidy b/data/templates/default.slidy
index 98b8d669d..6b9776858 100644
--- a/data/templates/default.slidy
+++ b/data/templates/default.slidy
@@ -17,19 +17,8 @@ $if(keywords)$
$endif$
<title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title>
<style type="text/css">
- code{white-space: pre-wrap;}
- span.smallcaps{font-variant: small-caps;}
- span.underline{text-decoration: underline;}
- div.column{display: inline-block; vertical-align: top; width: 50%;}
-$if(quotes)$
- q { quotes: "“" "”" "‘" "’"; }
-$endif$
- </style>
-$if(highlighting-css)$
- <style type="text/css">
-$highlighting-css$
+ $styles.html()$
</style>
-$endif$
<link rel="stylesheet" type="text/css" media="screen, projection, print"
href="$slidy-url$/styles/slidy.css" />
$for(css)$
diff --git a/data/templates/styles.html b/data/templates/styles.html
new file mode 100644
index 000000000..866896549
--- /dev/null
+++ b/data/templates/styles.html
@@ -0,0 +1,11 @@
+code{white-space: pre-wrap;}
+span.smallcaps{font-variant: small-caps;}
+span.underline{text-decoration: underline;}
+div.column{display: inline-block; vertical-align: top; width: 50%;}
+$if(quotes)$
+q { quotes: "“" "”" "‘" "’"; }
+$endif$
+$if(highlighting-css)$
+$highlighting-css$
+$endif$
+