summaryrefslogtreecommitdiff
path: root/_includes/post-link.liquid
diff options
context:
space:
mode:
Diffstat (limited to '_includes/post-link.liquid')
-rw-r--r--_includes/post-link.liquid11
1 files changed, 11 insertions, 0 deletions
diff --git a/_includes/post-link.liquid b/_includes/post-link.liquid
new file mode 100644
index 0000000..92548cf
--- /dev/null
+++ b/_includes/post-link.liquid
@@ -0,0 +1,11 @@
+<li>
+ <a href="/{{ post.permalink }}">
+ {% if post.published_date %}
+ <span class="tag">
+ {{ post.published_date | date: "%e %b %Y" }}
+ </span>
+ {% endif %}
+
+ {{ post.title }}
+ </a>
+</li>