mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-14 06:17:20 +00:00
- 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
26 lines
730 B
HTML
26 lines
730 B
HTML
{{/*
|
|
Example Slide Head-End Hook
|
|
|
|
This hook allows injecting custom CSS or JavaScript into the <head>
|
|
section of the presentation. Useful for:
|
|
- Custom fonts
|
|
- Additional CSS frameworks
|
|
- Analytics scripts
|
|
- Custom Reveal.js configurations
|
|
|
|
To use this hook, create a file at:
|
|
layouts/_partials/hooks/slide-head-end/your-custom-head.html
|
|
*/}}
|
|
|
|
{{/* Uncomment below to add custom font */}}
|
|
{{/*
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
<link href="https://fonts.googleapis.com/css2?family=Fira+Code&display=swap" rel="stylesheet">
|
|
<style>
|
|
.reveal pre code {
|
|
font-family: 'Fira Code', monospace;
|
|
}
|
|
</style>
|
|
*/}}
|