Implement 11ty training catalog with i18n and data-driven architecture - #1
Closed
LukasGrafTT with Copilot wants to merge 14 commits into
Closed
LukasGrafTT with Copilot wants to merge 14 commits into
LukasGrafTT with Copilot wants to merge 14 commits into
Conversation
Co-authored-by: LukasGrafTT <116341983+LukasGrafTT@users.noreply.github.com>
Co-authored-by: LukasGrafTT <116341983+LukasGrafTT@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add web catalog for company trainings
Implement 11ty training catalog with i18n and data-driven architecture
Nov 13, 2025
LukasGrafTT
had a problem deploying
to
github-pages
November 13, 2025 14:22 — with
GitHub Actions
Failure
LukasGrafTT
temporarily deployed
to
github-pages
November 13, 2025 14:24 — with
GitHub Actions
Inactive
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Built a multilingual training catalog website where trainings are managed through a single data file, support multiple categories, and include registration forms.
Architecture
Static generation: Eleventy 2.0.1 with Nunjucks templates generates 27 pages from 14 source files in ~0.14s
Data layer: Three JS modules define all content:
trainings.js- Single source of truth for all trainingscategories.js- Category definitions with i18ni18n.js- UI translations (en/de)URL structure:
Key Implementation
Single-file training addition:
→ Automatically generates:
Pagination-based generation: Uses 11ty's pagination feature to generate individual pages from data arrays without manual template duplication
Multi-category filtering: Custom Nunjucks filter
byCategoryenables trainings to appear on multiple category pagesForm Integration
Each training detail page includes a registration form:
UI
Homepage - Featured trainings + category grid:

Training detail - Full information + signup form:

Sample Content
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.