1
0
mirror of https://github.com/bigchaindb/site.git synced 2024-11-01 15:55:36 +01:00
site/_src/_layouts/page.html

53 lines
1.3 KiB
HTML
Raw Normal View History

---
layout: base
---
<header role="banner" class="header">
{% include menu-main.html %}
2016-01-07 20:15:09 +01:00
<div class="row">
<h1 class="header__title">{{ page.title }}</h1>
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">
<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 btn-sm"><svg class="icon"><use xlink:href="/assets/img/sprite.svg#icon-documents"></use></svg> {{ whitepaper.button }}</a>
{% endfor %}
</p>
</div>
</section>
{% endif %}
{% if page.comments %}
<footer class="comments">
<div class="row">
<h1 id="comments">Comments</h1>
<div id="disqus_thread"></div>
</div>
</footer>
{% endif %}