1
0
mirror of https://github.com/bigchaindb/site.git synced 2024-12-25 02:46:10 +01:00
site/_src/_layouts/page.html

65 lines
1.9 KiB
HTML

---
layout: base
---
<header role="banner" class="header" {% if page.image %}style="background-image:url('/assets/img/{{ page.image }}')"{% endif %}>
{% include menu-main.html %}
<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>
</div>
</header>
<section role="main" class="content content--page">
{% if page.path contains '.md' %}
<div class="row content--page--markdown">
{% endif %}
{{ content }}
{% if page.path contains '.md' %}
</div>
{% endif %}
</section>
{% if page.path contains "about" %}
<section class="section section--team section--founders">
<div class="row row--wide">
<h1 class="section-title">Team</h1>
{% include founders.html %}
{% include team.html %}
</div>
</section>
{% endif %}
{% if page.title == "Whitepaper" %}
<section class="section section-whitepaper-download background--photo">
<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 %}
<a href="{{ whitepaper.file }}" class="btn btn-primary js-tracking-whitepaper-download"><svg class="icon"><use xlink:href="/assets/img/sprite.svg#icon-documents"></use></svg> {{ whitepaper.button }}</a>
{% endfor %}
</p>
<p class="text-center small">Last updated: {{ page.whitepaper.updated | date: '%B %d, %Y' }}</p>
</div>
</section>
{% include sections/section-newsletter.html %}
{% endif %}