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

github.com/h-enk/doks.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'content/docs/basic-hyas/archetypes.md')
-rw-r--r--content/docs/basic-hyas/archetypes.md53
1 files changed, 53 insertions, 0 deletions
diff --git a/content/docs/basic-hyas/archetypes.md b/content/docs/basic-hyas/archetypes.md
new file mode 100644
index 0000000..484ef3a
--- /dev/null
+++ b/content/docs/basic-hyas/archetypes.md
@@ -0,0 +1,53 @@
+---
+title: "Archetypes"
+description: ""
+lead: ""
+date: 2020-09-21T13:58:42+02:00
+lastmod: 2020-09-21T13:58:42+02:00
+draft: false
+images: []
+menu:
+ docs:
+ parent: "basic-hyas"
+weight: 130
+toc: true
+---
+
+```bash
+..
+├── blog.md
+└── default.md
+```
+
+See also the Hugo docs: [Archetypes](https://gohugo.io/content-management/archetypes/).
+
+## blog.md
+
+```md
+---
+title: "{{ replace .Name "-" " " | title }}"
+description: ""
+excerpt: ""
+date: {{ .Date }}
+lastmod: {{ .Date }}
+draft: true
+weight: 50
+images: ["{{ .Name | urlize }}.jpg"]
+categories: [""]
+---
+
+{{</* img src="{{ .Name | urlize }}.jpg" alt="{{ replace .Name "-" " " | title }}" caption="{{ replace .Name "-" " " | title }}" class="wide" */>}}
+```
+
+## default.md
+
+```md
+---
+title: "{{ replace .Name "-" " " | title }}"
+description: ""
+date: {{ .Date }}
+lastmod: {{ .Date }}
+draft: true
+images: []
+---
+```