Init something with modules
This commit is contained in:
commit
9964a5695d
5 changed files with 43 additions and 0 deletions
20
.gitignore
vendored
Normal file
20
.gitignore
vendored
Normal file
|
@ -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
|
||||
|
6
archetypes/default.md
Normal file
6
archetypes/default.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
title: "{{ replace .Name "-" " " | title }}"
|
||||
date: {{ .Date }}
|
||||
draft: true
|
||||
---
|
||||
|
10
config.yml
Normal file
10
config.yml
Normal file
|
@ -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
|
5
go.mod
Normal file
5
go.mod
Normal file
|
@ -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
|
2
go.sum
Normal file
2
go.sum
Normal file
|
@ -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=
|
Loading…
Reference in a new issue