diff --git a/templates/blogs/details.html.tera b/templates/blogs/details.html.tera index aa4be52f..a07cdb72 100644 --- a/templates/blogs/details.html.tera +++ b/templates/blogs/details.html.tera @@ -23,7 +23,10 @@

-

{{ "Latest articles" | _ }}

+

+ {{ "Latest articles" | _ }} + +

{% if posts | length < 1 %}

{{ "No posts to see here yet." | _ }}

{% endif %} diff --git a/templates/posts/details.html.tera b/templates/posts/details.html.tera index f17ad569..b82624d2 100644 --- a/templates/posts/details.html.tera +++ b/templates/posts/details.html.tera @@ -22,8 +22,8 @@ }} — {{ date | date(format="%B %e, %Y") }} - — {% if is_author %} + — {{ "Delete this article" | _ }} {% endif %}

diff --git a/templates/users/details.html.tera b/templates/users/details.html.tera index f129135e..34378478 100644 --- a/templates/users/details.html.tera +++ b/templates/users/details.html.tera @@ -19,7 +19,10 @@ {% if recents | length != 0 %} -

{{ "Latest articles" | _ }}

+

+ {{ "Latest articles" | _ }} + +

{% for article in recents %} {{ macros::post_card(article=article) }}