-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
document use of multiple themes #79
Comments
That would be great, indeed. Unfortunately, that would require to have more than one theme at a time (one for default content and another one for either a specific content type or through content's metadata) and AFAIK, hugo does not support that feature (yet). |
In fact hat is not fully true, hugo allows you to specify a list of themes as |
@ssbarnea Check out the docs here: https://github.com/dzello/reveal-hugo#add-a-revealjs-presentation-to-an-existing-hugo-site These were written a while ago (probably before Hugo had multiple themes) so it might be out of date. Happy to see what the delta is and get it updated, I would like to support this use case. |
Hi, just to let you know that I'm currently using the Academic theme which has integrated the reveal.js presentation into its theme. It is pretty much the same afaik. Here's the demo presentation you can find on this page. Vertical slides weren't enabled and I simply pasted reveal-hugo section.html shortcode, and everything has been working fine so far. If you look into this theme, you'll get how to implement it in your own theme. |
I found this document that explains how to have multiple themes in a Hugo site. Best regards, |
I think that it would worth documenting a solution for creating presentations for people that already have a site using hugo.
For example, I have website using another theme, one aimed for blogs or personal websites but I do want to also publish some reveal presentations as part of my website.
These would likely fit well under a custom archetype named
slide
orpresentation
but so far I was unable to make the theming work as I was not able to keep my website theme and still be able to produce the reveal presentations.Even pointing to an existing implementation would count as a valid documentation for this use case.
At this moment the only solution I know would be to create multiple sites, which is clearly creating additional maintenance issues.
The text was updated successfully, but these errors were encountered: