datat.fi/_layouts/home.html

30 lines
840 B
HTML

---
layout: default
---
{% include page-intro.html %}
<main id="main" class="page-content" aria-label="Content">
<div class="index inner">
<div>{{ content }}</div>
<div>
<header class="section-title">
<h2>Posts{% if paginator.page > 1 %}{{ paginator.page | prepend: ' - Page '}}{{ paginator.total_pages | prepend: ' of ' }}{% endif %}</h2>
</header>
<div class="entries">
{% if site.gems contains 'jekyll-paginate' and page.paginate %}
{% comment %}
Add paginator.posts loop if jekyll-paginate plugin is enabled
and page.paginate == true
{% endcomment %}
{% include posts-paginated.html %}
{% else %}
{% include posts-all.html %}
{% endif %}
</div>
</div>
{% include footer.html %}
</div>
</main>