From 52860efa850b41d9a200e2c39750dc21f03b88c3 Mon Sep 17 00:00:00 2001 From: Bat Date: Sat, 1 Sep 2018 21:16:38 +0100 Subject: [PATCH] Add a link for Atom feeds --- templates/blogs/details.html.tera | 5 ++++- templates/posts/details.html.tera | 2 +- templates/users/details.html.tera | 5 ++++- 3 files changed, 9 insertions(+), 3 deletions(-) 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) }}