forked from kracekumar/bangalore.python.org.in
-
Notifications
You must be signed in to change notification settings - Fork 12
/
authors.html
53 lines (45 loc) · 2.9 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
---
layout: page
title: Authors
description: The archive showing list of authors who contributed to "BangPypers – The Bangalore Python User Group".
---
<!-- authors Index
================================================== -->
<section class="recent-posts">
<div class="row listrecent">
{% assign sorted_authors = site.authors | sort: 'name' %}
{% for author in sorted_authors %}
<div class="col-lg-4 col-md-6 mb-30px card-group">
<div class="card h-100">
<div class="card-footer bg-white">
<div class="wrapfooter">
<span class="meta-footer-thumb">
<a href="{{author.url}}"><img class="author-thumb" src="{% if author.logo %}{% if author.logo contains "://" %}{{ author.logo }}{% else %}{{ author.logo | prepend: site.baseurl | prepend: site.url }}{% endif %}{% else %}{{ site.og_img | prepend: site.baseurl | prepend: site.url }}{% endif %}" alt="{{ author.name }}"></a>
</span>
<span class="author-meta">
<span class="post-name"><a href="{{author.url}}">{{ author.name }}</a></span><br/>
{% assign number_of_posts = 0 %}
{% for post in site.posts %}
{% if post.authors contains author.username or author.username == post.authors %}
{% assign number_of_posts = number_of_posts | plus: 1 %}
{% endif %}
{% endfor %}
<span class="post-date">Posts contributed: {{ number_of_posts }}</span>
</span>
<span class="post-read-more"><a href="{{author.url}}" title="Read Story"><svg class="svgIcon-use" width="25" height="25" viewbox="0 0 25 25"><path d="M19 6c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2v14.66h.012c.01.103.045.204.12.285a.5.5 0 0 0 .706.03L12.5 16.85l5.662 4.126a.508.508 0 0 0 .708-.03.5.5 0 0 0 .118-.285H19V6zm-6.838 9.97L7 19.636V6c0-.55.45-1 1-1h9c.55 0 1 .45 1 1v13.637l-5.162-3.668a.49.49 0 0 0-.676 0z" fill-rule="evenodd"></path></svg></a></span>
<div class="clearfix"></div>
</div>
</div>
</div>
</div>
{% endfor %}
</div>
</section>
<!-- Pagination
================================================== -->
<div class="bottompagination">
<div class="pointerup"><i class="fa fa-caret-up"></i></div>
<span class="navigation" role="navigation">
{% include pagination.html %}
</span>
</div>