git.iko.soy/typeable/pandoc
on master help sign in
Adding background-image variable to reveal.js template (#4600)
commit91877692f399d46af0cfff151ce9ffde81af149d authorJohn Muccigrosso <Jmuccigr@users.noreply.github.com> dateThu 26 Apr 2018, 14:32 (9 years ago) parent1b5948b
1 file changed+5
data/templates/default.revealjs+5
data/templates/default.revealjs+5
@@ -197,6 +197,11 @@ $endif$
197197$if(parallaxBackgroundImage)$
198198 // Parallax background image
199199 parallaxBackgroundImage: '$parallaxBackgroundImage$', // e.g. "'https://s3.amazonaws.com/hakim-static/reveal-js/reveal-parallax-1.jpg'"
200+$else$
201+$if(background-image)$
202+ // Parallax background image
203+ parallaxBackgroundImage: '$background-image$', // e.g. "'https://s3.amazonaws.com/hakim-static/reveal-js/reveal-parallax-1.jpg'"
204+$endif$
200205$endif$
201206$if(parallaxBackgroundSize)$
202207 // Parallax background size