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

Pluralistic: Even if you think AI search could be good, it won't be good (15 May 2024)

Today's links Even if you think AI search could be good, it won't be good: It's just too goddamned easy to cheat. Hey look at this: Delights to delectate. This day in history: 2004, 2009, 2014, 2019, 2023 Upcoming appearances: Where to find me…

via Pluralistic: Daily links from Cory Doctorow May 15, 2024

My Podcast History

How I got started listening to podcasts

via Robb Knight • Posts • Atom Feed May 15, 2024

Managing Energy.

OriginalMacGuy Jim Eager wrote an excellent blog entry about Introverts (hi!) and their need to carefully manage their energy. You can read the blog post here....

via Life Is Such A Sweet Insanity. May 14, 2024

Generated by openring