commit 9964a5695d533eb790e21ce6dda240ae0a82d51f Author: Jake Howard Date: Tue Apr 18 21:19:53 2023 +0100 Init something with modules diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b2f2c39 --- /dev/null +++ b/.gitignore @@ -0,0 +1,20 @@ +# Created by https://www.toptal.com/developers/gitignore/api/hugo +# Edit at https://www.toptal.com/developers/gitignore?templates=hugo + +### Hugo ### +# Generated files by hugo +/public/ +/resources/_gen/ +/assets/jsconfig.json +hugo_stats.json + +# Executable may be added to repository +hugo.exe +hugo.darwin +hugo.linux + +# Temporary lock file while building +/.hugo_build.lock + +# End of https://www.toptal.com/developers/gitignore/api/hugo + diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..00e77bd --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,6 @@ +--- +title: "{{ replace .Name "-" " " | title }}" +date: {{ .Date }} +draft: true +--- + diff --git a/config.yml b/config.yml new file mode 100644 index 0000000..70271eb --- /dev/null +++ b/config.yml @@ -0,0 +1,10 @@ +baseURL: http://example.org/ +languageCode: en-us +title: My New Hugo Site + +module: + imports: + - path: github.com/jgthms/bulma + mounts: + - source: css + target: static/css diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..831bb5a --- /dev/null +++ b/go.mod @@ -0,0 +1,5 @@ +module github.com/realorangeone/hugo-modules-testing + +go 1.20 + +require github.com/jgthms/bulma v0.0.0-20230406083135-40850b15d916 // indirect diff --git a/go.sum b/go.sum new file mode 100644 index 0000000..29143d3 --- /dev/null +++ b/go.sum @@ -0,0 +1,2 @@ +github.com/jgthms/bulma v0.0.0-20230406083135-40850b15d916 h1:VKF50vU6x5mci2RULox7qP9bIxeOO9NTkIB5p27Twyo= +github.com/jgthms/bulma v0.0.0-20230406083135-40850b15d916/go.mod h1:89FLBKXYFKfOKAoDeUT26V0pHGwzr205cMXAEqtAVOI=