Basically, when you insert urls dynamically with the Hugo template system, only http:, https: and mailto: are considered safe (see this page in the documentation for better context).
The solution is just to give the .url parameter to the safeURL function.
Basically, when you insert urls dynamically with the Hugo template system, only
http:
,https:
andmailto:
are considered safe (see this page in the documentation for better context).The solution is just to give the
.url
parameter to thesafeURL
function.The issue is introduced in #170.