-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
43 lines (35 loc) · 1.66 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
---
layout: default
---
<div class="home">
<div class="post" itemscope itemtype="http://schema.org/BlogPosting" >
{% for post in site.categories[site.current_year] %}
{% for tag in post.tags %}
{% if tag == "announcements" %}
<div class="post-title"><a href="{{ post.url }}">{{ post.title }}</a></div>
<header class="post-header">
<p class="post-meta">
{{ site.locales[site.default_locale].PostedInCategories }}
{% for cat in post.categories %}
<a href="{{site.baseurl}}/categories/#{{ cat }}">{{ cat }}</a>
{% endfor %}
{% if post.tags != empty %}
{{ site.locales[site.default_locale].Taggedwith }}
{% for tag in post.tags %}
<a href="{{ site.baseurl }}/tags/#{{ tag }}" title="{{ tag }}">{{ tag }} </a>{% unless post.tags.last == tag %}, {% endunless %}
{% endfor %}
{% endif %}
<time itemprop="datePublished" datetime="{{ post.date | date: '%Y-%m-%d' }}">
{{ site.locales[site.default_locale].PostDate }}{{ post.date | date: "%b %-d, %Y" }}
</time>
</p>
</header>
<article class="post-content" itemprop="articleBody">
{{ post.content }}
</article> <hr />
<meta itemprop="keywords" content="{{ post.tags | join: ',' }}" />
{% endif %}
{% endfor %}
{% endfor %}
</div>
</div>