Files
blog/layouts/shortcodes/staticRef.html
Hannes Körber 7411bfccbd
Some checks failed
continuous-integration/drone/push Build is failing
Initial commit.
2023-10-12 17:32:50 +02:00

6 lines
202 B
HTML

{{- .Scratch.Set "path" (.Get 0) -}}
{{- if hasPrefix (.Scratch.Get "path") "/" -}}
{{- .Scratch.Set "path" (slicestr (.Scratch.Get "path") 1) -}}
{{- end -}}
{{- .Scratch.Get "path" | absLangURL -}}