1
0
mirror of https://github.com/bigchaindb/site.git synced 2024-12-24 02:16:10 +01:00
site/_src/_layouts/page.html
Matthias Kretschmann 7f8b9909f7 More Google Analytics custom events
- whitepaper download
- all form submissions (success & error)
2016-02-11 15:59:24 +01:00

63 lines
1.7 KiB
HTML

---
layout: base
---
<header role="banner" class="header">
{% include menu-main.html %}
<div class="row">
<h1 class="header__title">{{ page.title }}</h1>
</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.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 js-tracking-whitepaper-download"><svg class="icon"><use xlink:href="/assets/img/sprite.svg#icon-documents"></use></svg> {{ whitepaper.button }}</a>
{% endfor %}
</p>
</div>
</section>
<section class="section section-contact">
<div class="row">
<header class="section-header">
<h1 class="section-title">Get In Touch</h1>
</header>
{% include form-contact.html %}
</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 %}