- A new `BookCommitPath` paramter was added that allows the 'commit'
portion of the link to a page's last edited commit hash to be
specified.
- This is useful when github is not the default repository for a
project.
Co-authored-by: Collin Brooks <cbrooks@sentryds.com>
* Bug Fix: Empty .Site.Params.contentDir
When .Site.Params.contentDir is left as the default: "content", calling .Site.Params.contentDir returns nothing, or maybe an empty string. To fix this, we set a default value for .Site.Params.contentDir to "content" and the url is built correctly.
* Use the `default` function instead of `or`
https://gohugo.io/functions/default/
* feat: added support for Disqus
* feat: allow disqus to be disabled through frontmatter
Set:
bookDisableComments: true
On a page to disable disqus for the content.
Seems to be a Windows related thing. `.File.Path` returns a path with backslashes this adds a replace to make those forward slashes. This appears to fix#115