From f4306f0c987d634536e315859846fab2e770f80a Mon Sep 17 00:00:00 2001 From: Jason Date: Fri, 27 Sep 2019 20:18:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- archetypes/default.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/archetypes/default.md b/archetypes/default.md index df56f14..01a9bf1 100755 --- a/archetypes/default.md +++ b/archetypes/default.md @@ -5,3 +5,7 @@ tags = [] featured_image = "" description = "" +++ + ++++ +slug: {{ substr (md5 (printf "%s%s" .Date (replace .TranslationBaseName "-" " " | title))) 4 8 }} ++++ \ No newline at end of file