Sha256: ee61648c76563bbea8458639d5cfeeaa71ecea9c550e1eb848ca07ca8a7e2120
Contents?: true
Size: 832 Bytes
Versions: 7
Compression:
Stored size: 832 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 }}">{{ 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
7 entries across 7 versions & 1 rubygems