diff options
-rw-r--r-- | config/_default/config.toml | 9 | ||||
-rw-r--r-- | config/_default/params.toml | 4 | ||||
-rw-r--r-- | data/page_sharer.toml | 8 | ||||
-rwxr-xr-x[-rw-r--r--] | scripts/init_kickstart.sh | 0 | ||||
m--------- | themes/academic | 0 |
5 files changed, 18 insertions, 3 deletions
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 = "<sup>^</sup>" 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] diff --git a/data/page_sharer.toml b/data/page_sharer.toml index 8eb3670e..4f6e6115 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 index 7101e4da..7101e4da 100644..100755 --- a/scripts/init_kickstart.sh +++ b/scripts/init_kickstart.sh diff --git a/themes/academic b/themes/academic -Subproject a1ba678e793edc2992f2202f228c9e3449ce378 +Subproject 0011592861bda0804f2ce46a9fb88c934dd5271 |