Files
react/docs/_layouts/single.html
Bartosz Kaszubowski f785dd09ea do not show empty "docs-prevnext" div on single page
to remove additional necessary spacing between content and footer
2015-02-24 16:28:47 +01:00

23 lines
605 B
HTML

---
layout: default
---
<section class="content wrap documentationContent nosidebar">
<div class="inner-content">
<h1>{{ page.title }}</h1>
<div class="subHeader">{{ page.description }}</div>
{{ content }}
{% if page.prev or page.next %}
<div class="docs-prevnext">
{% if page.prev %}
<a class="docs-prev" href="/react/docs/{{ page.prev }}">&larr; Prev</a>
{% endif %}
{% if page.next %}
<a class="docs-next" href="/react/docs/{{ page.next }}">Next &rarr;</a>
{% endif %}
</div>
{% endif %}
</div>
</section>