How to add reveal.js slides to site?

I have a Hugo site for my blog, but I would also like to host my reveal.js slides on my site. I already have the HTML generated, I’m just not sure where to put it.

The reveal.js doc places this JavaScript code just before the </body> tag:

<script src="js/reveal.js"></script>
<script>
    Reveal.initialize();
</script>

You probably need to edit the foot.html or footer.html file from your theme’s layouts/ folder to add that code.

There is Howto: Embed remarkjs.com slides in Hugo, linked to from Integration with reveal.js to present slides. Please use the search. :slight_smile: