2 Commits

Author SHA1 Message Date
ed7ed0ee18 feat: Add comprehensive minification system for HTML, CSS, and XML files
- Implement _minify_html(), _minify_css(), and _minify_xml() functions
- Add _minify_file() and _minify_output_directory() orchestration functions
- Add build_options_minify_html, build_options_minify_css, build_options_minify_xml config options
- Integrate minification into main workflow after content generation
- Provide detailed logging with file size reduction statistics
- Achieve 25-35% HTML, 5-15% CSS, and 5-10% XML size reductions
- Update site.conf.example with documented minification options
- Non-destructive implementation using temporary files with error handling
2025-05-31 01:31:44 +02:00
c470ac40c0 feat: Implement robust theme system and document architecture
- Implement flexible theme switching via site.conf (site_theme, site_theme_css_file).
- Ensure correct copying of theme static assets, with theme assets overriding root assets.
- Resolve CSS linking issues by checking file existence after static copy and using correct paths for Pandoc.
- Refactor path construction to prevent duplication when using absolute/relative output paths.
- Create comprehensive how-it-works.md detailing system architecture, theme creation, and overall workflow.
- Clarify design philosophy: qsgen3 remains design-agnostic, only linking main theme CSS automatically.
2025-05-31 00:00:21 +02:00