Add param for custom CSS

Fix #36
This commit is contained in:
Carson Ip
2019-12-01 22:55:22 +08:00
parent 4856422a58
commit 45891eec00
2 changed files with 9 additions and 0 deletions

View File

@@ -70,6 +70,12 @@ disqusShortname = "xxxxxx"
This option enables the KaTeX auto-render extension. To render block math, use `$$ ... $$`. For inline math, use `\\( ... \\)`. For more details, please refer to https://github.com/KaTeX/KaTeX/blob/v0.7.1/contrib/auto-render/auto-render.js#L73 .
### Custom CSS
```
[params]
customCss = ["css/foo.css"]
```
### Others
For other configuration variables, visit [Hugo documentation](https://gohugo.io/overview/configuration/#configuration-variables).