From 43b0708769eb61392050045b881f8e6ba39c5b66 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Fri, 26 May 2023 00:40:40 +0200 Subject: Massive update to posts, archetypes Added a archetypes for creating notes and posts so it auto-populates fields. Fixed existing posts so they align with the rule of 80 columns now. --- archetypes/notes.md | 11 +++++++++++ archetypes/posts.md | 9 +++++++++ 2 files changed, 20 insertions(+) create mode 100644 archetypes/notes.md create mode 100644 archetypes/posts.md (limited to 'archetypes') diff --git a/archetypes/notes.md b/archetypes/notes.md new file mode 100644 index 0000000..9f13d6d --- /dev/null +++ b/archetypes/notes.md @@ -0,0 +1,11 @@ +--- +title: "{{ replace .Name "-" " " | title }}" +url: {{ .Name }}.html +date: {{ .Date }} +type: notes +draft: true +tags: [] +--- + +Start here ... + diff --git a/archetypes/posts.md b/archetypes/posts.md new file mode 100644 index 0000000..b9dad61 --- /dev/null +++ b/archetypes/posts.md @@ -0,0 +1,9 @@ +--- +title: "{{ replace .Name "-" " " | title }}" +url: new-post.html +date: {{ .Date }} +draft: true +--- + +Start here ... + -- cgit v1.2.3