aboutsummaryrefslogtreecommitdiff
path: root/archetypes
diff options
context:
space:
mode:
authorericmarin <maarin.eric@gmail.com>2026-04-20 14:06:38 +0200
committerericmarin <maarin.eric@gmail.com>2026-04-21 12:24:41 +0200
commitd29af7ee395555e628ee0f3def31c748394cc93b (patch)
tree001c5420dfcc1262d2a5be3980d12e9eb9994933 /archetypes
parent061585b540bae3c29a6c5b96c4616401cc7d5ed9 (diff)
downloadwww.ericmarin.dev-d29af7ee395555e628ee0f3def31c748394cc93b.tar.gz
www.ericmarin.dev-d29af7ee395555e628ee0f3def31c748394cc93b.zip
hugo!
Diffstat (limited to 'archetypes')
-rw-r--r--archetypes/default.md5
-rw-r--r--archetypes/til.md6
2 files changed, 11 insertions, 0 deletions
diff --git a/archetypes/default.md b/archetypes/default.md
new file mode 100644
index 0000000..25b6752
--- /dev/null
+++ b/archetypes/default.md
@@ -0,0 +1,5 @@
++++
+date = '{{ .Date }}'
+draft = true
+title = '{{ replace .File.ContentBaseName "-" " " | title }}'
++++
diff --git a/archetypes/til.md b/archetypes/til.md
new file mode 100644
index 0000000..d235b3c
--- /dev/null
+++ b/archetypes/til.md
@@ -0,0 +1,6 @@
++++
+title = "{{ replace .File.ContentBaseName "-" " " | title }}"
+date = {{ .Date }}
+draft = true
+categories = [ "TIL" ]
++++