mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-13 06:14:48 +00:00
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:
1 parent
8272c2c8fb
commit
835d3d76c0
4 files changed
+7
-1
No files matched your search
@@ -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]
|
||||
|
||||
@@ -13,6 +13,8 @@
|
||||
{{ partial "tags.html" . }}
|
||||
{{ partial "page_author.html" . }}
|
||||
|
||||
{{ partial "comments" . }}
|
||||
|
||||
{{ $page := . }}
|
||||
{{ $project := .File.ContentBaseName }}
|
||||
|
||||
|
||||
@@ -53,6 +53,8 @@
|
||||
{{ partial "tags.html" . }}
|
||||
{{ partial "page_author.html" . }}
|
||||
|
||||
{{ partial "comments" . }}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -66,6 +66,8 @@
|
||||
{{ partial "tags.html" . }}
|
||||
{{ partial "page_author.html" . }}
|
||||
|
||||
{{ partial "comments" . }}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in new issue
Block a user