diff options
author | m-r-r <raybaudroigm@gmail.com> | 2012-07-28 20:27:10 +0200 |
---|---|---|
committer | m-r-r <raybaudroigm@gmail.com> | 2012-07-28 20:27:10 +0200 |
commit | de76c5ad9a0c976a2e78b1dc0cf6ab3a2a3143f1 (patch) | |
tree | 6846e78a06cbe38421a32e079925b8637b3bfa47 /dev-random2/templates/includes | |
parent | a451e774c4a476452350616160a10884cd12872c (diff) | |
download | pelican-themes-de76c5ad9a0c976a2e78b1dc0cf6ab3a2a3143f1.tar.gz |
[dev-random2] fixed a feed problem
Diffstat (limited to 'dev-random2/templates/includes')
-rw-r--r-- | dev-random2/templates/includes/sidebar.html | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/dev-random2/templates/includes/sidebar.html b/dev-random2/templates/includes/sidebar.html index 84d17e7..0d5d5ef 100644 --- a/dev-random2/templates/includes/sidebar.html +++ b/dev-random2/templates/includes/sidebar.html @@ -34,9 +34,11 @@ <nav> <h3>Liens</h3> <ul> - <li><a href="{{ SITEURL }}/{{ FEED }}" rel="alternate">Flux Atom</a></li> + {% if FEED_ATOM %} + <li><a href="{{ FEED_DOMAIN }}/{{ FEED_ATOM }}">Flux ATOM</a></li> + {% endif %} {% if FEED_RSS %} - <li><a href="{{ SITEURL }}/{{ FEED_RSS }}" rel="alternate">Flux RSS</a></li> + <li><a href="{{ FEED_DOMAIN }}/{{ FEED_RSS }}">Flux RSS</a></li> {% endif %} {% if SOCIAL %} {% for name, url in SOCIAL %} |