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

github.com/xianmin/hugo-theme-jane.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren J. de Lima <darren.delima@yahoo.co.uk>2022-07-01 13:46:18 +0300
committerDarren J. de Lima <darren.delima@yahoo.co.uk>2022-07-01 13:46:18 +0300
commitc13f35738af9fa2ff4a17fb11917e5d9c1224425 (patch)
tree479beebb89d8269cdaf80d3724614288066a1c13
parent58d2cfc20cbe53fb3b1edf9fb622b8722e7519a4 (diff)
Add more to default templates
-rw-r--r--archetypes/default.md8
-rw-r--r--archetypes/post.md31
2 files changed, 39 insertions, 0 deletions
diff --git a/archetypes/default.md b/archetypes/default.md
index dd9dc12..4eb707b 100644
--- a/archetypes/default.md
+++ b/archetypes/default.md
@@ -9,6 +9,8 @@ tags: []
categories: []
author: ""
+# Uncomment to pin article to front page
+# weight: 1
# You can also close(false) or open(true) something for this content.
# P.S. comment can only be closed
comment: false
@@ -18,6 +20,12 @@ autoCollapseToc: false
contentCopyright: false
reward: false
mathjax: false
+
+# Uncomment to add to the homepage's dropdown menu; weight = order of article
+# menu:
+# main:
+# parent: "docs"
+# weight: 1
---
<!--more-->
diff --git a/archetypes/post.md b/archetypes/post.md
new file mode 100644
index 0000000..4eb707b
--- /dev/null
+++ b/archetypes/post.md
@@ -0,0 +1,31 @@
+---
+title: "{{ replace .TranslationBaseName "-" " " | title }}"
+date: {{ .Date }}
+lastmod: {{ .Date }}
+draft: true
+keywords: []
+description: ""
+tags: []
+categories: []
+author: ""
+
+# Uncomment to pin article to front page
+# weight: 1
+# You can also close(false) or open(true) something for this content.
+# P.S. comment can only be closed
+comment: false
+toc: false
+autoCollapseToc: false
+# You can also define another contentCopyright. e.g. contentCopyright: "This is another copyright."
+contentCopyright: false
+reward: false
+mathjax: false
+
+# Uncomment to add to the homepage's dropdown menu; weight = order of article
+# menu:
+# main:
+# parent: "docs"
+# weight: 1
+---
+
+<!--more-->