diff options
Diffstat (limited to '_includes/jekyll-theme/categories/all.html')
-rw-r--r-- | _includes/jekyll-theme/categories/all.html | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/_includes/jekyll-theme/categories/all.html b/_includes/jekyll-theme/categories/all.html index d1c6285..c8d4720 100644 --- a/_includes/jekyll-theme/categories/all.html +++ b/_includes/jekyll-theme/categories/all.html @@ -4,20 +4,16 @@ {% assign categories = site.categories | sort %} {% for category in categories %} {% assign category_name = category[0] %} - <h2>{% include jekyll-theme/categories/label.html category=category_name %}</h2> + <h2>{% include jekyll-theme/categories/label.html link=true category=category_name monospace=true %}</h2> {% for post in category[1] %} - <a href="{{ post.url | relative_url }}" class="feed-entry"> - {% include jekyll-theme/posts/header.html feed=true title=post.title date=post.date %} - </a> + {% include jekyll-theme/posts/header.html url=post.url title=post.title date=post.date %} {% endfor %} {% endfor %} {% assign uncategorized = site.posts | where_exp: "post","post.categories.size == 0" %} {% if uncategorized.size != 0 %} - <h2>{% include jekyll-theme/categories/label.html category="Other" feed=true %}</h2> + <h2>{% include jekyll-theme/categories/label.html category="Other" monospace=true %}</h2> {% for post in uncategorized %} - <a href="{{ post.url | relative_url }}" class="feed-entry"> - {% include jekyll-theme/posts/header.html feed=true title=post.title date=post.date %} - </a> + {% include jekyll-theme/posts/header.html url=post.url title=post.title date=post.date %} {% endfor %} {% endif %} {% endif %} |