forked from ditointernet/blog-feras-legacy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
40 lines (37 loc) · 1.27 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
---
layout: default
---
<div id="home">
<section class="page-content wc-container">
{% for post in site.posts limit:10 %}
<article class="post" itemscope itemtype="http://schema.org/Article" role="article">
<h2 class="post-title" itemprop="name">
<a href="{{ post.url | prepend: site.baseurl | prepend: site.url }}">
{{ post.title }}
</a>
</h2>
<p class="post-meta">
{% if (post.categories.size > 0 %}
<span class="categories" itemprop="about">
{{ post.categories | array_to_sentence_string }}
</span> |
{% endif %}
<time class="post-date" datetime="{{ post.date | date: "%Y-%m-%d" }}" itemprop="datePublished" pubdate>
{{ post.date | date: "%b %-d, %Y" }}
</time>
</p>
<div>
{{ post.excerpt }}
</div>
<a href="{{ post.url | prepend: site.baseurl | prepend: site.url }}" title="{{ post.title}}">
Continue lendo
</a>
</article>
{% endfor %}
</section>
<div class="post-footer">
<div class="column-full">
<a href="{{ '/blog' | prepend: site.baseurl | prepend: site.url }}">Blog archive</a>
</div>
</div>
</div>