diff options
author | John Muccigrosso <Jmuccigr@users.noreply.github.com> | 2018-04-26 14:32:48 -0400 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2018-04-26 11:32:48 -0700 |
commit | 91877692f399d46af0cfff151ce9ffde81af149d (patch) | |
tree | 087c9053a56b32e275af6b662c02913d4d0e4103 /data | |
parent | 1b5948b0797d2161efd1f269c6996d87a6c70af8 (diff) | |
download | pandoc-91877692f399d46af0cfff151ce9ffde81af149d.tar.gz |
Adding background-image variable to reveal.js template (#4600)
Diffstat (limited to 'data')
-rw-r--r-- | data/templates/default.revealjs | 5 |
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 |