<header class=“header-post”>

<h1>
  <a href="{{ include.post_url | escape }}">{{ include.post_title | escape }}</a>
</h1>

<ul>
  <li>
    <i></i>
    <i class="fa fa-calendar"></i>
    <time datetime="{{ include.post_date | date_to_xmlschema }}">{{ include.post_date | date: "%d/%m/%Y" }}</time>
  </li>

  <li>
    <i></i>
    <i class="fa fa-archive"></i>
    {% assign category_name = include.post_categories[0] %}
    <a href="/categories/{{ category_name | slugify }}/" title="{{ category_name }}">{{ category_name }}</a>
  </li>

  {% if include.post_tags.size > 0 %}
    <li>
      <i></i>
      <i class="fa fa-tags"></i>

      {% assign tag_names = include.post_tags %}
      {% assign tag_array = "" | split: "/" %}

      {% for tag_name in tag_names %}
        {% capture link %}<a href="/tags/{{ tag_name | slugify }}/" title="{{ tag_name }}">{{ tag_name }}</a>{% endcapture %}

        {% assign tag_array = tag_array | push: link %}
      {% endfor %}

      {{ tag_array | join: ', ' }}
    </li>
  {% endif %}
</ul>

</header>