This repository has been archived by the owner on Mar 26, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 48
/
authors.html
37 lines (33 loc) · 1.4 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
37
---
layout: default
title: Authors
---
<h1 class="text-center">{{ page.title }}</h1>
<p class="lead text-center">Interested in contributing? <a href="https://github.com/SwiftWeekly/.github/blob/master/CONTRIBUTING.md">Learn how</a>.</p>
<br />
<div class="row">
<div class="mx-auto col-sm-10 col-md-10">
{% assign posts_by_author = site.posts | group_by: 'author' | sort: 'size' | reverse %}
{% for each_item in posts_by_author %}
{% assign author = site.data.authors[each_item.name] %}
{% assign author_posts = each_item.items %}
<div class="media">
<div class="media-left">
<img class="media-object img-thumbnail mr-4" src="https://github.com/{{ author.github }}.png?size=100" alt="{{ author.name }}" title="{{ author.name }}"/>
</div>
<div class="media-body">
<h3 class="media-heading author-name">
<a href="https://twitter.com/{{ author.twitter }}">{{ author.name }}</a>
<small class="text-muted">{{ author_posts.size }} issue{% if author_posts.size > 1 %}s{% endif %}</small>
</h3>
<ul class="posts-list">
{% for post in author_posts %}
<li class="mr-3"><a href="{{ post.url }}">{{ post.title }}</a></li>
{% endfor %}
</ul>
</div>
</div>
<br/><br/>
{% endfor %}
</div> <!-- col -->
</div> <!-- row -->