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