From 34d8ccabea0a94162cd33dc85e997dfe4d63d51f Mon Sep 17 00:00:00 2001 From: George Cushen Date: Sat, 27 Jul 2019 23:07:08 +0100 Subject: theme: upgrade to latest v4.5-dev --- config/_default/config.toml | 9 ++++++++- config/_default/params.toml | 4 ++-- 2 files changed, 10 insertions(+), 3 deletions(-) (limited to 'config') diff --git a/config/_default/config.toml b/config/_default/config.toml index fc887066..a941dffd 100644 --- a/config/_default/config.toml +++ b/config/_default/config.toml @@ -40,9 +40,16 @@ footnotereturnlinkcontents = "^" ignoreFiles = ["\\.ipynb$", ".ipynb_checkpoints$", "\\.Rmd$", "\\.Rmarkdown$", "_files$", "_cache$"] [outputs] - home = [ "HTML", "RSS", "JSON" ] + home = [ "HTML", "RSS", "JSON", "WebAppManifest" ] section = [ "HTML", "RSS" ] +[mediaTypes."application/manifest+json"] + suffixes = ["webmanifest"] + +[outputFormats.WebAppManifest] + mediaType = "application/manifest+json" + rel = "manifest" + # Configure BlackFriday Markdown rendering. # See: https://gohugo.io/getting-started/configuration/#configure-blackfriday [blackfriday] diff --git a/config/_default/params.toml b/config/_default/params.toml index 877dd39b..765d3bd0 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, page = false, post = false}} +edit_page = {repo_url = "", repo_branch = "master", 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" @@ -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] -- cgit v1.2.3