aboutsummaryrefslogtreecommitdiffstats
path: root/built-texts
diff options
context:
space:
mode:
authorTaiju Muto <hello@tai2.net>2014-07-03 22:57:43 +0900
committerTaiju Muto <hello@tai2.net>2014-07-03 22:57:43 +0900
commit84bc59ad9b5d3369bd1314995b435d1ef0a0f507 (patch)
tree5d64305473b77e0b41ddc22814e3b642993a1ba7 /built-texts
parent8e4b1d196941aeeb882bada4082b330da78fff19 (diff)
downloadpelican-themes-84bc59ad9b5d3369bd1314995b435d1ef0a0f507.zip
pelican-themes-84bc59ad9b5d3369bd1314995b435d1ef0a0f507.tar.gz
pelican-themes-84bc59ad9b5d3369bd1314995b435d1ef0a0f507.tar.bz2
Put Atom feed instead of empty link.
Diffstat (limited to 'built-texts')
-rw-r--r--built-texts/templates/base.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/built-texts/templates/base.html b/built-texts/templates/base.html
index b7c3dfb..c15ed67 100644
--- a/built-texts/templates/base.html
+++ b/built-texts/templates/base.html
@@ -113,9 +113,11 @@
<i class="icon-rss" style="color: #1f334b"></i>
RSS Feed</a></li>
{% endif %}
- <li><a href="{{ SITEURL }}/{{ FEED }}" rel="alternate">
- <i class="icon-rss-sign" style="color: #1f334b"></i>
+ {% if FEED_ATOM %}
+ <li> <a href="{{ FEED_DOMAIN }}/{{ FEED_ATOM }}" rel="alternate">
+ <i class="icon-rss" style="color: #1f334b"></i>
Atom Feed</a></li>
+ {% endif %}
</ul>
</div>