thallada.github.io/blog/index.html

48 lines
1.4 KiB
HTML

---
layout: default
title: Tyler Hallada - Blog
---
{% for post in paginator.posts %}
{% if post.hidden == null or post.hidden == false %}
<div class="card">
<div class="row clearfix post-header">
<div class="column three-fourths">
<h2 class="post-title"><a href="{{ post.url }}">{{ post.title }}</a></h2>
</div>
<div class="column fourth">
<span class="timestamp">{{ post.date | date_to_string }}</span>
</div>
</div>
<div class="row clearfix">
<div class="column full post">
{{ post.excerpt }}
</div>
</div>
<div class="row clearfix more-row">
<div class="column full">
<a href="{{ post.url }}" class="read-more">Read More &raquo;</a>
</div>
</div>
</div>
{% endif %}
{% endfor %}
<div class="row clearfix pagination">
<div class="column full">
{% if paginator.previous_page %}
{% if paginator.page == 2 %}
<a href="/blog/" class="previous">&laquo; Previous</a>
{% else %}
<a href="/blog/page{{ paginator.previous_page }}/" class="previous">&laquo; Previous</a>
{% endif %}
{% endif %}
<span class="page_number ">Page {{ paginator.page }} of {{ paginator.total_pages }}</span>
{% if paginator.next_page %}
<a href="/blog/page{{ paginator.next_page }}/" class="next">Next &raquo;</a>
{% endif %}
</div>
</div>
{% include mail-form.html %}