diff options
Diffstat (limited to 'assets/templates')
-rw-r--r-- | assets/templates/author.yaml | 16 | ||||
-rw-r--r-- | assets/templates/markdown-frontmatter.yaml | 5 |
2 files changed, 21 insertions, 0 deletions
diff --git a/assets/templates/author.yaml b/assets/templates/author.yaml new file mode 100644 index 0000000..0a0f458 --- /dev/null +++ b/assets/templates/author.yaml @@ -0,0 +1,16 @@ +--- +name: {{ .Name }} +user: {{ .User }} +blogtitle: {{ .Name }}'s Micro Blog +wordlimit: 50 +place: Nowhere +domain: + host: example.com + url: https://example.com +epoch: Just now +description: > + I am a nobody. Copy this [example configuration](/data/generates/authors/{{ .User }}.yaml) + to `data/{{ .User }}.yaml` and make me a somebody. +webring: + rss: + json: diff --git a/assets/templates/markdown-frontmatter.yaml b/assets/templates/markdown-frontmatter.yaml new file mode 100644 index 0000000..9d8e2a6 --- /dev/null +++ b/assets/templates/markdown-frontmatter.yaml @@ -0,0 +1,5 @@ +--- +{{ range $key, $value := . -}} +{{- $key }}: {{ $value }} +{{ end -}} +--- |