hugo-theme-mofo

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

commit 57da91aef0467f08b4059b75b146b1ca11d3298f
parent 42cf69f12ab1d4f954adefc165284f23df9e4e7b
Author: Chris Bracken <chris@bracken.jp>
Date:   Sun, 17 Feb 2019 16:21:36 -0800

Update the default archetype, add post archetype

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

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