refactor: Netlify CMS as an optional module

ALso
- update Netlify.toml Hugo version to latest
- update to latest Wowchemy v5-dev master & upgrade config/ and author profile
This commit is contained in:
George Cushen 2020-10-01 17:43:54 +01:00
parent 1c3b3c6cad
commit 68489423fc
13 changed files with 78 additions and 389 deletions

View file

@ -108,3 +108,5 @@ ignoreFiles = ["\\.ipynb$", ".ipynb_checkpoints$", "\\.Rmd$", "\\.Rmarkdown$", "
[module]
[[module.imports]]
path = "github.com/wowchemy/wowchemy-hugo-modules/wowchemy"
[[module.imports]]
path = "github.com/wowchemy/wowchemy-hugo-modules/netlify-cms-academic"

View file

@ -147,7 +147,7 @@ address_format = "en-us"
############################
# Main menu alignment (l = left, c = center, r = right) and logo options.
main_menu = {align = "l", show_logo = true, highlight_active_link = true, show_language = false}
main_menu = {align = "l", show_logo = true, highlight_active_link = true, show_language = false, show_day_night = true, show_search = true}
# Show estimated reading time for posts? (true/false)
reading_time = true
@ -163,9 +163,6 @@ sharing = true
# Page specific copyright licenses are also possible by adding this option to a page's front matter.
copyright_license = {enable = false, allow_derivatives = false, share_alike = true, allow_commercial = false, notice = "This work is licensed under {license}"}
# Highlight the site author (superuser) in author lists? (true/false)
highlight_superuser = false
# Link authors to their profile page? (true/false)
link_authors = true