Avoid null Hugo defaults breaking JS initialization
This commit is contained in:
parent
e79f999528
commit
56be3a2a42
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@
|
||||||
var revealHugoDefaults = JSON.parse(document.getElementById('reveal-hugo-defaults').innerHTML);
|
var revealHugoDefaults = JSON.parse(document.getElementById('reveal-hugo-defaults').innerHTML);
|
||||||
|
|
||||||
// See all options - https://github.com/hakimel/reveal.js#configuration
|
// See all options - https://github.com/hakimel/reveal.js#configuration
|
||||||
var options = Object.assign(
|
var options = Object.assign({},
|
||||||
camelize(revealHugoDefaults),
|
camelize(revealHugoDefaults),
|
||||||
camelize(revealHugoSiteParams),
|
camelize(revealHugoSiteParams),
|
||||||
camelize(revealHugoPageParams),
|
camelize(revealHugoPageParams),
|
||||||
|
|
Loading…
Reference in a new issue