-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
44 lines (41 loc) · 1.41 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
---
layout: home-page
---
<ol class="post-card-box clearfix">
{% for post in paginator.posts %}
<li>
<div class="post-card">
<div class="post-card-body">
<a href="{{post.url | prepend: site.baseurl}}" class="post-card-link">
<h3 class="post-card-title">{{post.title}}</h3>
</a>
<div class="post-card-info">
{% if post.author %}
{% assign author = site.authors[post.author] %}
<span class="post-card-author-name"><i class="fa fa-user-circle-o"></i>{{ author.name }}</span>
{% endif %}
<div class="post-card-datatime">
<meta itemprop="datePublished" content="{{post.date}}">
<time datetime="{{ post.date | date_to_xmlschema }}">
<i class="fa fa-clock-o"></i>
<span class="day">
{{ post.date | date: "%d" }}
</span>
<span class="month-year">
{{ post.date | date: "%B %Y" }}
</span>
</time>
</div>
</div>
<p class="post-card-description">
{{ post.content | strip_html | truncatewords:20 }}
<a href="{{ post.url | prepend: site.baseurl }}" class="link">ler mais</a>
</p>
{% for tag in post.tags %}
<a href="{{site.baseurl}}/tags#{{tag}}" class="tag">| {{ tag }}</a>
{% endfor %}
</div>
</div>
</li>
{% endfor %}
</ol>