mirror of
https://github.com/nairobilug/pelican-alchemy.git
synced 2024-12-30 12:15:06 +01:00
Move header, footer, xml_feeds to include; reason base.html
This commit is contained in:
parent
1c944d0f3d
commit
4aee394acb
4 changed files with 81 additions and 76 deletions
26
alchemy/templates/include/xml_feeds.html
Normal file
26
alchemy/templates/include/xml_feeds.html
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{% if FEED_ALL_ATOM %}
|
||||
<link rel="alternate" type="application/atom+xml" title="Full Atom Feed"
|
||||
href="{{ FEED_DOMAIN }}/{{ FEED_ALL_ATOM }}">
|
||||
{% endif %}
|
||||
{% if FEED_ALL_RSS %}
|
||||
<link rel="alternate" type="application/rss+xml" title="Full RSS Feed"
|
||||
href="{{ FEED_DOMAIN }}/{{ FEED_ALL_RSS }}">{% endif %}
|
||||
{% if FEED_ATOM %}
|
||||
<link rel="alternate" type="application/atom+xml" title="Atom Feed"
|
||||
href="{{ FEED_DOMAIN }}/{{ FEED_ATOM }}">{% endif %}
|
||||
{% if FEED_RSS %}
|
||||
<link rel="alternate" type="application/rss+xml" title="RSS Feed"
|
||||
href="{{ FEED_DOMAIN }}/{{ FEED_RSS }}">{% endif %}
|
||||
{% if CATEGORY_FEED_ATOM and category %}
|
||||
<link rel="alternate" type="application/atom+xml" title="Categories Atom Feed"
|
||||
href="{{ FEED_DOMAIN }}/{{ CATEGORY_FEED_ATOM|format(category.slug) }}">{% endif %}
|
||||
{% if CATEGORY_FEED_RSS and category %}
|
||||
<link rel="alternate" type="application/rss+xml" title="Categories RSS Feed"
|
||||
href="{{ FEED_DOMAIN }}/{{ CATEGORY_FEED_RSS|format(category.slug) }}">{% endif %}
|
||||
{% if TAG_FEED_ATOM and tag %}
|
||||
<link rel="alternate" type="application/atom+xml" title="Tags Atom Feed"
|
||||
href="{{ FEED_DOMAIN }}/{{ TAG_FEED_ATOM|format(tag.slug) }}">{% endif %}
|
||||
{% if TAG_FEED_RSS and tag %}
|
||||
<link rel="alternate" type="application/rss+xml" title="Tags RSS Feed"
|
||||
href="{{ FEED_DOMAIN }}/{{ TAG_FEED_RSS|format(tag.slug) }}">
|
||||
{% endif %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue