aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJohn Muccigrosso <Jmuccigr@users.noreply.github.com>2018-04-26 14:32:48 -0400
committerJohn MacFarlane <jgm@berkeley.edu>2018-04-26 11:32:48 -0700
commit91877692f399d46af0cfff151ce9ffde81af149d (patch)
tree087c9053a56b32e275af6b662c02913d4d0e4103 /data
parent1b5948b0797d2161efd1f269c6996d87a6c70af8 (diff)
downloadpandoc-91877692f399d46af0cfff151ce9ffde81af149d.tar.gz
Adding background-image variable to reveal.js template (#4600)
Diffstat (limited to 'data')
-rw-r--r--data/templates/default.revealjs5
1 files changed, 5 insertions, 0 deletions
diff --git a/data/templates/default.revealjs b/data/templates/default.revealjs
index 65ab09049..6f847e23a 100644
--- a/data/templates/default.revealjs
+++ b/data/templates/default.revealjs
@@ -197,6 +197,11 @@ $endif$
$if(parallaxBackgroundImage)$
// Parallax background image
parallaxBackgroundImage: '$parallaxBackgroundImage$', // e.g. "'https://s3.amazonaws.com/hakim-static/reveal-js/reveal-parallax-1.jpg'"
+$else$
+$if(background-image)$
+ // Parallax background image
+ parallaxBackgroundImage: '$background-image$', // e.g. "'https://s3.amazonaws.com/hakim-static/reveal-js/reveal-parallax-1.jpg'"
+$endif$
$endif$
$if(parallaxBackgroundSize)$
// Parallax background size