Add A Recently Played Music Page To Hugo

So I love it when people have a list of currently read music or recently watched movies or books and wanted to add something similar to this site. The only problem is Hugo is, by nature, a static website builder. There are a few options I could have used, from using javascript or embedding an iframe in the page to show that type of dynamic content but you don’t really get the benefit of SEO using those methods plus I was not a fan of how those options looked in the first place....

September 24, 2024 · Brent

Add HTML tags to Hugo Pages

So I wanted to add a few features to this site but in order to do so I found the easiest way was to directly embed HTML tags into the page. The only problem was Hugo will naturally ignore any HTML in posts/pages unless you do the following: Add a shortcode to your site It’s simple enough, just add a shortcode template in layouts/shortcodes/rawhtml.html with the following content: <!-- raw html --> {{....