-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
49 lines (41 loc) · 1.35 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
---
layout: default
---
<section>
<div class="jumbotron">
<div class="container">
{{site.description}}
</div>
</div>
</section>
<section id="page-content">
<div class="container">
{% for post in site.posts limit:10 %}
<header class="post-header">
<h1 itemprop="name" class="post-title">
<a itemprop="url" class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
</h1>
<meta itemprop="keywords" content="{{ post.tags | join: ',' }}" />
<p class="post-meta">
Posted in {% for cat in post.categories %}
<a href="{{site.baseurl}}/categories/#{{ cat }}">{{ cat }}</a>{% unless post.categories.last == cat%}, {% endunless %}
{% endfor %}
{% if post.tags != empty %}
and tagged {% 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' }}">
On {{ post.date | date: "%b %-d, %Y" }}
</time>
</p>
</header>
<article class="post-content" itemprop="articleBody">
{{ post.excerpt }}
<!--
{{ post.content | strip_html | truncatewords: 88 }}
-->
</article> <hr />
{% endfor %}
</div>
</section>