Adding background-image variable to reveal.js template (#4600)
This commit is contained in:
parent
1b5948b079
commit
91877692f3
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue