We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Both of these don't do what I expected them to do (taken from stencil that extends another one):
{% block title %} {% if sort == "new" %} {{ block.super }} - Nieuwste spellen {% elif sort == "upcoming" %} {{ block.super }} - Binnenkort op de agenda {% elif sort == "near-me" %} {{ block.super }} - In mijn buurt {% endif %} {% endblock %}
{% if sort == "new" %} {% block title %}{{ block.super }} - Nieuwste spellen{% endblock %} {% elif sort == "upcoming" %} {% block title %}{{ block.super }} - Binnenkort op de agenda{% endblock %} {% elif sort == "near-me" %} {% block title %}{{ block.super }} - In mijn buurt{% endblock %} {% endif %}
In the former, only "- Nieuwste spellen" (for example) shows and {{ block.super }} evaluates to nothing. In the latter, the reverse happens.
{{ block.super }}
What does work is:
{% block title %} {{ block.super }} - {% if sort == "new" %} Nieuwste spellen {% elif sort == "upcoming" %} Binnenkort op de agenda {% elif sort == "near-me" %} In mijn buurt {% endif %} {% endblock %}
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Both of these don't do what I expected them to do (taken from stencil that extends another one):
In the former, only "- Nieuwste spellen" (for example) shows and
{{ block.super }}
evaluates to nothing.In the latter, the reverse happens.
What does work is:
The text was updated successfully, but these errors were encountered: