forked from davidensinger/davidensinger.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·49 lines (47 loc) · 1.62 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
---
layout: default
page-class: page-home
sitemap:
priority: 0.9
---
{% for post in paginator.posts %}
<article class="post">
<header class="entry-header">
<h1 class="entry-title">
<a href="{{ post.url }}" rel="bookmark" title="Permalink to {{ post.title }}">{{ post.title }}</a>
</h1>
<div class="entry-meta entry-meta-header">
<span class="icon-left entry-meta-icon icon-entry-date">
<a class="entry-meta-link" href="{{ post.url }}" rel="bookmark" title="{{ post.date }}">
<time class="date updated" datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date: "%B %d, %Y" }}</time>
</a>
</span>
</div>
</header>
<div class="entry-content">
{% if post.description %}
{{ post.description | markdownify }}
<a class="continue-reading" href="{{ post.url }}" rel="bookmark" title="Permalink to {{ post.title }}">Continue Reading</a>
{% else %}
{{ post.content }}
{% endif %}
</div>
</article>
{% endfor %}
<nav class="paging-navigation" role="navigation">
<h1 class="visuallyhidden">Post navigation</h1>
{% if paginator.previous_page %}
<div class="nav-previous">
{% if paginator.previous_page == 1 %}
<a href="/" class="nav-previous-link">Newer Posts</a>
{% else %}
<a href="/page{{ paginator.previous_page }}/" class="nav-previous-link">Newer Posts</a>
{% endif %}
</div>
{% endif %}
{% if paginator.next_page %}
<div class="nav-next">
<a href="/page{{ paginator.next_page }}/" class="nav-next-link">Older Posts</a>
</div>
{% endif %}
</nav>