mirror of
https://github.com/arsenetar/pelican-red.git
synced 2024-11-24 19:59:02 +00:00
Andrew Senetar
9f22128702
Base template now figures out the page title property & heading title. This allows the title block to be not be used in sub templates. The feed and navigation sections of the base template are now in seperate files to make it easier to navigate the source.
24 lines
1.5 KiB
HTML
24 lines
1.5 KiB
HTML
{% if FEED_ATOM -%}
|
|
<link href="{{ FEED_DOMAIN }}/{{ FEED_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} ATOM Feed" />
|
|
{% endif %}
|
|
{%if FEED_RSS -%}
|
|
<link href="{{ FEED_DOMAIN }}/{{ FEED_RSS }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} RSS Feed" />
|
|
{% endif %}
|
|
{% if FEED_ALL_ATOM -%}
|
|
<link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Full ATOM Feed" />
|
|
{% endif %}
|
|
{%if FEED_ALL_RSS -%}
|
|
<link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_RSS }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} Full RSS Feed" />
|
|
{% endif %}
|
|
{% if CATEGORY_FEED_ATOM and category -%}
|
|
<link href="{{ FEED_DOMAIN }}/{{ CATEGORY_FEED_ATOM|format(category) }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Categories ATOM Feed" />
|
|
{% endif %}
|
|
{%if CATEGORY_FEED_RSS and category -%}
|
|
<link href="{{ FEED_DOMAIN }}/{{ CATEGORY_FEED_RSS|format(category) }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} Categories RSS Feed" />
|
|
{% endif %}
|
|
{% if TAG_FEED_ATOM and tag -%}
|
|
<link href="{{ FEED_DOMAIN }}/{{ TAG_FEED_ATOM|format(tag) }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} ATOM Feed" />
|
|
{% endif %}
|
|
{%if TAG_FEED_RSS and tag -%}
|
|
<link href="{{ FEED_DOMAIN }}/{{ TAG_FEED_RSS|format(tag) }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} RSS Feed" />
|
|
{% endif %} |