Permalink
Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
45 lines (39 sloc) 1.1 KB
layout
default

{% assign this_name = page.name | split: "." %} {% assign this_category = this_name[0] %}

{{ this_category | capitalize }}

{% for post in site.categories[this_category] %} {% if post.tags contains 'prepend' and post.tags contains 'sticky' %}

{{ post.content | markdownify }}
{% endif %} {% endfor %}

{% for post in site.categories[this_category] %} {% if post.tags contains 'featured' %}

{{ post.excerpt }}

{%if post.author %} {{post.author}}, {% endif %} {{ post.date | date: "%Y-%m-%d" }}: more ...

{% endif %} {% endfor %}

{% for post in site.categories[this_category] %} {% unless post.tags contains 'featured' or post.tags contains 'sticky' %}

{{ post.excerpt }} {%if post.author %}

{{post.author}}, {% endif %} {{ post.date | date: "%Y-%m-%d" }}: more ...

{% endunless %} {% endfor %}