Configuration Fix - 2025-11-13
Issue
The presentation prototype button was not visible and the presentation page was not being generated.
Root Cause
YAML syntax error in _config.yml at line 213. The presentations default scope was incorrectly indented as a child of the previous scope’s values: block instead of being a sibling scope at the same level as other default scopes.
Before (Incorrect):
defaults:
-
scope:
path: "" # all files
values:
layout: "page"
show-avatar: true
- # ← Wrong indentation!
scope:
path: ""
type: "presentations"
After (Correct):
defaults:
-
scope:
path: "" # all files
values:
layout: "page"
show-avatar: true
- # ← Correct indentation
scope:
path: ""
type: "presentations"
Fix Applied
Fixed the indentation of the presentations default scope in _config.yml to be at the correct YAML level (as a sibling list item in the defaults array, not nested under the previous scope’s values).
Verification
- ✅ YAML syntax validated with Python’s yaml parser
- ✅ All presentation infrastructure files exist:
_layouts/reveal.html_includes/presentation/head.html_includes/presentation/navbar.html_includes/presentation/scripts.htmlcss/presentations.css
- ✅ Prototype presentation exists:
_presentations/standardization-prototype.html - ✅ Button code present in
index.html(lines 41-50) - ✅ Logo file exists:
img/centraal_logo_blanco.png - ✅ Collection configured in
_config.yml
Expected Result
When Jekyll builds the site:
- The
presentationscollection will be properly processed - The prototype presentation will be generated at
/presentations/standardization-prototype/ - The button on the homepage will link to the working presentation
- The presentation will use the
reveallayout with all configured plugins and navigation chrome
Testing Recommendation
- Build the site with
bundle exec jekyll serveordocker-compose up - Visit the homepage and verify the blue button appears
- Click the button to navigate to
/presentations/standardization-prototype/ - Verify the presentation loads with navigation chrome (back button, debug link, logo)