From 97a0ee23bc2d7ec90d193f41fb89f91bc66f6528 Mon Sep 17 00:00:00 2001
From: Thomas Hodgson
Date: Sat, 15 May 2021 18:56:48 +0200
Subject: HTML-based slide shows: add support for institute (#7289)
Add institute variable (string or list) to HTML-based slide formats.
---
data/templates/default.dzslides | 2 +-
data/templates/default.revealjs | 3 +++
data/templates/default.s5 | 3 +++
data/templates/default.slideous | 7 +++++++
data/templates/default.slidy | 5 +++++
5 files changed, 19 insertions(+), 1 deletion(-)
(limited to 'data/templates')
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)$
$subtitle$
$endif$
$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)$
$author$
$endfor$
+$for(institute)$
+ $institute$
+$endfor$
$if(date)$
$date$
$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)$
$for(author)$$author$$sep$
$endfor$
$endif$
+$if(institute)$
+ $for(institute)$$institute$$sep$
$endfor$
+$endif$
$if(date)$
$date$
$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)$
$subtitle$
$endif$
+$if(author)$
$for(author)$$author$$sep$
$endfor$
+$endif$
+$if(institute)$
+
+$for(institute)$$institute$$sep$
$endfor$
+
+$endif$
$if(date)$
$date$
$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$
$endfor$
$endif$
+$if(institute)$
+
+$for(institute)$$institute$$sep$
$endfor$
+
+$endif$
$if(date)$
$date$
$endif$
--
cgit v1.2.3