-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
67 additions
and
39 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,27 @@ | ||
|
||
{% load wagtailroutablepage_tags %} | ||
{% load wagtailroutablepage_tags i18n %} | ||
|
||
<div class="fr-mt-2w"> | ||
<ul class="fr-btns-group fr-btns-group--inline-sm fr-btns-group--icon-left fr-btns-group--right"> | ||
<li> | ||
<a class="fr-btn fr-btn--tertiary-no-outline fr-btn--icon-left fr-icon-rss-fill" | ||
href="{% routablepageurl page 'atom_feed' %}{% if current_category %}?category={{ current_category.slug }}{% endif %}">Atom</a> | ||
href="{% routablepageurl page 'atom_feed' %}{% if current_category %}?category={{ current_category.slug }}{% endif %}"> | ||
{% if current_category %} | ||
{% translate "Atom feed for the category" %} | ||
{% else %} | ||
{% translate "Atom feed" %} | ||
{% endif %} | ||
</a> | ||
</li> | ||
<li> | ||
<a class="fr-btn fr-btn--tertiary-no-outline fr-btn--icon-left fr-icon-rss-fill" | ||
href="{% routablepageurl page 'rss_feed' %}{% if current_category %}?category={{ current_category.slug }}{% endif %}">RSS</a> | ||
href="{% routablepageurl page 'rss_feed' %}{% if current_category %}?category={{ current_category.slug }}{% endif %}"> | ||
{% if current_category %} | ||
{% translate "RSS feed for the category" %} | ||
{% else %} | ||
{% translate "RSS feed" %} | ||
{% endif %} | ||
</a> | ||
</li> | ||
</ul> | ||
</div> |