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

5 lines
212 B
HTML

{{- /* https://discourse.gohugo.io/t/how-decode-urls-in-hugo/7549/4 */ -}}
{{- /* https://github.com/hugo-fixit/FixIt/issues/245 */ -}}
{{- $URL := . | urlize | urlquery | urls.Parse -}}
{{- return $URL.Path -}}