From b4682116de2904544fafb2e32371352aa898b583 Mon Sep 17 00:00:00 2001 From: Henk Verlinde Date: Thu, 7 Jul 2022 10:27:42 +0200 Subject: [PATCH] dx: make identifier unique --- archetypes/docs.md | 2 +- archetypes/docs/lorem/ipsum/index.md | 2 +- 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 ---