summaryrefslogtreecommitdiff
path: root/_includes/views/post-item.html
blob: 0d6d129fe8699659eb3acb7a9848b56d606869cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
{%- 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>