-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
49 lines (43 loc) · 1.24 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: Home
---
<h2 id="projects-ref">Open Source Projects</h2>
<table class="projects">
{% for project in site.data.projects %}
<tr>
<td>
<a href="{{ project.url }}">{{ project.name }}</a>
</td>
<td>
{{ project.description }}
<br/>
{% if project.github != '' %}
<a class="openSourceLink" href="{{ project.github }}"><i class="fab fa-github"></i> Github</a>
{% endif %}
{% if project.packagist %}
<a class="openSourceLink" href="{{ project.packagist }}"><i class="fas fa-elephant"></i> Packagist</a>
{% endif %}
</td>
</tr>
{% endfor %}
</table>
<h2>Articles & Blog Content</h2>
{% for post in site.posts %}
{% capture this_year %}{{ post.date | date: "%Y" }}{% endcapture %}
{% capture next_year %}{{ post.previous.date | date: "%Y" }}{% endcapture %}
{% if forloop.first %}
<h3 id="{{ this_year }}-ref">{{this_year}}</h3>
<ul>
{% endif %}
<li><a href="{{ post.url }}">{{ post.title }}</a></li>
{% if forloop.last %}
</ul>
{% else %}
{% if this_year != next_year %}
</ul>
<h3 id="{{ next_year }}-ref">{{next_year}}</h3>
<ul>
{% endif %}
{% endif %}
{% endfor %}