I need to embed my presentations on a Hugo (0.66) site. However the builtin Speakerdeck support was removed in 0.42 https://github.com/gohugoio/hugo/issues/4830
What is the best way to proceed ?
- Work with a custom Hugo build, in which I’ll have to apply a patch on each release to support the feature ? Seems no-so-practical
- Add a frontmatter key which the site them will know to fetch and generate the script tag if found ? That’s what I did in the short term, but it’s not very convenient.
- Pass the whole content through
safeJS? Seems dangerous.
- Submit a new version of the Speakerdeck shortcode addressing the issues in #4830 ?