Files
George Cushen aa9edea5df feat(slides): add persistent branding with per-slide visibility control
- Add branding overlays: logo, title, author, and footer text
- Use Reveal.js theme CSS variables for automatic color adaptation
- Inline SVGs for currentColor support on any theme
- Per-slide control via HTML comments:
  - <!-- no-branding -->: hide all elements
  - <!-- no-header -->: hide logo + title
  - <!-- no-footer -->: hide author + footer
- Fix body-level CSS selectors for proper visibility
- Add comprehensive documentation in example slides
2026-01-13 15:36:32 +00:00

23 lines
625 B
HTML

{{/*
Example Slide Body-End Hook
This hook allows injecting custom JavaScript at the end of the <body>
tag, after Reveal.js has been loaded. Useful for:
- Custom Reveal.js plugins
- Analytics tracking on slide changes
- Custom keyboard shortcuts
- Integration with other JS libraries
To use this hook, create a file at:
layouts/_partials/hooks/slide-body-end/your-custom-script.html
*/}}
{{/* Uncomment below to track slide changes with console logging */}}
{{/*
<script>
Reveal.on('slidechanged', event => {
console.log('Slide changed to:', event.indexh, event.indexv);
});
</script>
*/}}