Sha256: 5a341ce4fda0975e47eaaba3594f87aba256e34b4796ecc7fbf2438ce17311fd
Contents?: true
Size: 864 Bytes
Versions: 1
Compression:
Stored size: 864 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="{{ site.baseurl }}{{ 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
alembic-jekyll-theme-2.1.0 | _includes/post-categories.html |