Update exampleSite and README for custom_theme_options param

This commit is contained in:
dzello
2019-02-06 14:11:15 +01:00
parent dfda8c0cd4
commit ab6edab21f
6 changed files with 17 additions and 0 deletions
@@ -40,6 +40,18 @@ custom_theme_compile = true
---
To pass compilation options, use the `custom_theme_options` param:
```toml
[reveal_hugo.custom_theme_options]
targetPath = "css/custom-theme.css"
enableSourceMap = true
```
See all the [available options](https://gohugo.io/hugo-pipes/scss-sass/#options).
---
Note: to use a custom theme that doesn't need compilation, put it in the `static` directory and do not set the `custom_theme_compile` parameter. It will be served to the browser directly.
---