<!-- This shortcode allows linking to static content.
The snippet was taken from https://github.com/gohugoio/hugo/issues/3732 -->
{{- .Scratch.Set "path" (.Get 0) -}}
{{- if hasPrefix (.Scratch.Get "path") "/" -}}
{{- .Scratch.Set "path" (slicestr (.Scratch.Get "path") 1) -}}
{{- .Scratch.Get "path" | absLangURL -}}