66 lines
1.9 KiB
HTML
66 lines
1.9 KiB
HTML
---
|
|
layout: default
|
|
title: rtyler - home
|
|
---
|
|
|
|
<header class="masthead">
|
|
<h1 class="masthead-title">
|
|
<a href="{{ site.baseurl }}/">{{ site.name }}<span>'s blog</span></a>
|
|
</h1>
|
|
<nav class="masthead-nav">
|
|
<ul>
|
|
{% for nav in site.nav %}
|
|
<li>
|
|
<strong>
|
|
<a href="{{ nav.href }}">{{ nav.name }}</a>
|
|
</strong>
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
</nav>
|
|
</header>
|
|
|
|
<main class="content list" role="main">
|
|
{% for post in paginator.posts %}
|
|
<hr noshade/>
|
|
<article class="post">
|
|
<header class="post-header">
|
|
<h2 class="post-title"><a href="{{ post.url }}">{{ post.title }}</a></h2>
|
|
<span class="post-meta"><time datetime="{{ post.date | date:"%Y-%m-%d" }}">{{ post.date | date_to_string }}</time> {{!tags prefix="on "}}</span>
|
|
<small>·</small>
|
|
{% for tag in post.tags %}
|
|
<span>
|
|
<small>
|
|
<a href="/tag/{{ tag }}.html">{{ tag }}</a>
|
|
·
|
|
</small>
|
|
</span>
|
|
{% endfor %}
|
|
|
|
</header>
|
|
<section class="post-excerpt">
|
|
{{ post.excerpt }}
|
|
</section>
|
|
</article>
|
|
|
|
{% endfor %}
|
|
|
|
<nav class="pagination" role="pagination">
|
|
|
|
{% if paginator.previous_page %}
|
|
{% if paginator.previous_page == 1 %}
|
|
<a class="newer-posts" href="/" title="Previous Page">« Newer Posts</a>
|
|
{% else %}
|
|
<a class="newer-posts" href="/page{{ paginator.previous_page }}/" title="Previous Page">« Newer Posts</a>
|
|
{% endif %}
|
|
{% endif %}
|
|
|
|
<span class="page-number"> Page {{paginator.page}} of {{paginator.total_pages}} </span>
|
|
|
|
{% if paginator.next_page %}
|
|
<a class="older-posts" href="/page{{ paginator.next_page }}/" title="Next Page">Older Posts »</a>
|
|
{% endif %}
|
|
</nav>
|
|
|
|
</main>
|