Learn • Think • Design • Code

February 18, 2020

Adjusting Hugo Internal Twitter Card Template

Hugo provides many functions and templates, which is very nice. But sometimes your site configuration might not be compatible with the Hugo standard / assumptions. This is my case recently, Hugo internal template for twitter cards has produced wrong URL. This is a short documentation for what I’ve done to make it work.