Initial commit
This commit is contained in:
3
themes/keepit/layouts/partials/function/path.html
Normal file
3
themes/keepit/layouts/partials/function/path.html
Normal file
@@ -0,0 +1,3 @@
|
||||
{{- /* https://discourse.gohugo.io/t/how-decode-urls-in-hugo/7549/4 */ -}}
|
||||
{{- $URL := . | urlize | urls.Parse -}}
|
||||
{{- return $URL.Path -}}
|
||||
Reference in New Issue
Block a user