c21fa07753
Correct "Posts by Tag" (singular) to be more consistent with "Posts by Category" * Update tag-archive.html * Update about.md * Update 10-layouts.md * Update README.md * Update 14-helpers.md
16 lines
395 B
HTML
16 lines
395 B
HTML
---
|
|
layout: archive
|
|
permalink: /tags/
|
|
title: "Posts by Tag"
|
|
author_profile: true
|
|
---
|
|
|
|
{% include group-by-array collection=site.posts field="tags" %}
|
|
|
|
{% for tag in group_names %}
|
|
{% assign posts = group_items[forloop.index0] %}
|
|
<h2 id="{{ tag | slugify }}" class="archive__subtitle">{{ tag }}</h2>
|
|
{% for post in posts %}
|
|
{% include archive-single.html %}
|
|
{% endfor %}
|
|
{% endfor %}
|