2020-04-03 05:37:20 +00:00
|
|
|
---
|
|
|
|
layout: default
|
|
|
|
title: "bune.city - Home"
|
2020-04-05 16:20:03 +00:00
|
|
|
pagination:
|
|
|
|
enabled: true
|
2020-04-03 05:37:20 +00:00
|
|
|
---
|
|
|
|
{% include header.html %}
|
2020-04-05 16:20:03 +00:00
|
|
|
<h1 id='logo'>{{ site.title }}</h1>
|
2020-04-05 08:41:13 +00:00
|
|
|
<main>
|
2020-04-03 06:30:14 +00:00
|
|
|
<div id='posts'>
|
2020-04-05 16:20:03 +00:00
|
|
|
{% for post in paginator.posts %}
|
2020-04-03 06:30:14 +00:00
|
|
|
<div class='post'>
|
|
|
|
<h2><a href='{{ post.url }}'>{{ post.title }}</a></h2>
|
|
|
|
<div id='post-info'>
|
2020-04-05 16:20:03 +00:00
|
|
|
<i class='material-icons'>access_time</i> {{ post.date | date_to_string: "ordinal" }}
|
|
|
|
<i class='material-icons'>group_work</i>
|
2020-04-05 14:06:35 +00:00
|
|
|
{{ " " }}{%- for category in post.categories -%}
|
|
|
|
<a href='/categories/{{ category }}'>{{ category }}</a>
|
|
|
|
{%- unless category == post.categories.last %}, {% endunless %}
|
|
|
|
{%- endfor %} <br>
|
2020-04-03 06:30:14 +00:00
|
|
|
</div>
|
|
|
|
<div class='post-excerpt'>
|
|
|
|
<p>{{ post.summary | default: post.excerpt }}</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
2020-04-05 16:20:03 +00:00
|
|
|
|
|
|
|
{%- if paginator.total_pages > 1 %}
|
|
|
|
<div id='pagination'>
|
|
|
|
<a {%- if paginator.previous_page %} href='{{ paginator.previous_page_path | absolute_url }}' {%- endif %}>Newer</a>
|
|
|
|
Page {{ paginator.page }} of {{ paginator.total_pages }}
|
|
|
|
<a {%- if paginator.next_page %} href='{{ paginator.next_page_path | absolute_url }}' {%- endif %}>Older</a>
|
|
|
|
</div>
|
|
|
|
{%- endif %}
|
2020-04-03 05:37:20 +00:00
|
|
|
</div>
|
2020-04-05 08:41:13 +00:00
|
|
|
</main>
|