~huyngo/huyngo.srht.site

995080f347483c6de4c7f8fc85033b5165d75ed1 — Ngô Ngọc Đức Huy 8 months ago ff17b30
Remove category page
1 files changed, 0 insertions(+), 24 deletions(-)

D categories.html
D categories.html => categories.html +0 -24
@@ 1,24 0,0 @@
---
layout: page
permalink: /categories/
title: Categories
---


<div id="archives">
{% for category in site.categories %}
  <div class="archive-group">
    {% capture category_name %}{{ category | first }}{% endcapture %}
    <div id="#{{ category_name | slugize }}"></div>
    <p></p>

    <h3 class="category-head">{{ category_name |capitalize }}</h3>
    <a name="{{ category_name | slugize }}"></a>
    {% for post in site.categories[category_name] %}
    <article class="archive-item">
      <h4><a href="{{ site.baseurl }}{{ post.url }}">{{post.title}}</a></h4>
    </article>
    {% endfor %}
  </div>
{% endfor %}
</div>