1
0
mirror of https://github.com/bigchaindb/site.git synced 2024-11-22 17:50:07 +01:00
site/_src/_includes/header.html

21 lines
676 B
HTML
Raw Permalink Normal View History

2017-11-24 13:09:26 +01:00
<header role="banner" class="header header--{{ page.url | replace: '/','' }} header--{{ page.layout }}"
2017-11-17 16:45:20 +01:00
{% if page.header %}
2018-04-10 11:25:50 +02:00
{% if page.path contains '_guide' %}
style="background-image:url('../{{ page.header }}');"
2017-11-17 16:45:20 +01:00
{% else %}
2018-04-10 11:25:50 +02:00
style="background-image:url('/assets/img/{{ page.header }}');"
2017-11-17 16:45:20 +01:00
{% endif %}
{% endif %}>
{% include menu-main.html %}
<div class="row">
<div class="header__content">
<h1 class="header__title">{{ page.title }}</h1>
{% if page.tagline %}
<h2 class="header__tagline">{{ page.tagline }}</h2>
{% endif %}
</div>
</div>
</header>