diff --git a/config.yaml b/config.yaml new file mode 100644 index 00000000..0a36bd5c --- /dev/null +++ b/config.yaml @@ -0,0 +1,26 @@ +# Dependency 'bulma' is brought in as module +# and mount points are declared +module: + imports: + - path: github.com/jgthms/bulma + mounts: + - source: bulma.sass + target: assets/bulma/bulma.sass + - source: sass + target: assets/bulma/sass + - source: sass/base + target: assets/bulma/sass/base + - source: sass/components + target: assets/bulma/sass/components + - source: sass/elements + target: assets/bulma/sass/elements + - source: sass/form + target: assets/bulma/sass/form + - source: sass/grid + target: assets/bulma/sass/grid + - source: sass/helpers + target: assets/bulma/sass/helpers + - source: sass/layout + target: assets/bulma/sass/layout + - source: sass/utilities + target: assets/bulma/sass/utilities diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index b8e6823c..9b81fb26 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -1,7 +1,8 @@ baseURL: http://something-fresh.org/ languageCode: en-us title: Hugo Fresh Theme -theme: hugo-fresh +# theme: hugo-fresh +theme: github.com/StefMa/hugo-fresh googleAnalytics: # Put in your tracking code without quotes like this: UA-XXXXXX... # Disables warnings disableKinds: diff --git a/exampleSite/go.mod b/exampleSite/go.mod new file mode 100644 index 00000000..17b40510 --- /dev/null +++ b/exampleSite/go.mod @@ -0,0 +1,7 @@ +module github.com/StefMa/hugo-fresh/exampleSite + +go 1.12 + +replace github.com/StefMa/hugo-fresh => ../ + +require github.com/StefMa/hugo-fresh v0.0.0-20220303155657-8a3fe0559acf // indirect diff --git a/exampleSite/go.sum b/exampleSite/go.sum new file mode 100644 index 00000000..253e311b --- /dev/null +++ b/exampleSite/go.sum @@ -0,0 +1,3 @@ +github.com/StefMa/hugo-fresh v0.0.0-20220303155657-8a3fe0559acf h1:TO5yCImzeAKlFbIbAvvaN4s1mP45RV4NMoCuXe6zve8= +github.com/StefMa/hugo-fresh v0.0.0-20220303155657-8a3fe0559acf/go.mod h1:0kyrjS5vdFJ47D7bPs6JwXTkctiMaQbToeBaOQsw1Tw= +github.com/jgthms/bulma v0.0.0-20220508134905-3e00a8e6d0d0/go.mod h1:89FLBKXYFKfOKAoDeUT26V0pHGwzr205cMXAEqtAVOI= diff --git a/go.mod b/go.mod new file mode 100644 index 00000000..1ac62497 --- /dev/null +++ b/go.mod @@ -0,0 +1,5 @@ +module github.com/StefMa/hugo-fresh + +go 1.12 + +require github.com/jgthms/bulma v0.0.0-20220508134905-3e00a8e6d0d0 // indirect diff --git a/go.sum b/go.sum new file mode 100644 index 00000000..d3f1dbb8 --- /dev/null +++ b/go.sum @@ -0,0 +1,2 @@ +github.com/jgthms/bulma v0.0.0-20220508134905-3e00a8e6d0d0 h1:d61c8CjPFq6aGikBXMepfewc8/3IbrTCiC1xHcMcvHI= +github.com/jgthms/bulma v0.0.0-20220508134905-3e00a8e6d0d0/go.mod h1:89FLBKXYFKfOKAoDeUT26V0pHGwzr205cMXAEqtAVOI=