#Hugo

Related posts

Canonical URL redirects for static sites

April 21, 2017

A canonical URL gives your website visitors consistency for bookmarks and copied links. Hosting your site on a static host like GitHub or GitLab Pages does not mean you are without redirects to a canonical URL, despite these hosts lacking server-side redirects. This post shows you how you can do it client-side with JavaScript.