Sha256: 83a5c70ef010644fc3a239f40db20d9000c9658df440d7a25f4fcd5dd82ae2f2
Contents?: true
Size: 846 Bytes
Versions: 2
Compression:
Stored size: 846 Bytes
Contents
{% for category in site.categories %} {% assign category_name = category | first %} <section class="section typeset"> <h2 id="{{ category_name | slugify }}">{{ category_name }}</h2> <ul class="list list--posts"> {% for page in site.categories[category_name] %} {% assign has_categories = true %} <li class="item item--post"> <article class="article article--post typeset"> <h3><a href="{{ page.url }}" title="Post - {{ page.title }}">{{ page.title }}</a></h3> {% include post-meta.html %} {{ page.excerpt | markdownify | truncatewords: 60 }} </article> </li> {% endfor %} </ul> {% unless forloop.last %}<hr/>{% endunless %} </section> {% endfor %} {% if has_categories != true %} <section class="section typeset"> <p>There are no categorised posts</p> </section> {% endif %}
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
alembic-jekyll-theme-2.0.3 | _includes/post-categories.html |
alembic-jekyll-theme-2.0.2 | _includes/post-categories.html |