-
Notifications
You must be signed in to change notification settings - Fork 0
/
authors.html
88 lines (83 loc) · 3.19 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
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
---
layout: page
permalink: /authors/index.html
title: Meet our bloggers
tags: [Redfog, engineering]
chart: true
---
{% assign authors = site.data.authors %}
{% assign rownum = 1 %}
{% for authorloop in authors %}
{% assign author = authorloop[1] %}
{% unless author.ex %}
{% assign posts_by_author = "" | split: "" %}
{% for post in site.posts %}
{% assign post_author = site.data.authors[post.author] %}
{% if post_author.name == author.name %}
{% assign posts_by_author = posts_by_author | push: post %}
{% endif %}
{% endfor %}
{% if posts_by_author.size > 0 %}
{% capture rownum %}
{% increment rownum %}
{% endcapture %}
{% assign mod = rownum | modulo:2 %}
{% if (mod) == 1 %}
{% assign rowstyle = 'odd' %}
{% else %}
{% assign rowstyle = 'even' %}
{% endif %}
<div class="notepad-author-info row-{{ rowstyle }}" id="author-{{ author.name | slugify }}">
<div class="row">
<section class="notepad-post-author" itemprop="author" itemscope="itemscope" itemtype="http://schema.org/Person">
{% include author-info.html %}
</section>
<div>
<ul class="post-list">
{% for post in posts_by_author %}
<li>
<a href="{{ post.url }}">
{{ post.title }}
<span class="entry-date">
<time datetime="{{ post.date | date_to_xmlschema }}" itemprop="datePublished">{{ post.date | date: "%B %-d, %Y" }}</time>
</span>
</a>
</li>
{% endfor %}
<li>
<a href="https://capgemini.github.io/devops/transparency-of-things/" class="post-link">
<span class="post-title">
Transparency of Things
</span>
<span class="entry-date">
<time datetime="2016-04-08T00:00:00+01:00" itemprop="datePublished">April 8, 2016</time>
</span>
</a>
</li>
<li>
<a href="https://capgemini.github.io/devops/docker-ci-workflows/" class="post-link">
<span class="post-title">
Docker Continuous Delivery Workflows
</span>
<span class="entry-date">
<time datetime="2016-01-26T00:00:00+00:00" itemprop="datePublished">January 26, 2016</time>
</span>
</a>
</li>
<li>
<a href="https://capgemini.github.io/open%20source/continuously-deploying-apollo/" class="post-link">
<span class="post-title">
Continuously deploying Apollo with Wercker
</span>
<span class="entry-date">
<time datetime="2015-07-03T00:00:00+01:00" itemprop="datePublished">July 3, 2015</time>
</span>
</a>
</li>
</ul>
</div>
</div>
</div>
{% endif %}
{% endunless %}
{% endfor %}