theme for RDM site
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1.5 KiB

3 years ago
{% if page.header_top_left or page.header_top_right or header_login_links %}
<div class="header-top">
<div class="container">
<div class="header-top-container">
{% include '@thex/template-parts/header/header-top-left.html.twig' %}
{% include '@thex/template-parts/header/header-top-right.html.twig' %}
{% if header_login_links %}
{% include '@rdm/template-parts/header/header-login.html.twig' %}
{% endif %}
</div><!-- /header-top-container -->
</div><!-- /container -->
</div><!-- /header-top -->
{% endif %}
<header class="header">
<div class="container">
<div class="header-container">
{% if page.header %}
<div class="site-brand">
{{ page.header }}
</div> <!--/.site-branding -->
{% endif %}
{% if page.primary_menu or page.search_box %}
<div class="header-right">
{% if page.primary_menu %}
<div class="mobile-menu"><span></span></div> {# mobile-menu #}
<div class="primary-menu-wrapper">
<div class="menu-wrap">
<div class="close-mobile-menu">x</div>
{{ page.primary_menu }}
</div> <!-- /.menu-wrap -->
</div> <!-- /.primary-menu-wrapper -->
{% endif %} <!-- end if for -->
{% if page.search_box %}
{% include '@thex/template-parts/header/search.html.twig' %}
{% endif %}
</div> <!-- /.header-right -->
{% endif %}
</div><!-- /header-container -->
</div><!-- /container -->
</header><!-- /header -->