Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wowchemy/starter-academic.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorGeorge Cushen <gcushen@users.noreply.github.com>2019-07-22 23:33:38 +0300
committerGeorge Cushen <gcushen@users.noreply.github.com>2019-07-22 23:33:38 +0300
commit5b2d67bdb4eafd5ddbc67ab72c6af54230baa63e (patch)
tree2b17ef55cff8c6ea6cb9d9d881e1ce78c8cb3816 /config
parent30049c6dcf4cb51dca31cac6abdcd48e4aa260c4 (diff)
theme: upgrade to v4.5-dev
Diffstat (limited to 'config')
-rw-r--r--config/_default/config.toml3
-rw-r--r--config/_default/params.toml21
2 files changed, 17 insertions, 7 deletions
diff --git a/config/_default/config.toml b/config/_default/config.toml
index 3dcac10d..fc887066 100644
--- a/config/_default/config.toml
+++ b/config/_default/config.toml
@@ -18,9 +18,6 @@ copyright = ""
# Enable analytics by entering your Google Analytics tracking ID
googleAnalytics = ""
-# Enable comments by entering your Disqus shortname
-disqusShortname = ""
-
############################
## Advanced options below ##
############################
diff --git a/config/_default/params.toml b/config/_default/params.toml
index 4ea77123..877dd39b 100644
--- a/config/_default/params.toml
+++ b/config/_default/params.toml
@@ -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 = "", editable = {docs = true}}
+edit_page = {repo_url = "", 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: