-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
executable file
·58 lines (55 loc) · 1.72 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
---
layout: default
---
<div class="container">
<div class="row">
<div class="col col-12">
<article class="article-first">
<a href="/" class="logo-text">
<div class="article-image-first" style="background-image: url('/img/JavaBahia.png');">
</div>
</a>
</article> <!-- /.article-first -->
</div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col col-12 col-t-8">
<div class="row">
{%- for post in paginator.posts -%}
<article class="article col col-12">
<div class="article-box">
<div class="article-content">
<div class="article-info">
<div class="article-date">
Escrito por {{post.author}} em
<span class="date">
<time datetime="{{ post.date | date_to_xmlschema }}">
{% assign date_format = site.minima.date_format | default: "%b %-d, %Y" %}{{ post.date | date: date_format }}</time>
</span>
</div>
<div class="article-tag">
{% if post.tags.size >= 1 %}
{% for tag in post.tags %}
<a href="{{ site.baseurl }}/tags#{{tag}}" class="tag">{{ tag }}</a>
{% endfor %}
{% else %} {% endif %}
</div>
</div>
<h2 class="article-title">
<a href="{{ post.url | prepend: site.baseurl }}">{{post.title}}</a>
</h2>
<p class="article-excerpt">{% if post.description %}{{ post.description | strip_html | truncate: 135 }}{% else %}{{ post.content | strip_html | truncate: 135 }}{% endif %}</p>
</div>
</div>
</article> <!-- /.article -->
{% endfor %}
</div>
{% include pagination.html %}
</div>
<div class="col col-12 col-t-4">
{% include sidebar.html %}
</div>
</div>
</div>