Initial theme scaffolding (v0.0.1)
- Bootstrap 5 CSS/JS integration via Yarn (served locally)
- Dart Sass build pipeline with PostCSS, Autoprefixer, cssnano
- Twig 3.0 via Composer with PSR-4 autoloading
- FSE block theme templates (index, home, single, page, archive, search, 404)
- Template parts (header, footer) and block patterns
- theme.json with Bootstrap 5-aligned design tokens
- Gitea CI/CD workflow for automated release packages
- WordPress i18n support (en_US base, de_CH translation)
Co-Authored-By: Claude <noreply@anthropic.com>
2026-02-08 02:25:33 +01:00
|
|
|
# Changelog
|
|
|
|
|
|
|
|
|
|
All notable changes to this project will be documented in this file.
|
|
|
|
|
|
2026-02-08 15:11:00 +01:00
|
|
|
## [0.1.1] - 2026-02-08
|
|
|
|
|
|
|
|
|
|
### Added
|
|
|
|
|
|
|
|
|
|
- Twig-based frontend rendering via `template_redirect` hook, bypassing FSE block markup on the frontend while preserving Site Editor functionality
|
|
|
|
|
- `TemplateController` class: resolves and renders Twig templates for all page types (home, single, page, archive, search, 404)
|
|
|
|
|
- `ContextBuilder` class: gathers WordPress data (posts, menus, pagination, comments, sidebar, archive info) into structured arrays for Twig
|
|
|
|
|
- `NavWalker` class: converts flat `wp_get_nav_menu_items()` into nested tree for Bootstrap dropdown menus
|
|
|
|
|
- 20 Twig templates with proper Bootstrap 5 HTML: base layout, 5 page templates, 9 partials (header, footer, pagination, sidebar, comments, search form, dark mode toggle, meta, post navigation), 3 components (post card, post grid card, post loop)
|
|
|
|
|
- Bootstrap 5 navbar with responsive collapse, brand, dropdown support, and dark mode toggle
|
|
|
|
|
- Bootstrap 5 card components for post listings
|
|
|
|
|
- Bootstrap 5 pagination component
|
|
|
|
|
- Bootstrap 5 comment section with threaded replies and Bootstrap-styled form fields
|
|
|
|
|
- Bootstrap 5 sidebar with recent posts, search, and tag cloud (badges)
|
|
|
|
|
- Previous/next post navigation and "More posts" grid on single posts
|
|
|
|
|
- WordPress functions in Twig: `wp_head`, `wp_footer`, `wp_body_open`, `language_attributes`, `body_class`, `home_url`, `get_bloginfo`, `get_search_query`, `wp_kses_post`, `number_format_i18n`, `_n`
|
|
|
|
|
- Twig globals: `site_name`, `site_description`, `site_url`, `theme_uri`, `charset`, `current_year`
|
|
|
|
|
- Twig filters: `wpautop`, `wp_kses_post`
|
|
|
|
|
- `primary` and `footer` navigation menu locations
|
|
|
|
|
- Comment form fields filter for Bootstrap classes (`form-control`, `form-label`, `form-check`, `btn`)
|
|
|
|
|
- Fallback menu from published pages when no menu is assigned
|
|
|
|
|
- Sidebar layout detection for "Blog with Sidebar" template
|
|
|
|
|
- README.md with project documentation
|
|
|
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
|
|
|
|
|
- Enhanced `TwigService` with WordPress output-buffering functions, globals, and filters
|
|
|
|
|
|
v0.1.0 - Core Theme: patterns, dark mode, block styles, style variations
- Add 16 block patterns across 7 new categories (hero, features, CTA,
testimonials, pricing, contact, text)
- Add dark mode toggle with localStorage persistence and system preference
detection (Bootstrap 5.3 data-bs-theme)
- Register 17 custom block styles mapping Bootstrap components to WordPress
blocks (cards, alerts, tables, buttons, etc.)
- Add 4 style variations: Ocean, Forest, Sunset, Midnight
- Add sidebar template part and "Blog with Sidebar" custom template
- Add Inter and Lora variable fonts with fontFace declarations
- Add Display font size (fluid 2.5rem-3.5rem)
- Update translations (en_US .pot, de_CH .po) with all new strings
- Bump version to 0.1.0
Co-Authored-By: Claude <noreply@anthropic.com>
2026-02-08 03:07:16 +01:00
|
|
|
## [0.1.0] - 2026-02-08
|
|
|
|
|
|
|
|
|
|
### Added
|
|
|
|
|
|
|
|
|
|
- Dark mode toggle with Bootstrap 5.3 `data-bs-theme` attribute, localStorage persistence, and `prefers-color-scheme` support
|
|
|
|
|
- 16 new block patterns: hero (cover, split, centered), features (3-col, icon list, 2-col offset), CTA (banner, newsletter), testimonials (2-col, centered), pricing (3-col), contact info, FAQ, about section, sidebar, dark mode toggle
|
|
|
|
|
- 17 custom block styles: cards (2), alerts (4), table variants (3), quote accent, image effects (2), button sizes (2), list styles (2), separator wide
|
|
|
|
|
- 4 style variations (color schemes): Ocean, Forest, Sunset, Midnight
|
|
|
|
|
- Sidebar template part with recent posts, search, and tag cloud
|
|
|
|
|
- "Blog with Sidebar" custom page template
|
|
|
|
|
- Inter (sans-serif) and Lora (serif) variable web fonts
|
|
|
|
|
- "Display" font size for hero headings
|
|
|
|
|
- 7 new pattern categories: hero, CTA, features, testimonials, pricing, contact, text
|
|
|
|
|
- Dark mode overrides for alert and card block styles in SCSS
|
|
|
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
|
|
|
|
|
- Header pattern now includes dark mode toggle button
|
|
|
|
|
- Build pipeline adds theme JS copy step (`copy:theme-js`)
|
|
|
|
|
|
Initial theme scaffolding (v0.0.1)
- Bootstrap 5 CSS/JS integration via Yarn (served locally)
- Dart Sass build pipeline with PostCSS, Autoprefixer, cssnano
- Twig 3.0 via Composer with PSR-4 autoloading
- FSE block theme templates (index, home, single, page, archive, search, 404)
- Template parts (header, footer) and block patterns
- theme.json with Bootstrap 5-aligned design tokens
- Gitea CI/CD workflow for automated release packages
- WordPress i18n support (en_US base, de_CH translation)
Co-Authored-By: Claude <noreply@anthropic.com>
2026-02-08 02:25:33 +01:00
|
|
|
## [0.0.1] - 2026-02-08
|
|
|
|
|
|
|
|
|
|
### Added
|
|
|
|
|
|
|
|
|
|
- Initial theme scaffolding
|
2026-02-08 03:20:25 +01:00
|
|
|
- Bootstrap 5 CSS and JS integration (served locally via npm)
|
Initial theme scaffolding (v0.0.1)
- Bootstrap 5 CSS/JS integration via Yarn (served locally)
- Dart Sass build pipeline with PostCSS, Autoprefixer, cssnano
- Twig 3.0 via Composer with PSR-4 autoloading
- FSE block theme templates (index, home, single, page, archive, search, 404)
- Template parts (header, footer) and block patterns
- theme.json with Bootstrap 5-aligned design tokens
- Gitea CI/CD workflow for automated release packages
- WordPress i18n support (en_US base, de_CH translation)
Co-Authored-By: Claude <noreply@anthropic.com>
2026-02-08 02:25:33 +01:00
|
|
|
- SASS build pipeline with Dart Sass, PostCSS, Autoprefixer, cssnano
|
|
|
|
|
- Twig 3.0 template engine integration via Composer
|
|
|
|
|
- FSE templates: index, home, single, page, archive, search, 404
|
|
|
|
|
- Template parts: header, footer
|
|
|
|
|
- Block patterns: header, footer, query loop, comments, post navigation, more posts, 404, search, blog heading, written by
|
|
|
|
|
- `theme.json` with Bootstrap 5-aligned design tokens (colors, typography, spacing)
|
|
|
|
|
- WordPress i18n support with `en_US` (base) and `de_CH` translations
|
|
|
|
|
- Gitea CI/CD workflow for automated release packages
|
|
|
|
|
- Editor styles for block editor compatibility
|