mirror of
https://github.com/idanoo/m2.nz.git
synced 2024-11-26 18:25:12 +00:00
4 lines
140 B
HTML
4 lines
140 B
HTML
|
{{- /* https://discourse.gohugo.io/t/how-decode-urls-in-hugo/7549/4 */ -}}
|
||
|
{{- $URL := . | urlize | urls.Parse -}}
|
||
|
{{- return $URL.Path -}}
|