website/themes/LoveIt/layouts/partials/function/path.html
2022-12-01 21:55:18 +01:00

3 lines
140 B
HTML

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