init hugo, update readme and gitignore

This commit is contained in:
brooke 2024-05-17 14:43:24 -04:00
parent 00eb8b8eb9
commit 920a5dbbc6
5 changed files with 37 additions and 1 deletions

2
.gitignore vendored
View file

@ -145,3 +145,5 @@ dist
.yarn/install-state.gz
.pnp.*
package.json
package-lock.json

15
.prettierrc Normal file
View file

@ -0,0 +1,15 @@
{
"plugins": [
"prettier-plugin-go-template"
],
"overrides": [
{
"files": [
"*.html"
],
"options": {
"parser": "go-template"
}
}
]
}

View file

@ -1,3 +1,14 @@
# gallowelds.com
git repository for https://gallowelds.com/
```
git clone https://git.myco.systems/mycosystems/gallowelds.com.git
```
```
git submodule update --init --recursive
```
Optionally we recommend installing prettier, the prettierrc file is preconfigured to use the go template plugin.
```
npm install --save-dev prettier prettier-plugin-go-template
```

5
archetypes/default.md Normal file
View file

@ -0,0 +1,5 @@
+++
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
date = {{ .Date }}
draft = true
+++

3
hugo.toml Normal file
View file

@ -0,0 +1,3 @@
baseURL = 'https://example.org/'
languageCode = 'en-us'
title = 'My New Hugo Site'