mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-12-30 00:21:16 +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 -}}
|