From b9d313ceba66eaa0b1eb4912033f4455a938f0cc Mon Sep 17 00:00:00 2001 From: KitsuneSolar Date: Sun, 29 Oct 2023 19:04:54 +0000 Subject: [PATCH] 2023-10-29 19:04:54 --- layouts/_default/_markup/render-codeblock-terminal.html | 2 +- layouts/_default/_markup/render-codeblock.html | 2 +- layouts/partials/function/alert.html | 2 +- layouts/partials/module/node/tabs/info/meta.html | 2 +- layouts/taxonomy/terms.html | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/layouts/_default/_markup/render-codeblock-terminal.html b/layouts/_default/_markup/render-codeblock-terminal.html index 270245a..15ae9b4 100644 --- a/layouts/_default/_markup/render-codeblock-terminal.html +++ b/layouts/_default/_markup/render-codeblock-terminal.html @@ -33,7 +33,7 @@ {{ $inner := (.Inner) }} {{ $ordinal := (.Ordinal) }} -{{ $cp := (printf "clipboard-%s" (delimit (shuffle (seq 999)) "" | md5)) }} +{{ $cp := (printf "clipboard-%s" ((delimit (shuffle (seq 11 99)) "") | md5)) }}
{{ (i18n "meta") }}
{{ with (.Params.license) }} - {{ $id := (printf "modal-%s" (delimit (shuffle (seq 999)) "" | md5)) }} + {{ $id := (printf "modal-%s" ((delimit (shuffle (seq 11 99)) "") | md5)) }}
{{ (i18n "license") }}
diff --git a/layouts/taxonomy/terms.html b/layouts/taxonomy/terms.html index 1a13ea9..bad8dc5 100644 --- a/layouts/taxonomy/terms.html +++ b/layouts/taxonomy/terms.html @@ -11,7 +11,7 @@ {{ with (site.GetPage (printf "/%s/%s" ($type) ($name))) }} {{ $cfg := (index (site.Params.taxonomy) ($type)) }} {{ $size := ($cfg.cover.size) }} - {{ $email := ((.Params.email) | default (delimit (shuffle (seq 999)) "")) }} + {{ $email := ((.Params.email) | default ((delimit (shuffle (seq 11 99)) "") | md5)) }} {{ $icon_id := ((.Params.icon) | default ($cfg.cover.icon.name)) }} {{ $icon_size := ($cfg.cover.icon.size) }} {{ $avatar_id := (($email) | md5) }}