Team Qameta Hugo

Define Canonical URL in a Hugo Theme

Hugo is a Static site generator, but links to your site may contain optional parameters like ref=... which may produce duplicate content for search engines. You can use canonical URL to define, which URL should be used by Google and co.