hugo’s template phone number gets rendered as a hash

Probably syntax should be: {{ .link | safeURL }}

https://gohugo.io/functions/safehtml/

https://gohugo.io/functions/safehtmlattr/#readout

https://gohugo.io/functions/safeurl/

https://gohugo.io/functions/urlize/#readout

This is intentional as the link is not being sanitized.
See docs on Go and the way elements are rendered.
Off the cuff and not near my station – one of the above will point you in the right direction.

Check it and let me know.

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top