The new front matter variable `page_scripts` allows to specify
javascript ressources to be loaded in sync or async mode.
This allows javascript code to be loaded, that is only required for a
small set of pages (e.g. showing a map or a slider animation).
As per https://gohugo.io/getting-started/quick-start/ I think it is better to use git submodules rather than cloning the repo. It should be easier to keep up to date etc. So please consider this change in documentation
* feat: add commento block
Signed-off-by: Kirill K <kovalev.kirill.a@gmail.com>
* fix: use params section in config example
Signed-off-by: Kirill K <kovalev.kirill.a@gmail.com>
* fix: use defer to execute script after page load
Signed-off-by: Kirill K <kovalev.kirill.a@gmail.com>
2.0 Enhancements
- Improve template structure
- Fixed issue where flexbox was configured improperly and the side column expanded with longer content.
- No longer assume that posts are called "post"
- Simplify tag handling
- Improve related posts handling
- Support native Table of contents (if declared in params)
- Add DISQUS commenting (if disqusShortname added to config)
- Uses Hugo's Related content feature
- Add asset hashing to Webpack for performance