==== twig ====
{% extends '@nucleus/partials/particle.html.twig' %}
{% block particle %} {#
{% set exit = false %}
{% set languages = particle.language|split(',') %}
{% for language in languages if not exit %}
{% if grav.language.getActive == language or language == 'all' %} {% set exit = true %}
{# content #}
<h2>Language: {{ grav.language.getActive }}</h2>
{% endif %}
{% endfor %}
{% endblock %}
=== yaml ===
language:
#type: select.select # =grav=
type: input.multicheckbox # =gantry5=
label: Language Open
size: medium
classes: fancy
#multiple: true # =grav 1.1=
help: Language
data-options@: 'Grav\Plugin\Admin\Admin::siteLanguages'
default: all
options:
all: All
Time to create page: 0.050 seconds