-
Notifications
You must be signed in to change notification settings - Fork 2
/
category.html
executable file
·35 lines (26 loc) · 1023 Bytes
/
category.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
---
layout: blog
title: Categorias
permalink: /category/
---
<div class="container mtb">
<div class="row">
<div class="col-lg-8">
<! -- BLOG POSTS LIST -->
{% for category in site.categories %}{% unless category.first == "blog" or category.first == "project" or category.first == "question" %}
<a class="anchor" id="{{ category.first }}"></a><h4>{{ category.first }}</h4>
<div class="hline"></div>
<ul class="popular-posts">
{% for post in site.categories[category.first] %}
<li>
<a href="{{ post.url | prepend: site.baseurl }}"><img src="{{ "/assets/img/blog/thumbs/" | prepend: site.baseurl }}{{ post.thumb }}" alt="Popular Post"></a>
<p><a href="{{ post.url }}">{{ post.title }}</a></p>
<em>Posted on {{ post.date | date_to_string }}</em>
</li>
{% endfor %}
</ul>
{% endunless %}{% endfor %}
</div><! --/col-lg-8 -->
{% include sidebar.html %}
</div><! --/row -->
</div><! --/container -->