gohugoio / hugo

The world’s fastest framework for building websites.
https://gohugo.io
Apache License 2.0
75.71k stars 7.53k forks source link

Hope that url encode can support more protocol #9175

Closed makisevon closed 2 years ago

makisevon commented 2 years ago

reuixiy/hugo-theme-meme#353

pamubay commented 2 years ago

That's Go template default behaviour. You can use safeURL function to handle custom protocol on href attribute.

Check this safeURL docs.

Please close this issue, Thanks.

makisevon commented 2 years ago

It works! thx~

github-actions[bot] commented 2 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.