Skip to content

Commit 8fa4f2f

Browse files
feat(templates): display published time on all post types
1 parent d4c3cf0 commit 8fa4f2f

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

templates/partial/link.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44
{% else %}
55
<a href="{{ post.link }}">{{ post.link }}</a>
66
{% endif %} {% if post.via %} (<a href="{{ post.via }}">via</a>) {%
7-
endif %} {{ post.content|safe }}
7+
endif %}
8+
<p><small>Published on {{ post.date }}</small></p>
9+
<div>{{ post.content|safe }}</div>
810
</article>

templates/partial/quote.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<article>
2+
<p><small>Published on {{ post.date }}</small></p>
23
<blockquote>
34
{{ post.content }}
45
<footer>{{ post.quote_author|display_some }}</footer>

0 commit comments

Comments
 (0)