Using deep data merge (post tag is inherited from posts/posts.json) and updates to use 0.7.0.
This commit is contained in:
@ -4,7 +4,7 @@
|
||||
<a href="{{ post.url | url }}" class="postlist-link">{% if post.data.title %}{{ post.data.title }}{% else %}<code>{{ post.url }}</code>{% endif %}</a>
|
||||
<time class="postlist-date" datetime="{{ post.date | htmlDateString }}">{{ post.date | readableDate }}</time>
|
||||
{% for tag in post.data.tags %}
|
||||
{%- if tag != "post" -%}
|
||||
{%- if tag != "posts" -%}
|
||||
{% set tagUrl %}/tags/{{ tag }}/{% endset %}
|
||||
<a href="{{ tagUrl | url }}" class="tag">{{ tag }}</a>
|
||||
{%- endif -%}
|
||||
|
Reference in New Issue
Block a user