module: update & fix update script

Update script now reads the Wowchemy module's config.yaml rather than config.toml
This commit is contained in:
George Cushen
2020-11-05 23:40:06 +00:00
parent 9e4469443a
commit 4e0577f52a
6 changed files with 25 additions and 31 deletions

View File

@@ -1,5 +1,5 @@
# Configuration of Hugo
# Guide: https://sourcethemes.com/academic/docs/get-started/
# Guide: https://wowchemy.com/docs/get-started/
# Hugo Documentation: https://gohugo.io/getting-started/configuration/#all-configuration-settings
#
# This file is formatted using TOML syntax - learn more at https://learnxinyminutes.com/docs/toml/
@@ -10,7 +10,7 @@ title = "Academic"
# The URL of your site.
# End your URL with a `/` trailing slash, e.g. `https://example.com/`.
baseurl = "/"
baseurl = ""
# Enter a copyright notice to display in the site footer.
# To display a copyright symbol, type `©`. For current year, type `{year}`.
@@ -47,13 +47,6 @@ ignoreFiles = ["\\.ipynb$", ".ipynb_checkpoints$", "\\.Rmd$", "\\.Rmarkdown$", "
home = [ "HTML", "RSS", "JSON", "WebAppManifest" ]
section = [ "HTML", "RSS" ]
[mediaTypes."application/manifest+json"]
suffixes = ["webmanifest"]
[outputFormats.WebAppManifest]
mediaType = "application/manifest+json"
rel = "manifest"
# Configure the Markdown renderer.
[markup]
defaultMarkdownHandler = "goldmark"
@@ -68,7 +61,7 @@ ignoreFiles = ["\\.ipynb$", ".ipynb_checkpoints$", "\\.Rmd$", "\\.Rmarkdown$", "
[imaging]
resampleFilter = "lanczos"
quality = 90
quality = 75
anchor = "smart" # Anchor for cropping. Options include Smart and Center.
# Taxonomies.