-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.html
38 lines (36 loc) · 1.53 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
---
layout: page
description: "a handome Typography"
---
{% for post in paginator.posts %}
<div class="post-preview">
<header class="post-header">
<div class="post-title">
<a href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
</div>
<div class="post-subtitle">
Posted by {% if post.author %}{{ post.author }}{% else %}{{ site.title }}{% endif %} on {{ post.date | date: "%B %-d, %Y" }}
</div>
</header>
<a href="{{ post.url | prepend: site.baseurl }}"><img src="{{ site.baseurl }}/assets/images/{{ post.feature }}" class="u-full-width"/></a>
{% if post.subtitle %}
<article class="pre-article">
{{ post.subtitle }}
</article>
{% endif %}
<div class="post-excerpt">
<a href="{{ post.url | prepend: site.baseurl }}">Continue Reading →</a>
</div>
</div>
{% endfor %}
<hr>
{% if paginator.total_pages > 1 %}
<div class="pager">
{% if paginator.previous_page %}
<a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}" class="button u-pull-left">← Newer </a>
{% endif %}
{% if paginator.next_page %}
<a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}" class="button u-pull-right">Older →</a>
{% endif %}
</div>
{% endif %}