aboutsummaryrefslogtreecommitdiff
path: root/archetypes
diff options
context:
space:
mode:
authorNicholas Johnson <nick@nicksphere.ch>2022-04-28 00:00:00 +0000
committerNicholas Johnson <nick@nicksphere.ch>2022-04-28 00:00:00 +0000
commitb1efd00585f84abc397a040852b67c31d36d177d44367a7581afd3e4389b6fd2 (patch)
tree20ff16d4b8db72a0f387faf722fc1534440678d8cd6663111ec052bde04718d4 /archetypes
downloadhugo-theme-journal-b1efd00585f84abc397a040852b67c31d36d177d44367a7581afd3e4389b6fd2.tar.gz
hugo-theme-journal-b1efd00585f84abc397a040852b67c31d36d177d44367a7581afd3e4389b6fd2.zip
Initial commit
Diffstat (limited to 'archetypes')
-rw-r--r--archetypes/default.md5
-rw-r--r--archetypes/posts.md6
2 files changed, 11 insertions, 0 deletions
diff --git a/archetypes/default.md b/archetypes/default.md
new file mode 100644
index 0000000..6a08b27
--- /dev/null
+++ b/archetypes/default.md
@@ -0,0 +1,5 @@
+---
+title: "{{ replace .Name "-" " " | title }}"
+draft: true
+---
+
diff --git a/archetypes/posts.md b/archetypes/posts.md
new file mode 100644
index 0000000..46d491a
--- /dev/null
+++ b/archetypes/posts.md
@@ -0,0 +1,6 @@
+---
+title: "{{ replace .Name "-" " " | title }}"
+date: {{ dateFormat "2006-01-02T00:00:00" .Date }}
+draft: true
+---
+