2023-11-02 06:32:10

This commit is contained in:
z17CX 2023-11-02 06:32:10 +00:00
parent 5011c3dbe2
commit d471ec7066
Signed by: z17cx
GPG key ID: 3F5F87C84EE943E4

View file

@ -2,6 +2,7 @@
{{- $uuid := (.Get 0) -}}
{{- $text := (.Get 1) -}}
{{- range (site.Pages.ByParam "uuid") -}}
{{- if (eq (.Param "uuid") $uuid) -}}
<span class="shortcode shortcode-{{ ($.Name) }}"><a href="{{ (.RelPermalink) }}">{{ (($text) | default (.Title)) }}</a></span>