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:
authorHenk Verlinde <henk@ventizo.com>2022-07-07 11:27:42 +0300
committerHenk Verlinde <henk@ventizo.com>2022-07-07 11:27:42 +0300
commitb4682116de2904544fafb2e32371352aa898b583 (patch)
treed5e9bb9757694b0dc5474e1269a54ca1b04bb5ba
parent876ad1ccc992ebfce224fdac25e0470066187fd8 (diff)
dx: make identifier unique
-rw-r--r--archetypes/docs.md2
-rw-r--r--archetypes/docs/lorem/ipsum/index.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/archetypes/docs.md b/archetypes/docs.md
index 32a551c..8089a43 100644
--- a/archetypes/docs.md
+++ b/archetypes/docs.md
@@ -9,7 +9,7 @@ images: []
menu:
docs:
parent: ""
- identifier: "{{ .Name }}"
+ identifier: "{{ .Name }}-{{ delimit (shuffle (split (md5 .Name) "" )) "" }}"
weight: 999
toc: true
---
diff --git a/archetypes/docs/lorem/ipsum/index.md b/archetypes/docs/lorem/ipsum/index.md
index e181d05..6264981 100644
--- a/archetypes/docs/lorem/ipsum/index.md
+++ b/archetypes/docs/lorem/ipsum/index.md
@@ -10,7 +10,7 @@ type: docs
menu:
{{ .Section }}:
parent: "lorem"
- identifier: "{{ .Name }}"
+ identifier: "{{ .Name }}-{{ delimit (shuffle (split (md5 .Name) "" )) "" }}"
weight: 100
toc: true
---