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
If both the Header left and Header right regions are empty, the header pattern still displays an empty navbar.
Currently I'm fixing this by overriding /templates/patterns/header/pattern-header.html.twig and adding this conditional in the override template:
/templates/patterns/header/pattern-header.html.twig
{% if header_left is not empty or header_right is not empty %} {% block content %} {{ content }} {% endblock %} {% endif %}
See: https://github.com/openeuropa/oe_whitelabel/blob/1.x/templates/patterns/header/pattern-header.html.twig#L40-L42
The text was updated successfully, but these errors were encountered:
We removed the header pattern as not useful.
Sorry, something went wrong.
No branches or pull requests
If both the Header left and Header right regions are empty, the header pattern still displays an empty navbar.
Currently I'm fixing this by overriding
/templates/patterns/header/pattern-header.html.twig
and adding this conditional in the override template:See: https://github.com/openeuropa/oe_whitelabel/blob/1.x/templates/patterns/header/pattern-header.html.twig#L40-L42
The text was updated successfully, but these errors were encountered: