---
layout: default
title: tags
pageId: tags
permalink: /tags/
weight: 3
---

{% capture tags %}
  {% for tag in site.tags %}
    {{ tag[0] }}
  {% endfor %}
{% endcapture %}
{% assign sortedtags = tags | split:' ' | sort %}

{% if sortedtags.size > 0 %}
  {% for tag in sortedtags %}
    <h3 id="{{ tag }}">{{ tag }}</h3>
    <ul>
    {% for post in site.tags[tag] %}
      <li><a href="{{ post.url }}">{{ post.title }}</a></li>
    {% endfor %}
    </ul>
  {% endfor %}
{% else %}
  <p class="empty">No tags yet</p>
{% endif %}

---
layout: default
title: tags
pageId: tags
permalink: /tags/
weight: 3
---

<section class="tagsContent">
  {% capture tags %}
    {% for tag in site.tags %}
      {{ tag[0] }}
    {% endfor %}
  {% endcapture %}
  {% assign sortedtags = tags | split:' ' | sort %}

  {% if sortedtags.size > 0 %}
    {% for tag in sortedtags %}
      <h3 id="{{ tag }}">{{ tag }}</h3>

      <ul>
      {% for post in site.tags[tag] %}
        <li><a href="{{ post.url }}">{{ post.title }}</a></li>
      {% endfor %}
      </ul>
    {% endfor %}
  {% else %}
    <p class="empty">No tags yet</p>
  {% endif %}
</section>

Add `div` wrapper for tags
Add `div` wrapper for tags
