diff --git a/configuration.md b/configuration.md index 0416f07..0c564de 100644 --- a/configuration.md +++ b/configuration.md @@ -52,3 +52,18 @@ To enable table of contents for a pages, set `enabletoc: true`. ## Custom partials The partial `head-custom.html` is applied after `head.html`, you can create your own copy at `layouts/partials/head-custom.html` to overwrite it. + +## Docs/ Comments + +Create a collapsible area at the bottom of the page to embed something like Etherpad, Hedgedoc, or a commenting plugin. `HUGO_ENV` must equal production to show, otherwise a message will show instead. + +Overwrite this partial `layouts/partials/docscomments-content.html` with what to include. + +This can be disabled on your entire site: + +```toml +[params] + disableDocsComments = true +``` + +For a specific page: `disableDocsComments = true`