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
This commit is contained in:
George Cushen 2020-09-02 21:36:07 +01:00
parent 5e464f72b2
commit a5727576d9
6 changed files with 31 additions and 39 deletions

View file

@ -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 = "<sup>^</sup>"
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"