feat: support commenting for project, publication, and talk pages (#1240)

To use, set `commentable = {page = true, post = true, docs = true, project = true, publication = true, talk = true}` under the Comments section in `params.toml`.
This commit is contained in:
Julian Pawlowski authored and George committed 2019-07-27 21:03:50 +01:00
1 parent 8272c2c8fb
commit 835d3d76c0
4 files changed
+7 -1

No files matched your search

+1 -1
View File
@@ -159,7 +159,7 @@ sharing = true
engine = 0
# Which page types are commentable?
commentable = {page = true, post = true, docs = true}
commentable = {page = true, post = true, docs = true, project = true, publication = true, talk = true}
# Configuration of Disqus.
[comments.disqus]
+2
View File
@@ -13,6 +13,8 @@
{{ partial "tags.html" . }}
{{ partial "page_author.html" . }}
{{ partial "comments" . }}
{{ $page := . }}
{{ $project := .File.ContentBaseName }}
+2
View File
@@ -53,6 +53,8 @@
{{ partial "tags.html" . }}
{{ partial "page_author.html" . }}
{{ partial "comments" . }}
</div>
</div>
+2
View File
@@ -66,6 +66,8 @@
{{ partial "tags.html" . }}
{{ partial "page_author.html" . }}
{{ partial "comments" . }}
</div>
</div>