website/themes/LoveIt/layouts/partials/function/path.html

4 lines
140 B
HTML
Raw Permalink Normal View History

2022-12-01 17:30:08 +01:00
{{- /* https://discourse.gohugo.io/t/how-decode-urls-in-hugo/7549/4 */ -}}
{{- $URL := . | urlize | urls.Parse -}}
{{- return $URL.Path -}}