Skip to content

Template ergonomics and power #95

Closed

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.

Activity

  1. added 3 commits that reference this issue on Aug 12, 2025
    29cb7d9
    688cf21
    2db7b91
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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