This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
{% macro feed_autodiscovery(atom_url, rss_url, title) -%}
|
||||
<link rel="alternate" type="application/atom+xml" title="{{ title }} (Atom)" href="{{ atom_url }}">
|
||||
<link rel="alternate" type="application/rss+xml" title="{{ title }} (RSS)" href="{{ rss_url }}">
|
||||
{%- endmacro %}
|
||||
|
||||
{% macro visible_feed_links(atom_url, rss_url) -%}
|
||||
<span class="feed-links" aria-label="Syndication feeds">
|
||||
<span>Feeds:</span>
|
||||
<a href="{{ atom_url }}" type="application/atom+xml">Atom</a>
|
||||
<span aria-hidden="true">/</span>
|
||||
<a href="{{ rss_url }}" type="application/rss+xml">RSS</a>
|
||||
</span>
|
||||
{%- endmacro %}
|
||||
Reference in New Issue
Block a user