From 5b2d67bdb4eafd5ddbc67ab72c6af54230baa63e Mon Sep 17 00:00:00 2001 From: George Cushen Date: Mon, 22 Jul 2019 21:33:38 +0100 Subject: theme: upgrade to v4.5-dev --- config/_default/config.toml | 3 --- config/_default/params.toml | 21 +++++++++++++++++---- 2 files changed, 17 insertions(+), 7 deletions(-) (limited to 'config') 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: -- cgit v1.2.3