Using a hugo shortcode to embed a YouTube video


I have a simple site set up using the starter hugo with netify CMS project. It works just fine. Now, I want to embed a youtube video in some of my content - for starters, let’s just say my home page (although I will want to do the same in the future for blog posts). I read about Hugo shortcodes, and the youtube shortcode seems like exactly what I want. However, when I put the shortcode into some text using the content manager (my site /admin - the netify CMS), it just renders as-is on the home page. Is there a way to do this simply?

Hi @john.stegeman :wave:t6: , and welcome to the Netlify forums!

It sounds like this is a question about Netlify CMS. Here’s where you might get more help: - the site houses our extensive documentation that likely contains helpful information to get you back on track.

netlify cms slack - join our friendly slack channel and chat with other cms pros to get the help you need.

GitHub Issues - think you’ve found a bug, or would like to make a feature request? Make your voice heard here. Netlify CMS is open source - PRs and other contributions are also welcome!

Stack Overflow Check StackOverflow for questions tagged “Netlify CMS” if you don’t get an answer in the Slack or the GH issues. StackOverflow reaches a worldwide audience of knowledgeable people.

Your question will be left open here for anyone to comment - but we encourage you to check out the above resources if you are still looking for a solution!