init hugo, update readme and gitignore
This commit is contained in:
parent
00eb8b8eb9
commit
920a5dbbc6
5 changed files with 37 additions and 1 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -145,3 +145,5 @@ dist
|
||||||
.yarn/install-state.gz
|
.yarn/install-state.gz
|
||||||
.pnp.*
|
.pnp.*
|
||||||
|
|
||||||
|
package.json
|
||||||
|
package-lock.json
|
15
.prettierrc
Normal file
15
.prettierrc
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
{
|
||||||
|
"plugins": [
|
||||||
|
"prettier-plugin-go-template"
|
||||||
|
],
|
||||||
|
"overrides": [
|
||||||
|
{
|
||||||
|
"files": [
|
||||||
|
"*.html"
|
||||||
|
],
|
||||||
|
"options": {
|
||||||
|
"parser": "go-template"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
13
README.md
13
README.md
|
@ -1,3 +1,14 @@
|
||||||
# gallowelds.com
|
# 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
5
archetypes/default.md
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
+++
|
||||||
|
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
|
||||||
|
date = {{ .Date }}
|
||||||
|
draft = true
|
||||||
|
+++
|
3
hugo.toml
Normal file
3
hugo.toml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
baseURL = 'https://example.org/'
|
||||||
|
languageCode = 'en-us'
|
||||||
|
title = 'My New Hugo Site'
|
Loading…
Add table
Reference in a new issue