aboutsummaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2021-10-15 20:53:06 -0400
committerPaul Duncan <pabs@pablotron.org>2021-10-15 20:53:06 -0400
commitc0f56c927e95fc07a609ccad77210a9aa17cd369 (patch)
tree85b65ff93d66c44026e4ef8f64eb1c5527023a68 /themes
parentbc13df6c200ad4e7bafd8249707bc4cdef60e297 (diff)
downloadpablotron.org-c0f56c927e95fc07a609ccad77210a9aa17cd369.tar.bz2
pablotron.org-c0f56c927e95fc07a609ccad77210a9aa17cd369.zip
add articles archetype
Diffstat (limited to 'themes')
-rw-r--r--themes/hugo-pt2021/archetypes/articles.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/themes/hugo-pt2021/archetypes/articles.md b/themes/hugo-pt2021/archetypes/articles.md
new file mode 100644
index 0000000..6229a7c
--- /dev/null
+++ b/themes/hugo-pt2021/archetypes/articles.md
@@ -0,0 +1,11 @@
+---
+slug: {{.Name}}
+title: "{{ replace .Name "-" " " | title }}"
+
+# draft articles are not visible on live site
+draft: true
+
+# show on articles page
+show: true
+---
+Content of {{.Name}}...