Have got site creation working
This commit is contained in:
parent
4ecc12f035
commit
f8e7ea482b
15 changed files with 281 additions and 11 deletions
5
providers/hugo/tmpls/config.toml.tmpl
Normal file
5
providers/hugo/tmpls/config.toml.tmpl
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
baseURL = {{.Site.URL | printf "%q"}}
|
||||
languageCode = 'en-us'
|
||||
title = {{.Site.Title | printf "%q"}}
|
||||
|
||||
theme = {{.Site.Theme | printf "%q"}}
|
||||
6
providers/hugo/tmpls/fs.go
Normal file
6
providers/hugo/tmpls/fs.go
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
package tmpls
|
||||
|
||||
import "embed"
|
||||
|
||||
//go:embed *.tmpl
|
||||
var FS embed.FS
|
||||
Loading…
Add table
Add a link
Reference in a new issue