-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathauthors.html
36 lines (32 loc) · 1.06 KB
/
authors.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
---
layout: page
title: Authors
permalink: /authors/
---
{% for author in site.data.authors %}
<a href="http://twitter.com/{{ author[1]["twitter"] }}">
<h3 id="{{ author[1]["name"] }}">Posts by <img src="{{ author[1]["pic"] }}" style="height:60px;border-radius:30px;"/> <b>{{ author[1]["name"] }}</b></h3>
</a>
{% assign posts = site.posts | where: "author", author[0] %}
<ul class="post-list">
{% for post in posts %}
<li>
<div class="postLink">
<img src="{{ site.baseurl }}{{ post.heropic }}" />
<div class="details">
<h2>
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
</h2>
<span class="post-meta">{{ post.date | date: "%b %-d, %Y" }}</span>
<div>
Tags:
{% for category in post.categories %}
<a href="{{ site.baseurl }}/tags#{{ category }}"> {{ category }} </a>
{% endfor %}
</div>
</div>
</div>
</li>
{% endfor %}
</ul>
{% endfor %}