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