-
Notifications
You must be signed in to change notification settings - Fork 1
/
archives.html
40 lines (35 loc) · 1.28 KB
/
archives.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
---
layout: default
title: Archives
---
<section class='category'>
<section class='category-container'>
<header class='category-header'>
<h1 class='title'>{{ page.title }}</h1>
</header>
<section id='archives-body' class='category-body'>
<section class='articles archives-articles'>
{% for post in site.posts %}
{% if forloop.first %}
<section class='article'>
<h4 class='title'>News Title</h4>
<h4 class='cat'>Categories</h4>
<h4 class='date'>Date Published</h4>
</section>
{% else %}
{% if post.archive %}
<p class='article'>
<a class='title' href='{{ post.url }}'>{{ post.title }}</a>
<span class='cat'>{{ post.category | replace: '-', ' ' | capitalize }}</span>
<span class='date'>{{ post.dated }}</span>
</p>
{% endif %}
{% endif %}
{% endfor %}
</section>
<section class='sidebar'>
{% include fb-likebox.html %}
</section>
</section>
</section>
</section>