You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm just getting started with Jekyll so excuse if this is easy to accomplish: I've already generated category pages for my blog - this worked great. However, I would also like to create category pages for a collection. Is this possible?
The text was updated successfully, but these errors were encountered:
Sorry to late reply. I've been traveling. Anyway, I have created such a page and easy, like following.
This file is saved as file blog/categories.html. I also created and using page layout and referred from this template but its almost same as default.
---
layout: page
title: Categories
header: Posts By Category
group: navigation
---
{% include JB/setup %}
<ul class="tag_box inline">
{% assign categories_list = site.categories %}
{% include JB/categories_list %}
</ul>
{% for category in site.categories %}
<h2 id="{{ category[0] }}-ref">{{ category[0] | join: "/" }}</h2>
<ul>
{% assign pages_list = category[1] %}
{% include JB/pages_list %}
</ul>
{% endfor %}
I'm just getting started with Jekyll so excuse if this is easy to accomplish: I've already generated category pages for my blog - this worked great. However, I would also like to create category pages for a collection. Is this possible?
The text was updated successfully, but these errors were encountered: