hugo-theme-mofo

Minimal theme for Hugo
git clone https://git.bracken.jp/hugo-theme-mofo.git
Log | Files | Refs | LICENSE

commit d17f178209c73a37b024744d6c725c3000d70fea
parent 7e578090a03250016e91b31140bebb99519b4a5f
Author: Chris Bracken <chris@bracken.jp>
Date:   Fri, 24 May 2019 13:44:11 -0700

Use TOML for post/page front matter

Diffstat:
Marchetypes/default.md | 8++++----
Marchetypes/post.md | 12++++++------
2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/archetypes/default.md b/archetypes/default.md @@ -1,4 +1,4 @@ ---- -title: "{{ replace .Name "-" " " | title }}" -draft: true ---- ++++ +title = "{{ replace .Name "-" " " | title }}" +draft = true ++++ diff --git a/archetypes/post.md b/archetypes/post.md @@ -1,6 +1,6 @@ ---- -title: "{{ replaceRE "(?:\\d+-){3}" "" .Name | replaceRE "-" " " | title }}" -date: {{ .Date }} -tags: -draft: true ---- ++++ +title = "{{ replaceRE "(?:\\d+-){3}" "" .Name | replaceRE "-" " " | title }}" +date = "{{ .Date }}" +tags = [] +draft = true ++++