Files
FixIt/layouts/_partials/function/path.html
T

5 lines
194 B
HTML

{{- /* https://discourse.gohugo.io/t/how-decode-urls-in-hugo/7549/4 */ -}}
{{- $URL := partial "function/escapeurl.html" . -}}
{{- $URL = $URL | urlize | urls.Parse -}}
{{- return $URL.Path -}}