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

Add supported_cultures liquid filter #16208

Merged
merged 8 commits into from
Jun 3, 2024
Merged

Conversation

MikeAlhayek
Copy link
Member

@MikeAlhayek MikeAlhayek commented May 31, 2024

Fix #16202

Usage Example

{% assign cultures = Culture | supported_cultures %}

<ul>
{% for culture in cultures %}
    <li>{{ culture.Name }}</li>
{% endfor %}
</ul>

@MikeAlhayek MikeAlhayek requested a review from Piedone June 3, 2024 14:36
src/docs/releases/2.0.0.md Outdated Show resolved Hide resolved
src/docs/reference/modules/Liquid/README.md Outdated Show resolved Hide resolved
MikeAlhayek and others added 3 commits June 3, 2024 14:07
Co-authored-by: Zoltán Lehóczky <zoltan.lehoczky@lombiq.com>
Co-authored-by: Zoltán Lehóczky <zoltan.lehoczky@lombiq.com>
@MikeAlhayek MikeAlhayek merged commit 9bd92a0 into main Jun 3, 2024
27 checks passed
@MikeAlhayek MikeAlhayek deleted the ma/supported_cultures branch June 3, 2024 21:30
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.

Hard to implement a ContentCulturePicker in Liquid
2 participants