feat: add small article footer to show created/edited times and view count
This commit is contained in:
parent
edeecb8cf9
commit
35ff4951ad
2 changed files with 15 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -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%}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue