mirror of
https://github.com/codeninjasuk/showcase.git
synced 2024-11-28 18:35:44 -05:00
22 lines
616 B
HTML
22 lines
616 B
HTML
---
|
|
title: "Categories"
|
|
layout: default
|
|
permalink: "/categories.html"
|
|
---
|
|
{% for category in site.categories %}
|
|
<h4 class="mt-5 mb-4 pb-2 border-bottom" id="{{ category[0] | replace: " ","-" }}"><span class="text-capitalize small font-weight-bold">In "{{ category[0] }}"</span></h4>
|
|
<div class="row">
|
|
{% assign pages_list = category[1] %}
|
|
{% for post in pages_list %}
|
|
{% if post.title != null %}
|
|
{% if group == null or group == post.group %}
|
|
<div class="col-md-4 mb-5">
|
|
{% include postbox.html %}
|
|
</div>
|
|
{% endif %}
|
|
{% endif %}
|
|
{% endfor %}
|
|
{% assign pages_list = nil %}
|
|
{% assign group = nil %}
|
|
</div>
|
|
{% endfor %}
|