blog/_includes/views/post-item.html

14 lines
356 B
HTML
Raw Normal View History

2019-09-11 06:19:34 +02:00
{%- if include.item -%}
{%- assign item = include.item -%}
{%- endif -%}
{%- assign post = item -%}
{% assign date_format = site.yat.date_format | default: "%b %-d, %Y" %}
<span class="post-meta">{{ post.date | date: date_format }}</span>
<span>
<a class="post-link" href="{{ post.url | relative_url }}">
{{ post.title | escape }}
</a>
</span>