Raw Html Omitted in 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.
Thank you for reading! Share your thoughts with me on mastodon or via email.
Check out some more stuff to read down below.
Most popular posts this month
- Dagger Feels Like Magic
- Now What?
- SQLite DB Migrations with PRAGMA user_version
- 20 Years of Ubuntu
- Types and Roles If Not Exists in PostgreSQL
Recent Favorite Blog Posts
This is a collection of the last 8 posts that I bookmarked.
- We don’t need to use what we make from Derek Sivers blog
- Ubuntu Summit 2024: A joyful experience filled with sorrow from Planet KDE | English
- Sabotage from jwz
- What if My Tribe Is Wrong? from Armin Ronacher's Thoughts and Writings
- It’s the “1998” of the AI Revolution. So Why Can I Safely Ignore It? from The Internet Review
- University & Adversity from Isaak.net
- War on Malaria from Isaak.net
- Serendipity from Armin Ronacher's Thoughts and Writings
Articles from blogs I follow around the net
Ozempic For Sleep
Thanks for key conversations & early feedback: Andrew Payne, Luke Piette, George Church, Michael Retchin, Flora Guo, Merrick Smela, Misha Yagudin, Tyler Cowen, Helena Rosengarten. My favorite family in the world — the Johnsons from Utah. Many of them c…
via Isaak.net November 11, 2024Navigations on the Web
When trying to define the difference between a link (<a>) and a button (<button>), a general rule of thumb is: links are for navigation, buttons are not. That can take you pretty far. However, like most things, there’s nuance and that mental mo…
via Jim Nielsen’s Blog November 11, 2024Too much therapy at work
Many years ago, Jason and I hired a COO at 37signals, but ended up letting them go after just a year (many reasons, another story). This happened not long before one of our company meet-ups, so we thought it fitting to discuss the matter in-person. What…
via David Heinemeier Hansson November 11, 2024Generated by openring