Skip to content

ndg: allow user-defined variables in Tera context#144

Merged
NotAShelf merged 2 commits intomainfrom
notashelf/push-pywvwwpnkxrw
Mar 25, 2026
Merged

ndg: allow user-defined variables in Tera context#144
NotAShelf merged 2 commits intomainfrom
notashelf/push-pywvwwpnkxrw

Conversation

@NotAShelf
Copy link
Copy Markdown
Member

Fixes #20

Adds support for user-defined template variables in the site configuration, allowing users to inject custom values into all Tera templates via the [vars] table in ndg.toml. Built-in variables continue to take precedence over user-defined ones.

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I22bd9c5c4c272bb8779b04889751981c6a6a6964
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ia13433acf2832dbafe089ee5f090a09a6a6a6964
@NotAShelf NotAShelf merged commit 5895a74 into main Mar 25, 2026
10 of 11 checks passed
@NotAShelf NotAShelf deleted the notashelf/push-pywvwwpnkxrw branch March 25, 2026 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dynamic variable assignment

1 participant