Procházet zdrojové kódy

feat: support Hugo 0.84.1 and full Go modules

Remove `markup` from test/config as Hugo 0.84.1 enables to inherit it
George Cushen před 3 roky
rodič
revize
4b0c292a07
2 změnil soubory, kde provedl 11 přidání a 10 odebrání
  1. 8 2
      go.mod
  2. 3 8
      test/config.yaml

+ 8 - 2
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

+ 3 - 8
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: