mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-11-14 02:52:42 +00:00
5 lines
202 B
HTML
5 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 -}}
|