Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/orf/bare-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Forbes <tom@tomforb.es>2019-09-22 22:37:51 +0300
committerTom Forbes <tom@tomforb.es>2019-09-22 22:37:51 +0300
commit089ed6f58528f7d012385ba2109af0e65f6950ea (patch)
tree6887f49684a8256d6385b760f31166a2dfa6b7f6 /archetypes
parentf17e2559d8791e7f37c1bbb7bf07a45d41a0ffad (diff)
Add a post archetype
Diffstat (limited to 'archetypes')
-rw-r--r--archetypes/default.md2
-rw-r--r--archetypes/posts.md6
2 files changed, 6 insertions, 2 deletions
diff --git a/archetypes/default.md b/archetypes/default.md
deleted file mode 100644
index ac36e06..0000000
--- a/archetypes/default.md
+++ /dev/null
@@ -1,2 +0,0 @@
-+++
-+++
diff --git a/archetypes/posts.md b/archetypes/posts.md
new file mode 100644
index 0000000..df5093b
--- /dev/null
+++ b/archetypes/posts.md
@@ -0,0 +1,6 @@
+---
+title: "{{ replace .Name "-" " " | title }}"
+date: {{ .Date }}
+draft: true
+tags: []
+---