-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.html
executable file
·52 lines (47 loc) · 1.77 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
50
51
52
---
layout: main
title: "Home"
my_projects:
- { name: docker-machine-nfs, description: "Activates NFS on docker-machine.", url: "https://github.com/adlogix/docker-machine-nfs" }
---
<ul class="posts" itemscope itemtype="http://schema.org/Blog">
{% for post in site.posts %}
{% if post.next %}
{% capture year %}{{ post.date | date: '%Y' }}{% endcapture %}
{% capture nyear %}{{ post.next.date | date: '%Y' }}{% endcapture %}
{% endif %}
{% if forloop.first %}
<li>
<h2 class="title">{{ post.date | date: '%Y' }}</h2>
<ul class="posts-by-year {{ post.date | date: '%Y' }}">
{% else %}
{% if year != nyear %}
</ul>
</li>
<li>
<h2 class="title">{{ post.date | date: '%Y' }}</h2>
<ul class="posts-by-year {{ post.date | date: '%Y' }}">
{% endif %}
{% endif %}
<li itemscope itemtype="http://schema.org/BlogPosting" class="post-title">
<time datetime="{{ post.date | date_to_xmlschema }}" class="hide-on-mobile">
<meta itemprop="datePublished" content="{{ post.date | date_to_xmlschema }}" />
{{ post.date | date: '%d %b' }}
</time>
<span class="separator hide-on-mobile"> » </span><a itemprop="headline" itemprop="name" href="{{ post.url }}" class="link">{{ post.title }}</a>
</li>
{% if forloop.last %}
</ul>
</li>
{% endif %}
{% endfor %}
</ul>
<h2 class="title">Highlighted Projects</h2>
<ul class="projects">
{% for project in page.my_projects %}
<li>
<a href="{% if project.url %}{{ project.url }}{% else %}{{ site.my_github }}/{{ project.name }}{% endif %}">{{ project.name }}</a>
<span class="description hide-on-mobile">» {{ project.description }}</span>
</li>
{% endfor %}
</ul>