forked from iUFBA/iufba.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathblog.html
29 lines (27 loc) · 905 Bytes
/
blog.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
---
layout: default
title: Blog
baseurl: /blog
---
{% assign taglist = site.tags | sort %}
{% for category in taglist %}
{% if category[0] == 'Blog' %}
{% assign list = category[1] %}
{% for post in list %}
<h3 id="{{ post.url }}">
<a href="{{ page.url }}#{{ post.url }}"><span class="glyphicon glyphicon-link"></span></a>
<a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a>
</h3>
<p>{{ post.content | truncatewords: 50 }}</p>
<p>
<a href="{{ site.baseurl }}{{ post.url }}">
Ler post completo
<span class="glyphicon glyphicon-new-window"></span>
</a>
</p>
{% endfor %}
{% assign pages_list = nil %}
{% assign group = nil %}
{% endif %}
{% endfor %}
{% assign taglist = nil %}