Skip to content

add template function to select node by uri#588

Merged
thmarx merged 3 commits intoCondationCMS:mainfrom
thmarx:node_reference
Jan 26, 2026
Merged

add template function to select node by uri#588
thmarx merged 3 commits intoCondationCMS:mainfrom
thmarx:node_reference

Conversation

@thmarx
Copy link
Collaborator

@thmarx thmarx commented Jan 25, 2026

Example to implement some kind of global values:

{% assign globals = select_node("/.technical/globals") %}
{% if !empty(globals) %}
	Version: {{ globals.meta.get('version') }} <br/>
{% else %}
	Globals node not found! <br/>
{% endif %}

@thmarx thmarx linked an issue Jan 25, 2026 that may be closed by this pull request
@thmarx thmarx merged commit 96b3188 into CondationCMS:main Jan 26, 2026
1 check passed
@thmarx thmarx deleted the node_reference branch January 27, 2026 19:38
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.

Referenzen to meta data of other sites

2 participants