aboutsummaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorThomas Hodgson <hello@twshodgson.net>2021-05-15 18:56:48 +0200
committerGitHub <noreply@github.com>2021-05-15 09:56:48 -0700
commit97a0ee23bc2d7ec90d193f41fb89f91bc66f6528 (patch)
tree22c54aa12ed089e7b0641651ad41202ca6b2b9ad /data/templates
parent0794862aacdb5d28616dadc3d681a63c36251212 (diff)
downloadpandoc-97a0ee23bc2d7ec90d193f41fb89f91bc66f6528.tar.gz
HTML-based slide shows: add support for institute (#7289)
Add institute variable (string or list) to HTML-based slide formats.
Diffstat (limited to 'data/templates')
-rw-r--r--data/templates/default.dzslides2
-rw-r--r--data/templates/default.revealjs3
-rw-r--r--data/templates/default.s53
-rw-r--r--data/templates/default.slideous7
-rw-r--r--data/templates/default.slidy5
5 files changed, 19 insertions, 1 deletions
diff --git a/data/templates/default.dzslides b/data/templates/default.dzslides
index 11103ab81..5e2749bbf 100644
--- a/data/templates/default.dzslides
+++ b/data/templates/default.dzslides
@@ -171,7 +171,7 @@ $if(subtitle)$
<h1 class="subtitle">$subtitle$</h1>
$endif$
<footer>
- $if(author)$<span class="author">$for(author)$$author$$sep$, $endfor$</span>$endif$ · $if(date)$<span class="date">$date$</span>$endif$
+ $if(author)$<span class="author">$for(author)$$author$$sep$, $endfor$</span> · $endif$$if(institute)$<span class="institute">$for(institute)$$institute$$sep$, $endfor$</span> · $endif$$if(date)$<span class="date">$date$</span>$endif$
</footer>
</section>
$endif$
diff --git a/data/templates/default.revealjs b/data/templates/default.revealjs
index e90b32899..838d5465f 100644
--- a/data/templates/default.revealjs
+++ b/data/templates/default.revealjs
@@ -52,6 +52,9 @@ $endif$
$for(author)$
<p class="author">$author$</p>
$endfor$
+$for(institute)$
+ <p class="institute">$institute$</p>
+$endfor$
$if(date)$
<p class="date">$date$</p>
$endif$
diff --git a/data/templates/default.s5 b/data/templates/default.s5
index d76111284..27e681fe4 100644
--- a/data/templates/default.s5
+++ b/data/templates/default.s5
@@ -61,6 +61,9 @@ $endif$
$if(author)$
<h3 class="author">$for(author)$$author$$sep$<br/>$endfor$</h3>
$endif$
+$if(institute)$
+ <h3 class="institute">$for(institute)$$institute$$sep$<br/>$endfor$</h3>
+$endif$
$if(date)$
<h4 class="date">$date$</h4>
$endif$
diff --git a/data/templates/default.slideous b/data/templates/default.slideous
index ebf582dca..70d144bc7 100644
--- a/data/templates/default.slideous
+++ b/data/templates/default.slideous
@@ -63,9 +63,16 @@ $if(title)$
$if(subtitle)$
<h1 class="subtitle">$subtitle$</h1>
$endif$
+$if(author)$
<p class="author">
$for(author)$$author$$sep$<br/>$endfor$
</p>
+$endif$
+$if(institute)$
+ <p class="institute">
+$for(institute)$$institute$$sep$<br/>$endfor$
+ </p>
+$endif$
$if(date)$
<p class="date">$date$</p>
$endif$
diff --git a/data/templates/default.slidy b/data/templates/default.slidy
index 6b9776858..a4ac97f9d 100644
--- a/data/templates/default.slidy
+++ b/data/templates/default.slidy
@@ -52,6 +52,11 @@ $if(author)$
$for(author)$$author$$sep$<br/>$endfor$
</p>
$endif$
+$if(institute)$
+ <p class="institute">
+$for(institute)$$institute$$sep$<br/>$endfor$
+ </p>
+$endif$
$if(date)$
<p class="date">$date$</p>
$endif$