summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--archetypes/default.md15
-rw-r--r--archetypes/poem.md9
-rw-r--r--layouts/partials/head.html2
3 files changed, 25 insertions, 1 deletions
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 @@
<meta property="dc:creator" content="{{ $author }}">
<meta property="dc:identifier" content="{{ .Permalink }}">
{{- if .Params.editor }}<meta property="dc:contributor" content="{{ .Params.editor }}">{{ end }}
- {{- if .Params.pub_date }}<meta property="dc:date" content="{{ .Params.pub_date }}">{{ end }}
+ {{- if .Params.date }}<meta property="dc:date" content="{{ .Params.date }}">{{ end }}
{{- if .Params.rights }}<meta property="dc:rights" content="{{ .Params.rights }}">{{ end }}
<meta property="dc:source" content="{{ if .Params.source }}{{ .Params.source }}{{ else }}{{ .Site.Title }}{{ end }}">