Initial push
This commit is contained in:
16
categories/index.html
Normal file
16
categories/index.html
Normal file
@@ -0,0 +1,16 @@
|
||||
---
|
||||
layout: default
|
||||
title: d@n tech Categories
|
||||
---
|
||||
|
||||
<h2>Post Categories</h2>
|
||||
{% for category in site.categories %}
|
||||
<h3 class="category-header"><b>{{category | first}}</b></h3>
|
||||
{% for post in category[1] limit:3 %}
|
||||
<span class="post-item">{{ post.date | date: '%Y-%m-%d' }} >> <a href="{{ post.url }}">{{ post.title }}</a></span>
|
||||
{% endfor %}
|
||||
<div class="category-all-nav">
|
||||
<h4>See all posts in {{category | first}} ({{category[1] | size}}) <a href="/category/{{category | first | downcase }}/">>></a></h4>
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
Reference in New Issue
Block a user