feat: support Hugo 0.84.1 and full Go modules

Remove `markup` from test/config as Hugo 0.84.1 enables to inherit it
This commit is contained in:
George Cushen 2021-06-29 20:19:20 +01:00
commit 4b0c292a07
2 changed files with 11 additions and 10 deletions

10
go.mod
View file

@ -1,3 +1,9 @@
module github.com/wowchemy/wowchemy-hugo-modules
module github.com/wowchemy/wowchemy-hugo-modules/v5
go 1.14
go 1.15
require github.com/gcushen/wowchemy-hugo-modules/wowchemy/v5 latest
replace github.com/gcushen/wowchemy-hugo-modules/wowchemy/v5 => ./wowchemy
require github.com/gcushen/wowchemy-hugo-modules/wowchemy-cms/v5 latest
replace github.com/gcushen/wowchemy-hugo-modules/wowchemy-cms/v5 => ./wowchemy-cms

View file

@ -1,16 +1,11 @@
title: Wowchemy Test
baseurl:
baseurl: https://example.com
module:
imports:
- path: github.com/wowchemy/wowchemy-hugo-modules/wowchemy-cms
- path: github.com/wowchemy/wowchemy-hugo-modules/wowchemy
- path: github.com/wowchemy/wowchemy-hugo-modules/wowchemy-cms/v5
- path: github.com/wowchemy/wowchemy-hugo-modules/wowchemy/v5
outputs:
home: [HTML, RSS, JSON, WebAppManifest, headers, redirects]
markup:
defaultMarkdownHandler: goldmark
goldmark: {renderer: {unsafe: true}}
highlight: {codeFences: false}
tableOfContents: {startLevel: 2, endLevel: 3}
disableAliases: true
taxonomies: []
params: