From f46fcff28f243ea3957e01b82b959a5bf85ecbc7 Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Mon, 25 Apr 2022 23:42:40 +0200 Subject: git st --- archetypes/default.md | 15 +++++++++++++++ archetypes/poem.md | 9 +++++++++ layouts/partials/head.html | 2 +- 3 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 archetypes/default.md create mode 100644 archetypes/poem.md diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..3612ee8 --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,15 @@ +--- +title: "{{ replace .File.ContentBaseName "-" " " | title }}" +date: {{ .Date }} +draft: true +featured_image: "" +description: "" +rights: "" +author: "" +editor: "" +source: "" +tags: + - "" +toc: + - "" +--- diff --git a/archetypes/poem.md b/archetypes/poem.md new file mode 100644 index 0000000..a3daf21 --- /dev/null +++ b/archetypes/poem.md @@ -0,0 +1,9 @@ +--- +title: "{{ replace .File.ContentBaseName "-" " " | title }}" +date: {{ .Date }} +draft: true +type: poem +author: "" +editor: "" +source: "" +--- diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 4168a3d..866118e 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -27,7 +27,7 @@ {{- if .Params.editor }}{{ end }} - {{- if .Params.pub_date }}{{ end }} + {{- if .Params.date }}{{ end }} {{- if .Params.rights }}{{ end }} -- cgit v1.2.3