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
[error] Error: ERROR: Expected element start [error] 20 | </ul> [error] 21 | {% endif %} [error] > 22 | </div> [error] | ^ [error] 23 | {% endfor %} [error] 24 | </div> [error] 25 | </div> [error] [error] Unexpected closing "div" tag. Seems like your DOM is out of control.
<footer class="footer"> <div class="container"> <div class="row position-absolute w-100 pt-3 pb-3"> {% for item in links %} <div class="col-md-4 col-lg-4"> {% if item.child %} <div>{{ t(item.text|upper) }}</div> <ul class="list-unstyled"> {% for child in item.child %} <li class="nav-item"> <a class="nav-link {{ child.class }}" href="{{ href(child.link) }}"> {{ t(child.text) }} </a> </li> {% endfor %} {% else %} <div>{{ t(item.text) }}</div> </ul> {% endif %} </div> {% endfor %} </div> </div> </footer>
The text was updated successfully, but these errors were encountered:
Not sure if it's related but your closing </ul> is outside of the {% endif %} but the opening <ul> is inside the {% if %}
</ul>
{% endif %}
<ul>
{% if %}
Sorry, something went wrong.
It's just my copy/paste mistake.
I can't reproduce this bug. Formatting worked with your example code. Anyway you should move up your into the first part of the if to get valid HTML.
No branches or pull requests
The text was updated successfully, but these errors were encountered: