layout: default
{{ content }}
<div class=βis-flex my-6 is-justify-content-centerβ>
<h1 class="title">π Latest Posts</h1>
</div>
{% if site.posts.size == 0 %}
<h2>No post found</h2>
{% else %}
{% for post in paginator.posts %}
{% include post_preview.html %}
{% endfor %}
<!β Pagination links β>
<div class="list-pagination is-flex my-6 is-justify-content-center"> <span class="list-pagination-previous"> {% if paginator.previous_page %} <a href="{{ paginator.previous_page_path | prepend: site.baseurl }}" class="previous button is-rounded is-primary"> π Previous </a> {% else %} {% endif %} </span> <span class="list-pagination-next"> {% if paginator.next_page %} <a href="{{ paginator.next_page_path | prepend: site.baseurl }}" class="next button is-rounded is-primary"> Next π </a> {% else %} {% endif %} </span> </div>
{% endif %} </div>