From 4b0c292a079f9a880ded8cef5d9ea6be2be790ff Mon Sep 17 00:00:00 2001 From: George Cushen Date: Tue, 29 Jun 2021 20:19:20 +0100 Subject: [PATCH] feat: support Hugo 0.84.1 and full Go modules Remove `markup` from test/config as Hugo 0.84.1 enables to inherit it --- go.mod | 10 ++++++++-- test/config.yaml | 11 +++-------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/go.mod b/go.mod index 89930eef..e2009569 100644 --- a/go.mod +++ b/go.mod @@ -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 diff --git a/test/config.yaml b/test/config.yaml index 30902214..e9363272 100644 --- a/test/config.yaml +++ b/test/config.yaml @@ -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: