From 61eae5c5f9881cab29712f6e696085baa977e1f9 Mon Sep 17 00:00:00 2001 From: Jeffrey Tse <jeffreytse.mail@gmail.com> Date: Wed, 11 Sep 2019 12:19:34 +0800 Subject: release: v1.0.0 --- _includes/views/post-item.html | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 _includes/views/post-item.html (limited to '_includes/views/post-item.html') diff --git a/_includes/views/post-item.html b/_includes/views/post-item.html new file mode 100644 index 0000000..0d6d129 --- /dev/null +++ b/_includes/views/post-item.html @@ -0,0 +1,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> -- cgit v1.2.3