Add a link for Atom feeds
This commit is contained in:
parent
97c0b533ab
commit
52860efa85
@ -23,7 +23,10 @@
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<section>
|
<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 %}
|
{% if posts | length < 1 %}
|
||||||
<p>{{ "No posts to see here yet." | _ }}</p>
|
<p>{{ "No posts to see here yet." | _ }}</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -22,8 +22,8 @@
|
|||||||
}}</a></span>
|
}}</a></span>
|
||||||
—
|
—
|
||||||
<span class="date">{{ date | date(format="%B %e, %Y") }}</span>
|
<span class="date">{{ date | date(format="%B %e, %Y") }}</span>
|
||||||
—
|
|
||||||
{% if is_author %}
|
{% if is_author %}
|
||||||
|
—
|
||||||
<a href="{{ article.url}}delete">{{ "Delete this article" | _ }}</a>
|
<a href="{{ article.url}}delete">{{ "Delete this article" | _ }}</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</p>
|
</p>
|
||||||
|
@ -19,7 +19,10 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% if recents | length != 0 %}
|
{% 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">
|
<div class="cards">
|
||||||
{% for article in recents %}
|
{% for article in recents %}
|
||||||
{{ macros::post_card(article=article) }}
|
{{ macros::post_card(article=article) }}
|
||||||
|
Loading…
Reference in New Issue
Block a user