Init something with modules
This commit is contained in:
commit
9964a5695d
|
@ -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
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
title: "{{ replace .Name "-" " " | title }}"
|
||||
date: {{ .Date }}
|
||||
draft: true
|
||||
---
|
||||
|
|
@ -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
|
|
@ -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
|
Loading…
Reference in New Issue