forked from DONGChuan/Yummy-Jekyll
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcategories.html
More file actions
31 lines (27 loc) · 851 Bytes
/
categories.html
File metadata and controls
31 lines (27 loc) · 851 Bytes
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
---
layout: post
title: Catégories
subtitle: <span class="mega-octicon octicon-repo"></span> Catégories
display_comments: false
permalink: /cat/
---
<div class="row">
<div class="col-md-8">
{% for category in site.categories %}
<!-- Category list -->
<h2 href="#{{ category[0] }}">{{ category[0] }}</h2>
<ul>
<li>
{% for post in category[1] %}
<div class="posts-content">
<p><small>{{ post.date | date: "%d-%m-%Y" }}</small> -
<a class="btn btn-default hvr-grow-shadow" href="{{ site.url }}{{ post.url }}">{{ post.title }}</a></p>
</div>
</li>
{% endfor %}
</ul>
{% endfor %}
<!-- Pagination -->
{% include pagination.html %}
</div>
</div>