-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
50 lines (41 loc) · 1.55 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
title: tech.tmw - Latest news and opinion from the creative technology team at tmw
pageid: home
---
<div class="content-inner entries clearfix">
<h1 class="sectionTitle">Articles</h1>
{% for post in paginator.posts %}
{% if post.contributor != null %}
{% assign author = post.contributor %}
{% else %}
{% for member in site.data.team %}
{% if member.short_name == post.author %}
{% assign author = member %}
{% endif %}
{% endfor %}
{% endif %}
<article class="entry entry--multiple clearfix">
<div class="col-a">
<h1 class="entry-title entry-title--entries"><a href="{{ post.url }}" title="Read {{ post.title }}">{{ post.title }}</a></h1>
<div class="entry-meta entry-meta--listing">
<time class="entry-date">{{ post.date | date_to_string }}</time> • <span class="entry-authorName">By <a href="http://twitter.com/{{ author.twitter }}">{{ author.name }}</a></span></div>
</div>
<div class="col-b">
<p class="entry-excerpt">{{ post.excerpt }}</p>
</div>
</article>
{% endfor %}
</div>
<!-- Pagination links -->
<div class="pagination">
<div class="container">
{% if paginator.next_page %}
<a href="{{ paginator.next_page_path }}" class="pagination-item pagination-item--older"><span class="icon-arrow-left-small"></span>Older</a>
{% endif %}
{% if paginator.previous_page %}
<a href="{{ paginator.previous_page_path }}" class="pagination-item pagination-item--newer icon-arrow-right-small">Newer<span class="icon-arrow-right-small"></span></a>
{% endif %}
</div>
</div>
</div>