-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
73 lines (71 loc) · 2.62 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
---
layout: home
---
{% for post in paginator.posts %}
<section class="post-container" itemscope itemtype="http://schema.org/BlogPosting">
<span class="hidden" itemprop="publisher">Open Blog</span>
<aside class="post-meta">
<ul class="icons-lt">
<li class="post-data">
<span class="icon-aside"><i class="icon-calendar"></i></span>
<time itemprop="datePublished" datetime="{{ post.date | date: '%Y-%m-%d' }}">{{ post.date | date: "%d/%m/%Y" }}</time>
</li>
<li class="post-autor">
<span class="icon-aside"><i class="icon-author"></i></span>
<a href="{{ post.author_profile }}" data-link="{{ post.author_link }}" title="{{ post.author }}" alt="{{ post.author }}" rel="author" itemprop="author" onclick="_gaq.push(['_trackEvent', 'post_author', 'Home View', '{{ post.author }}'])">{{ post.author }}</a>
</li>
{% if post.comments %}
<li class="post-comentarios">
<span class="icon-aside"><i class="icon-comment"></i></span>
<a href="{{ post.url }}#disqus_thread" data-disqus-identifier="{{post.id}}" itemprop="interactionCount" onclick="_gaq.push(['_trackEvent', 'post_comments', 'Home View', '{{ post.url }}'])">Carregando...</a>
</li>
{% endif %}
{% unless post.tags == empty %}
<li class="post-tags">
<span class="icon-aside"><i class="icon-tag"></i></span>
<ul>
{% for tag in post.tags %}
<li><a href="/tag/{{ tag }}"><span>#</span>{{ tag }}</a></li>{% if forloop.last == false %},{% endif %}
{% endfor %}
</ul>
{% if post.keywords %}
<span class="hidden" itemprop="keywords">{{ post.keywords }}</span>
{% endif %}
</li>
{% endunless %}
</ul>
</aside>
<article>
<header>
<h1><a href="{{ post.url }}" itemprop="headline">{{ post.title }}</a></h1>
</header>
<section>
{% if post.image %}
<figure>
<a href="{{ post.url }}">
<img itemprop="thumbnailUrl" src="/{{ post.image }}" class="post-image" alt="{{ post.title | strip_html }}" title="{{ post.title | strip_html }}" width="700" height="432" />
</a>
</figure>
{% endif %}
<p itemprop="description">{{ post.resumo | markdownify }}</p>
<a href="{{ post.url }}" class="leia-mais" itemprop="url">Continue lendo →</a>
</section>
</article>
</section>
{% endfor %}
<div id="post-pagination">
{% if paginator.previous_page %}
<p class="antigos">
{% if paginator.previous_page == 1 %}
<a href="/">Recentes →</a>
{% else %}
<a href="/page{{paginator.previous_page}}">Recentes →</a>
{% endif %}
</p>
{% endif %}
{% if paginator.next_page %}
<p class="recentes">
<a href="/page{{paginator.next_page}}">← Antigos</a>
</p>
{% endif %}
</div>