First of all: Josh, thank you for your efforts on this wonderful theme. 🤝 Having slides in Markdown/HUGO is a dream...
Background of my question
I am glad to have found this discussion about slides in branches. I learned from it and I have now a related question to that:
The use case of @solrayc was to have the presentation directly in the leaf bundle file index.md.
(instead of _index.md because he wanted to have the slides be listes in a top-level list page.)
My Question
Would it be possible that the index.md contains content for a web page,
and another fileslides.md in the same folder gets rendered separately for corresponding slides?
I would then simply use a shortcode {{% slides %}} to render a hyperlink to the slides.
What I did
I am arranging course material in a HUGO site and for this, and having content and slides together would be awesome:
lesson1-introduction
├── index.md # web content, including hyperlink to the slides ==> /lesson1-introduction
└── slides.md # slide content ==> /lesson1-intoduction/slides
Regardless of the layout type, in neither case I get HTML rendered for the slides:
The nice thing would be that within a bundle, both the slides and the web page could access the same resources (=images).
I hope that my goal is described clearly enough - thanks a lot in advance for any help!
@simonmeggle Thanks for the kind words, glad you're getting good use out of the library! It might be a few days but I'll read through the description and let you know what I think 🙏
First of all: Josh, thank you for your efforts on this wonderful theme. 🤝 Having slides in Markdown/HUGO is a dream...
Background of my question
I am glad to have found this discussion about slides in branches. I learned from it and I have now a related question to that:
The use case of @solrayc was to have the presentation directly in the leaf bundle file
index.md
. (instead of_index.md
because he wanted to have the slides be listes in a top-level list page.)My Question
Would it be possible that the index.md contains content for a web page, and another file
slides.md
in the same folder gets rendered separately for corresponding slides? I would then simply use a shortcode{{% slides %}}
to render a hyperlink to the slides.What I did
I am arranging course material in a HUGO site and for this, and having content and slides together would be awesome:
Regardless of the
layout
type, in neither case I get HTML rendered for the slides:The nice thing would be that within a bundle, both the slides and the web page could access the same resources (=images).
I hope that my goal is described clearly enough - thanks a lot in advance for any help!
Simon