Skip to content

Commit 0b88574

Browse files
committed
Merge #791: Recent posts to show published date
6921359 Recent post date (Jijo Bose) Pull request description: ### Recent posts to show published date Fixes #488 - Added published date to the recent posts <img width="808" alt="Screen Shot 2021-09-04 at 12 20 47 PM" src="https://user-images.githubusercontent.com/13100108/132085658-4ec08d80-9a1e-4f5a-8c01-685379cf4e93.png"> ACKs for top commit: harding: Tested ACK 6921359 Thanks! Tree-SHA512: c62118e538b6e8cd8538d7b0cecfbe5314e9dfdfc70eff081da29a576043e30771e782848136d0b4930ceaff4a1745a43a87cf46f84425c5482de850f51c5434
2 parents f767da5 + 6921359 commit 0b88574

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

_layouts/home.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ <h2 class="link-post"><a href="{{ post.url }}" title="{{ post.title }}">{{ post.
4949
{% else %}
5050
<h2><a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a></h2>
5151
<p>{{ post.excerpt | markdownify | strip_html | truncate: 160 }}</p>
52+
<p class="dt-published" datetime="{{ page.date | date_to_xmlschema }}">
53+
<small>Published on {{ post.date | date: "%B %d, %Y" }}</small>
54+
</p>
5255
{% endif %}
5356
</article>
5457
{% endfor %}

0 commit comments

Comments
 (0)