|
@@ -45,7 +45,7 @@ privacy_pack = false
|
|
|
|
|
|
# Enable visitors to edit pages?
|
|
|
# `repo` defines the repository URL. `editable` defines which page types can be edited.
|
|
|
-edit_page = {repo_url = "https://github.com/gcushen/hugo-academic", editable = {docs = true}}
|
|
|
+edit_page = {repo_url = "https://github.com/gcushen/hugo-academic", editable = {docs = true, page = false, post = false}}
|
|
|
|
|
|
# Date and time format (refer to https://sourcethemes.com/academic/docs/customization/#date-format )
|
|
|
# Examples: "Mon, Jan 2, 2006" or "2006-01-02"
|
|
@@ -123,9 +123,6 @@ menu_align_right = false
|
|
|
# Show estimated reading time for posts? (true/false)
|
|
|
reading_time = true
|
|
|
|
|
|
-# Display comment count (if commenting enabled in config.toml)? (true/false)
|
|
|
-comment_count = true
|
|
|
-
|
|
|
# Display next/previous section pager? (true/false)
|
|
|
section_pager = false
|
|
|
docs_section_pager = true # Display pager in Docs layout (e.g. tutorials)?
|
|
@@ -153,6 +150,22 @@ sharing = true
|
|
|
publication_view = 2
|
|
|
talk_view = 2
|
|
|
|
|
|
+# Comments.
|
|
|
+[comments]
|
|
|
+ # Comment provider:
|
|
|
+ # 0: Disabled
|
|
|
+ # 1: Disqus (https://disqus.com)
|
|
|
+ # 2: Commento (https://commento.io)
|
|
|
+ engine = 0
|
|
|
+
|
|
|
+ # Which page types are commentable?
|
|
|
+ commentable = {page = true, post = true, docs = true}
|
|
|
+
|
|
|
+ # Configuration of Disqus.
|
|
|
+ [comments.disqus]
|
|
|
+ shortname = "" # Paste the shortname from your Disqus dashboard.
|
|
|
+ show_count = true # Show comment count in page header? (true/false)
|
|
|
+
|
|
|
# Search.
|
|
|
[search]
|
|
|
# Search provider:
|