From 34d8ccabea0a94162cd33dc85e997dfe4d63d51f Mon Sep 17 00:00:00 2001 From: George Cushen Date: Sat, 27 Jul 2019 23:07:08 +0100 Subject: [PATCH] theme: upgrade to latest v4.5-dev --- config/_default/config.toml | 9 ++++++++- config/_default/params.toml | 4 ++-- data/page_sharer.toml | 8 ++++++++ scripts/init_kickstart.sh | 0 themes/academic | 2 +- 5 files changed, 19 insertions(+), 4 deletions(-) mode change 100644 => 100755 scripts/init_kickstart.sh diff --git a/config/_default/config.toml b/config/_default/config.toml index fc88706..a941dff 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 877dd39..765d3bd 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] diff --git a/data/page_sharer.toml b/data/page_sharer.toml index 8eb3670..4f6e611 100644 --- a/data/page_sharer.toml +++ b/data/page_sharer.toml @@ -64,3 +64,11 @@ icon_pack = "fab" icon = "pinterest" enable = false + +[[buttons]] + id = "xing" + url = "https://www.xing.com/spi/shares/new?url={url}&title={title}" + title = "Xing" + icon_pack = "fab" + icon = "xing" + enable = false diff --git a/scripts/init_kickstart.sh b/scripts/init_kickstart.sh old mode 100644 new mode 100755 diff --git a/themes/academic b/themes/academic index a1ba678..0011592 160000 --- a/themes/academic +++ b/themes/academic @@ -1 +1 @@ -Subproject commit a1ba678e793edc2992f2202f228c9e3449ce3784 +Subproject commit 0011592861bda0804f2ce46a9fb88c934dd5271a