Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MapAccess to better access sub maps in template code #319

Merged
merged 1 commit into from
Nov 2, 2024

Conversation

thmarx
Copy link
Collaborator

@thmarx thmarx commented Nov 2, 2024

This PR introduce a new MapAccess that make the usage of meta data in template code easier by supporting chained keys

for example:
meta['seo.title'] or meta.getOrDefault('seo.title', 'no title')

@thmarx thmarx merged commit 6c721b6 into CondationCMS:main Nov 2, 2024
1 check passed
@thmarx thmarx added this to the 7.2.0 milestone Nov 3, 2024
@thmarx thmarx deleted the map_access branch November 4, 2024 10:23
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.

1 participant