Using deep data merge (post tag is inherited from posts/posts.json) and updates to use 0.7.0.

This commit is contained in:
Zach Leatherman
2019-01-10 22:20:14 -06:00
parent 0cb6dab28a
commit 496982355e
11 changed files with 51 additions and 52 deletions

View File

@ -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 -%}