From 739527aedf1ed3c180186a1759ca12dfd682746c Mon Sep 17 00:00:00 2001 From: George Cushen Date: Tue, 2 Feb 2021 23:03:04 +0000 Subject: [PATCH] modules: update --- .gitignore | 1 + config/_default/config.toml | 14 ++++---------- go.mod | 4 ++-- go.sum | 6 ++---- netlify.toml | 12 +----------- 5 files changed, 10 insertions(+), 27 deletions(-) diff --git a/.gitignore b/.gitignore index 566fa06869..4ab3bfb87d 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ # Hugo /resources/ public/ +assets/jsconfig.json diff --git a/config/_default/config.toml b/config/_default/config.toml index fc8093e1ad..4475073352 100644 --- a/config/_default/config.toml +++ b/config/_default/config.toml @@ -35,6 +35,7 @@ enableEmoji = true enableRobotsTXT = true footnotereturnlinkcontents = "^" ignoreFiles = ["\\.ipynb$", ".ipynb_checkpoints$", "\\.Rmd$", "\\.Rmarkdown$", "_files$", "_cache$"] +disableAliases = true # Disable aliases when `redirects` is added to the `outputs` below. # Workaround Hugo publishing taxonomy URLs as plurals - consistently use singular across Academic. [permalinks] @@ -44,16 +45,9 @@ ignoreFiles = ["\\.ipynb$", ".ipynb_checkpoints$", "\\.Rmd$", "\\.Rmarkdown$", " publication_types = "/publication-type/:slug/" [outputs] - home = [ "HTML", "RSS", "JSON", "WebAppManifest" ] + home = [ "HTML", "RSS", "JSON", "WebAppManifest", "headers", "redirects" ] section = [ "HTML", "RSS" ] -[mediaTypes."application/manifest+json"] - suffixes = ["webmanifest"] - -[outputFormats.WebAppManifest] - mediaType = "application/manifest+json" - rel = "manifest" - # Configure the Markdown renderer. [markup] defaultMarkdownHandler = "goldmark" @@ -94,7 +88,7 @@ ignoreFiles = ["\\.ipynb$", ".ipynb_checkpoints$", "\\.Rmd$", "\\.Rmarkdown$", " # Install Wowchemy [module] - [[module.imports]] - path = "github.com/wowchemy/wowchemy-hugo-modules/wowchemy" [[module.imports]] path = "github.com/wowchemy/wowchemy-hugo-modules/netlify-cms-academic" + [[module.imports]] + path = "github.com/wowchemy/wowchemy-hugo-modules/wowchemy" diff --git a/go.mod b/go.mod index 74989a0786..f23bdb5cea 100644 --- a/go.mod +++ b/go.mod @@ -3,6 +3,6 @@ module github.com/wowchemy/starter-research-group go 1.15 require ( - github.com/wowchemy/wowchemy-hugo-modules/netlify-cms-academic v0.0.0-20201228231801-219b05cbd2c4 // indirect - github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20201228231801-219b05cbd2c4 // indirect + github.com/wowchemy/wowchemy-hugo-modules/netlify-cms-academic v0.0.0-20210201131602-995d2181a052 + github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20210201131602-995d2181a052 ) diff --git a/go.sum b/go.sum index 28d844799e..19f9a438fa 100644 --- a/go.sum +++ b/go.sum @@ -1,4 +1,2 @@ -github.com/wowchemy/wowchemy-hugo-modules/netlify-cms-academic v0.0.0-20201228231801-219b05cbd2c4 h1:taX+pKqywm2nxmGsVZNj2OCoW39yzLJHwfC4e3j2PO0= -github.com/wowchemy/wowchemy-hugo-modules/netlify-cms-academic v0.0.0-20201228231801-219b05cbd2c4/go.mod h1:TU3QDPUdBSQnvDP5QVCwjAkBIdVMS/bKFA8jr3eI5AY= -github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20201228231801-219b05cbd2c4 h1:EIk8PqNiLg1YcddZWwh2Khgvfkxh5KSX5hNsI7UBJVM= -github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20201228231801-219b05cbd2c4/go.mod h1:H22qfH9qj3FWwsk7+bAZpmT24yRGNQURah2/IRwjbn8= +github.com/wowchemy/wowchemy-hugo-modules/netlify-cms-academic v0.0.0-20210201131602-995d2181a052/go.mod h1:TU3QDPUdBSQnvDP5QVCwjAkBIdVMS/bKFA8jr3eI5AY= +github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20210201131602-995d2181a052/go.mod h1:H22qfH9qj3FWwsk7+bAZpmT24yRGNQURah2/IRwjbn8= diff --git a/netlify.toml b/netlify.toml index 4f51fea9cf..6a506e9041 100644 --- a/netlify.toml +++ b/netlify.toml @@ -3,7 +3,7 @@ publish = "public" [build.environment] - HUGO_VERSION = "0.79.0" + HUGO_VERSION = "0.80.0" HUGO_ENABLEGITINFO = "true" [context.production.environment] @@ -14,13 +14,3 @@ [context.branch-deploy] command = "hugo --gc --minify -b $DEPLOY_PRIME_URL" - -[[headers]] - for = "*.webmanifest" - [headers.values] - Content-Type = "application/manifest+json; charset=UTF-8" - -[[headers]] - for = "index.xml" - [headers.values] - Content-Type = "application/rss+xml"