mirror of https://github.com/onweru/compose.git

weru
06.16.2020 09afc68b9180d27017b005a51ea67b401743dff9
load theme as a hugo module
2 files added
1 files modified
12 ■■■■■ changed files
exampleSite/config.toml 5 ●●●● patch | view | raw | blame | history
exampleSite/go.mod 5 ●●●●● patch | view | raw | blame | history
exampleSite/go.sum 2 ●●●●● patch | view | raw | blame | history
exampleSite/config.toml
@@ -1,7 +1,10 @@
baseURL = "https://example.com/"
title = "Compose Docs"
enableRobotsTXT = true
theme = "compose"
# this example loads the theme as hugo module
# comment out line below, and uncomment the line after it if you prefer to load the theme normally
theme = ["github.com/onweru/compose"]
# theme = "compose"
enableGitInfo = true
disableKinds = ["taxonomy", "taxonomyTerm"]
exampleSite/go.mod
New file
@@ -0,0 +1,5 @@
module compose-exampleSite
go 1.15
require github.com/onweru/compose v0.0.0-20201006150935-3c1a2b1a5808 // indirect
exampleSite/go.sum
New file
@@ -0,0 +1,2 @@
github.com/onweru/compose v0.0.0-20201006150935-3c1a2b1a5808 h1:6eVMm+cuEWeCodoHVzfjPc1+BOJMvm7boxrsXSMcbBg=
github.com/onweru/compose v0.0.0-20201006150935-3c1a2b1a5808/go.mod h1:tf1kQIBUcwJ/3mRFU5eiMrMvsDScVTK2IEFsZE3hZOc=