feat: add small article footer to show created/edited times and view count

This commit is contained in:
David Bailey 2023-12-20 19:20:24 +01:00
parent edeecb8cf9
commit 35ff4951ad
2 changed files with 15 additions and 0 deletions

View file

@ -186,6 +186,17 @@ a:hover {
margin-left: auto;
}
#content_footer {
display: block;
max-width: 100%;
margin-top: 0.5em;
font-size: 0.8em;
border-top: solid 1px darkgrey;
opacity: 0.7;
}
#main_footer {
display: flex;

View file

@ -13,6 +13,10 @@
<article>
{%block content_article %}
{%endblock%}
<span id="content_footer">
This article was created on {{ post.post_create_time }}, last edited {{ post.post_update_time }}, and was viewed {{ post.post_access_counter }} times~
</span>
</article>
{%endblock%}