From a5727576d93abd80c95b9814d22e30fbeab24e7f Mon Sep 17 00:00:00 2001 From: George Cushen Date: Wed, 2 Sep 2020 21:36:07 +0100 Subject: build: update to use wowchemy module Removes hugo-academic Git Submodule and replaces it with Wowchemy Hugo Module Also enable robots.txt in config.toml --- config/_default/config.toml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'config') diff --git a/config/_default/config.toml b/config/_default/config.toml index 81a24ea8..5d5089e4 100644 --- a/config/_default/config.toml +++ b/config/_default/config.toml @@ -20,9 +20,6 @@ copyright = "" ## Advanced options below ## ############################ -# Name of Academic theme folder in `themes/`. -theme = "academic" - # Get last modified date for content from Git? enableGitInfo = false @@ -35,6 +32,7 @@ removePathAccents = true # Workaround for https://github.com/gohugoio/hugo/issu summaryLength = 30 # Listing summary length in words. Also, see `abstract_length` in `params.toml`. paginate = 10 # Number of items per page in paginated lists. enableEmoji = true +enableRobotsTXT = true footnotereturnlinkcontents = "^" ignoreFiles = ["\\.ipynb$", ".ipynb_checkpoints$", "\\.Rmd$", "\\.Rmarkdown$", "_files$", "_cache$"] @@ -105,3 +103,8 @@ ignoreFiles = ["\\.ipynb$", ".ipynb_checkpoints$", "\\.Rmd$", "\\.Rmarkdown$", " [[related.indices]] name = "authors" weight = 20.0 + +# Install Wowchemy +[module] + [[module.imports]] + path = "github.com/wowchemy/wowchemy-hugo-modules/wowchemy" -- cgit v1.2.3