Add the Language link beside the main menu

This commit is contained in:
David Valdez 2019-01-13 00:41:14 -06:00
parent 9202c18351
commit da982e3fdf
4 changed files with 16 additions and 0 deletions

View file

@ -7637,6 +7637,9 @@ a.navbar-link.is-active {
a.navbar-link.is-active:focus::before { a.navbar-link.is-active:focus::before {
display: none; } } display: none; } }
a.language-link.navbar-item.is-active {
display: none; }
@media screen and (min-width: 769px), print { @media screen and (min-width: 769px), print {
.navbar-item.has-dropdown:hover .navbar-link, .navbar-item.has-dropdown:hover .navbar-link,
.navbar-item.has-dropdown:focus .navbar-link, .navbar-item.has-dropdown:focus .navbar-link,

View file

@ -227,6 +227,10 @@ a.navbar-link.is-active {
} }
} }
a.language-link.navbar-item.is-active {
display:none;
}
.navbar-item.has-dropdown:hover .navbar-link, .navbar-item.has-dropdown:hover .navbar-link,
.navbar-item.has-dropdown:focus .navbar-link, .navbar-item.has-dropdown:focus .navbar-link,
.navbar-item.has-dropdown.is-active .navbar-link { .navbar-item.has-dropdown.is-active .navbar-link {

View file

@ -7,3 +7,7 @@
%} %}
{% set attributes = attributes.addClass(classes) %} {% set attributes = attributes.addClass(classes) %}
{% block content %}
{{ language }}
{{ content }}
{% endblock %}

View file

@ -0,0 +1,5 @@
{% if links -%}
{%- for item in links -%}
{{ item.link }}
{%- endfor -%}
{%- endif %}