Adding background-image variable to reveal.js template (#4600)

This commit is contained in:
John Muccigrosso 2018-04-26 14:32:48 -04:00 committed by John MacFarlane
parent 1b5948b079
commit 91877692f3

View file

@ -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