tale/index.html

28 lines
757 B
HTML
Raw Normal View History

---
layout: default
title: Home
---
<div>
{% for post in paginator.posts %}
<div class="post preview">
<time class="post-time" datetime="{{ post.date }}">{{ post.date | date_to_string | upcase }}</time>
<h1 class="post-title"><a href="{{ post.url | prepend: site.url }}">{{ post.title }}</a></h1>
2017-03-11 05:09:18 +00:00
{{ post.content | truncatewords: 70 }}
2017-03-11 05:09:18 +00:00
</div>
{% endfor %}
</div>
2017-03-12 03:11:17 +00:00
<div class="pagination">
{% if paginator.previous_page %}
<a href="{{ paginator.previous_page_path | prepend: site.url }}" class="left arrow">&#8592;</a>
2017-03-12 03:11:17 +00:00
{% endif %}
{% if paginator.next_page %}
<a href="{{ paginator.next_page_path | prepend: site.url }}" class="right arrow">&#8594;</a>
2017-03-12 03:11:17 +00:00
{% endif %}
<span>{{ paginator.page }}</span>
</div>