urldecode
The following examples pull from a content file with the following front matter:
content/blog/neohugo.md
+++
title = "A Forked of Hugo"
location = "กรุงเทพ ไทย"
+++
The following might be used as a partial within a single page template:
layouts/partials/content-header.html
<header>
<h1>{{.Title}}</h1>
{{ with .Params.location }}
<div><a href="/locations/{{ urldecode ( . | urlize) }}">{{.}}</a></div>
{{ end }}
</header>
The preceding partial would then output to the rendered page as follows, assuming the page is being built with Hugo’s default pretty URLs.
/blog/neohugo/index.html