-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
102 lines (69 loc) · 2.54 KB
/
index.html
File metadata and controls
102 lines (69 loc) · 2.54 KB
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
---
layout: base
---
<div class="BlogCover BlogCover--main" style="background-image:url(/images/{{ site.inc.cover_image }});">
<section class="BlogCover-wrapper">
<div class="BlogCover-container">
<div class="BlogCover-title">
</div>
{% if site.inc.subtitle %}
<h2 class="BlogCover-subtitle">{{ site.inc.subtitle }}</h2>
{% endif %}
{% if site.inc.twitter %}
<a href="https://twitter.com/{{ site.inc.twitter }}" title="Follow on Twitter" target="_blank" class="BlogCover-socialLink">
<i class="fa fa-twitter"></i>
</a>
{% endif %}
{% if site.inc.facebook %}
<a href="http://facebook.com/{{ site.inc.facebook }}" title="Like on Facebook" target="_blank" class="BlogCover-socialLink">
<i class="fa fa-facebook"></i>
</a>
{% endif %}
{% if site.inc.rss %}
<a href="/feed.xml" title="RSS Feed" class="BlogCover-socialLink">
<i class="fa fa-rss"></i>
</a>
{% endif %}
</div>
</section>
</div>
<article class="ArticleIndex">
<div class="ArticleIndex-container">
{% for post in paginator.posts %}
{% unless post.draft %}
<section class="Article">
<!-- {% if post.author.image %}<img src="/images/{{ post.author.image }}" class="avatar">{% endif %}-->
<div class="Article-container TypeSystem">
<h1 class="Article-title Article-title--index">
<a href="{{ post.url }}" rel="prefetch">{{ post.title }}</a>
</h1>
<p class="Article-excerpt TypeSystem-excerpt">{{ post.excerpt }}</p>
<div class="TypeSystem-meta">
<span class="TypeSystem-author">{{ post.author.name }}</span>
<span class="TypeSystem-date">
—
<time pubdate datetime="{{ post.date | date: "%Y-%d-%B" }}" title="{{ post.date | date: "%B %d, %Y" }}">
{{ post.date | date: "%B %d, %Y" }}
</time>
</span>
</div>
</div>
<hr class="ArticleIndex-divider" />
</section>
{% endunless %}
{% endfor %}
</div>
<section class="ArticleIndex-pagination"
>
{% if paginator.previous_page %}
{% if paginator.previous_page == 1 %}
<a href="/" class="Button Button--outlined">‹ Newer</a>
{% else %}
<a href="/page{{ paginator.previous_page }}" class="Button Button--outlined">‹ Newer</a>
{% endif %}
{% endif %}
{% if paginator.next_page %}
<a href="/page{{ paginator.next_page }}" class="Button Button--outlined">Older ›</a>
{% endif %}
</section>
</article>