Lev Lazinskiy

Raw Html Omitted in Hugo

| Web | Hugo |

I am still new to hugo and learning all the kinks. A couple days ago I found my old blog from 2008-2012 and fell into a nostalgia hole. Now I am trying to migrate and consolidate everything over to here to make the “one blog to rule them all”.

One thing that is different in hugo compared to some of the other static site generators that I have used is that it does not allow raw HTML in markdown files. I found some various posts on how to get this working properly, but I found one simple approach to be to write those posts in html instead. This has allowed me to embed youtube videos into my old posts like this.

The officially recommended method is to add this to your hugo.toml file:

[markup.goldmark.renderer]
unsafe= true

Something about adding unsafe=true feels wrong to me though. Weather or not the world needs an archive of my early 20s musings is a whole other matter that I’ll save for another post.

Articles from blogs I follow around the net

Happy Perfect Date!

via Life Is Such A Sweet Insanity. April 26, 2024

Design Systems Smashing Magazine Discussion, April 2024

I had a fantastic time chatting with a group of design system wizards,  Nathan Curtis and Ben Callahan. Geoff Graham did a great job facilitating the conversation, and we covered a lot of ground!

via Blog – Brad Frost April 25, 2024

Pluralistic: Antitrust is a labor issue (25 Apr 2024)

Today's links Antitrust is a labor issue: Banning noncompetes is huge, but it's not all the FTC is doing! Hey look at this: Delights to delectate. This day in history: 2009, 2014, 2019, 2023 Upcoming appearances: Where to find me. Recent appearanc…

via Pluralistic: Daily links from Cory Doctorow April 25, 2024

Generated by openring