1
0
mirror of https://github.com/bigchaindb/site.git synced 2024-12-01 13:37:14 +01:00
site/_src/_layouts/page.html

53 lines
1.6 KiB
HTML
Raw Normal View History

---
layout: base
---
<header role="banner" class="header" {% if page.header %}style="background-image:url('/assets/img/{{ page.header }}')"{% endif %}>
{% include menu-main.html %}
2016-01-07 20:15:09 +01:00
<div class="row">
<div class="header__content">
{% if page.tagline %}
<h1 class="header__tagline">{{ page.tagline }}
{% else %}
<h1 class="header__title">{{ page.title }}</h1>
{% endif %}
</div>
2016-01-07 20:15:09 +01:00
</div>
</header>
<section role="main" class="content content--page">
2016-01-14 13:04:44 +01:00
{% if page.path contains '.md' %}
<div class="row content--page--markdown">
{% endif %}
{{ content }}
2016-01-14 13:04:44 +01:00
{% if page.path contains '.md' %}
</div>
2016-01-14 13:04:44 +01:00
{% endif %}
</section>
{% if page.title == "Whitepaper" %}
<section class="section section-whitepaper-download background--photo">
2016-02-10 16:57:19 +01:00
<div class="row">
<header class="section-header">
<h1 class="section-title">{{ page.whitepaper.title }}</h1>
<p class="section-description">{{ page.whitepaper.text }}</p>
</header>
<p class="text-center">
{% for whitepaper in page.whitepaper.files %}
2017-10-27 15:13:33 +02:00
<a href="{{ whitepaper.file }}" class="btn {{ whitepaper.class }} js-tracking-whitepaper-download"><svg class="icon"><use xlink:href="/assets/img/sprite.svg#icon-documents"></use></svg> {{ whitepaper.button }}</a>
2016-02-10 16:57:19 +01:00
{% endfor %}
</p>
<p class="text-center small">Last updated: {{ page.whitepaper.updated | date: '%B %d, %Y' }}</p>
2016-02-10 16:57:19 +01:00
</div>
</section>
{% include sections/section-newsletter.html %}
{% endif %}