Skip to content

Template ergonomics and power #95

@httpdss

Description

@httpdss

Summary
Expand built-in Jinja filters/globals and improve documentation of custom delimiters.

Proposed changes

  • Add filters/globals: uuid(), now(), env(name), read_file(path), to_yaml/from_yaml, to_json/from_json.
  • Keep existing filters: slugify, latest_release, default_branch.
  • Document custom delimiters ({%@ @%}, {{@ @}}) prominently with examples.

Files

  • struct_module/template_renderer.py
  • docs/template-variables.md

Acceptance criteria

  • New helpers available in templates and documented with examples.
  • Tests/smoke templates exercising new helpers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions