jekyll-category-archive-plugin
jekyll-category-archive-plugin copied to clipboard
There are no way to grab list of generated category pages
Generated category pages are appended to master site.pages variable. There is a request to implement list of generated category pages. Possibly, site.category_pages.
Shigeya - I just use this:
{% for category in site.categories %}
{% categorylink post.category %}
{{ category | first }}
{% endcategorylink %}
{% endfor %}
Thank you. will check and will follow-up.
Set the desired path in the config:
category_archive:
path: /blog/
List all categories. Create a link:
<div class="categories">
<ul class="nav nav-pills">
{% for category in site.categories %}
<li><a href="/blog/{{ category[0] }}">{{ category[0] }}</a></li>
{% endfor %}
</ul>
</div>