datat.fi/_layouts/home.html

32 lines
1.1 KiB
HTML
Raw Permalink Normal View History

2017-03-07 23:12:17 +02:00
---
layout: default
---
{% include page-intro.html %}
<main id="main" class="page-content" aria-label="Content">
<div class="index inner">
<div>{{ content }}</div>
2022-08-16 14:54:26 +03:00
{% if site.posts.size > 0 and page.hide_posts != true %}
<div>
<header class="section-title">
<h2>{{ site.data.theme.t.posts | default: 'Posts' }}{% if paginator.page > 1 %}{{ site.data.theme.t.page | default: 'Page' | prepend: ' - ' | append: ' ' }}{{ paginator.page }} {{ site.data.theme.t.of | default: 'of' }} {{ paginator.total_pages }}{% endif %}</h2>
</header>
<div class="entries-{{ page.entries_layout | default: 'list' }}">
{% if site.plugins contains 'jekyll-paginate' and page.paginate or 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>
{% endif %}
2017-03-07 23:12:17 +02:00
</div>
2017-03-16 20:34:29 +02:00
</main>