Hello,
I wanted to know what is the best way to make my hero banner dynamic on the home page.
I see three ways of achieving this :
1 - Using site params as seen here :
https://github.com/saey55/hugo-elate-theme/blob/master/layouts/partials/hero.html#L8-L9
2 - Just leave it in the html partial like hugo docs
3 - Or what I tried is add ./content/hero/hero.md and then used toml variables to add the content.
I saw a couple of times 2 being used in the themes, but I’m wondering why not use content