summaryrefslogtreecommitdiff
path: root/_includes/post-link.liquid
diff options
context:
space:
mode:
authorAdam Carpenter <gitlab@53hor.net>2019-06-15 21:51:00 -0400
committerAdam Carpenter <gitlab@53hor.net>2019-06-15 21:51:00 -0400
commitb9f1e7a0a1142d3060e2a3a020282eb5dca8f86a (patch)
treeac8b465789b18d61765be70b48ddf37f37cbc569 /_includes/post-link.liquid
parent402decfde5390d1c84a0a5dd74635de3d7c634c2 (diff)
downloadcobalt-site-b9f1e7a0a1142d3060e2a3a020282eb5dca8f86a.tar.xz
cobalt-site-b9f1e7a0a1142d3060e2a3a020282eb5dca8f86a.zip
Broke out post links, organized _includes.
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>