Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: vixcpp/template
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.3.0
Choose a base ref
...
head repository: vixcpp/template
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.4.0
Choose a head ref
  • 1 commit
  • 8 files changed
  • 1 contributor

Commits on Mar 27, 2026

  1. feat(template): add layout inheritance support (V4)

    - add ExtendsNode and BlockNode to AST with NodeType::Extends and NodeType::Block
    - extend parser with {% extends %}, {% block %}, and {% endblock %} support
    - update parser to handle nested block parsing and endblock detection
    - implement block override system in renderer (BlockMap)
    - add render(..., overrides) for internal inheritance resolution
    - implement render_block with override fallback logic
    - add find_extends and collect_blocks helpers
    - implement render_template_by_name for parent template rendering
    - support multi-level template inheritance (nested extends)
    - validate child templates using extends (blocks-only constraint)
    - update renderer dispatch to support BlockNode and ExtendsNode
    - add parser tests for extends and block nodes
    - add renderer tests for block rendering and template inheritance
    - update vix.json to v0.4.0
    GaspardKirira committed Mar 27, 2026
    Configuration menu
    Copy the full SHA
    94ae545 View commit details
    Browse the repository at this point in the history
Loading