First, to access a custom field in front matter you need to do:
{{ .Params.redirectURL }}
Second, this sounds a bit like “cloaked” or “affiliate” links, so this might be useful:
https://discourse.gohugo.io/t/link-cloaker-option-with-hugo/38231
First, to access a custom field in front matter you need to do:
{{ .Params.redirectURL }}
Second, this sounds a bit like “cloaked” or “affiliate” links, so this might be useful:
https://discourse.gohugo.io/t/link-cloaker-option-with-hugo/38231