Add a link for Atom feeds

This commit is contained in:
Bat 2018-09-01 21:16:38 +01:00
parent 97c0b533ab
commit 52860efa85
3 changed files with 9 additions and 3 deletions

View File

@ -23,7 +23,10 @@
</p>
<section>
<h2>{{ "Latest articles" | _ }}</h2>
<h2>
{{ "Latest articles" | _ }}
<small><a href="/@/{{ blog.fqn }}/atom.xml"><i title="Atom feed" class="fa fa-rss"></i></a></small>
</h2>
{% if posts | length < 1 %}
<p>{{ "No posts to see here yet." | _ }}</p>
{% endif %}

View File

@ -22,8 +22,8 @@
}}</a></span>
&mdash;
<span class="date">{{ date | date(format="%B %e, %Y") }}</span>
&mdash;
{% if is_author %}
&mdash;
<a href="{{ article.url}}delete">{{ "Delete this article" | _ }}</a>
{% endif %}
</p>

View File

@ -19,7 +19,10 @@
</div>
{% if recents | length != 0 %}
<h2>{{ "Latest articles" | _ }}</h2>
<h2>
{{ "Latest articles" | _ }}
<small><a href="/@/{{ user.fqn }}/atom.xml"><i title="Atom feed" class="fa fa-rss"></i></a></small>
</h2>
<div class="cards">
{% for article in recents %}
{{ macros::post_card(article=article) }}