This repository has been archived by the owner on Feb 17, 2021. It is now read-only.
forked from nickbalestra/kactus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
categories.html
42 lines (38 loc) · 1.7 KB
/
categories.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
---
layout: page
permalink: /categories/
title: Categories
---
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{% if page.title %}{{ page.title }} | {% endif %}{{ site.name }}</title>
<link rel="shortcut icon" href="{{ "/" | relative_url }}assets/images/favicon-32x32.png">
<link rel="stylesheet" href="{{ "/" | relative_url }}assets/css/highlight.css">
<link rel="stylesheet" href="{{ "/" | relative_url }}assets/css/style.css">
<link rel="alternate" type="application/rss+xml" title="Mr. The Plague" href="{{ "/" | relative_url }}feed.xml">
</head>
<body>
{% include navigation.html %}
<article class="post">
<header>
<h1>Archives</h1>
</header>
<section id="wrapper" class="home">
{% for category in site.categories %}
{% capture category_name %}{{ category | first }}{% endcapture %}
<h2 class="post-list">{{ category_name }}</h2>
<a name="{{ category_name | slugize }}"></a>
<ul id="post-list">
{% for post in site.categories[category_name] %}
<li>
<a href="{{ "/" | relative_url }}{{ post.url | remove_first: '/' }}"><aside class="dates">{{ post.date | date:"%b %d" }}</aside></a>
<a href="{{ "/" | relative_url }}{{ post.url | remove_first: '/' }}">{{ post.title }} <h2>{{ post.description }}</h2></a>
</li>
{% endfor %}
</ul>
{% endfor %}
</section>
</article>
</body>