_layouts/post.html in ban-blog-theme-0.3.0 vs _layouts/post.html in ban-blog-theme-0.4.0
- old
+ new
@@ -8,9 +8,14 @@
<p class="post-meta">
<time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
{%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
{{ page.date | date: date_format }}
</time>
+ {% if page.tags %} |
+ {% for tag in page.tags %}
+ <a class="post-tag" href="{{ site.baseurl }}/tags/#{{ tag | slugify }}">{{ tag }}</a>
+ {% endfor %}
+ {% endif %}
{%- if page.author -%}
• <span itemprop="author" itemscope itemtype="http://schema.org/Person"><span class="p-author h-card" itemprop="name">{{ page.author }}</span></span>
{%- endif -%}</p>
</header>