Del category atom feed & add feed link in template
This commit is contained in:
parent
b6550fbbec
commit
c7b48de896
|
@ -49,11 +49,13 @@ Je t'offre une bière la prochaine fois que l'on se croise avec le mot de passe
|
||||||
<a class="spaced" href="{{ link }}">{{ name }}</a>
|
<a class="spaced" href="{{ link }}">{{ name }}</a>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<span class="spaced">|</span>
|
|
||||||
{% if SOCIAL or FEED_ALL_ATOM or FEED_ALL_RSS %}
|
{% if SOCIAL or FEED_ALL_ATOM or FEED_ALL_RSS %}
|
||||||
{% for name, link in SOCIAL %}
|
{% for name, link in SOCIAL %}
|
||||||
<a class="spaced" href="{{ link }}">{{ name|title }}</a>
|
<a class="spaced" href="{{ link }}">{{ name|title }}</a>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% if FEED_ALL_ATOM %}
|
||||||
|
<a class="spaced" href="{{ FEED_DOMAIN }}/{% if FEED_ALL_ATOM_URL %}{{ FEED_ALL_ATOM_URL }}{% else %}{{ FEED_ALL_ATOM }}{% endif %}" type="application/atom+xml" rel="alternate">Flux Atom</a>
|
||||||
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<p class="spaced">
|
<p class="spaced">
|
||||||
Frédéric Zind - <a href="https://creativecommons.org/licenses/by-sa/2.0/deed.fr" title="Licence du contenu">Copyleft CC-BY-SA</a> - 2011/2019
|
Frédéric Zind - <a href="https://creativecommons.org/licenses/by-sa/2.0/deed.fr" title="Licence du contenu">Copyleft CC-BY-SA</a> - 2011/2019
|
||||||
|
|
|
@ -11,10 +11,9 @@ sys.path.append(os.curdir)
|
||||||
from pelicanconf import *
|
from pelicanconf import *
|
||||||
|
|
||||||
# If your site is available via HTTPS, make sure SITEURL begins with https://
|
# If your site is available via HTTPS, make sure SITEURL begins with https://
|
||||||
SITEURL = 'https://free_zed.gitlab.io/mypelican'
|
SITEURL = 'http://free_zed.gitlab.io/mypelican'
|
||||||
|
|
||||||
FEED_ALL_ATOM = 'feeds/all.atom.xml'
|
FEED_ALL_ATOM = 'feeds/all.atom.xml'
|
||||||
CATEGORY_FEED_ATOM = 'feeds/{slug}.atom.xml'
|
|
||||||
|
|
||||||
LINKS = (('Archives', '/mypelican/articles/'),
|
LINKS = (('Archives', '/mypelican/articles/'),
|
||||||
('Tags', '/mypelican/tags/'),
|
('Tags', '/mypelican/tags/'),
|
||||||
|
|
|
@ -14,7 +14,6 @@ from pelicanconf import *
|
||||||
SITEURL = 'http://pro.zind.fr'
|
SITEURL = 'http://pro.zind.fr'
|
||||||
|
|
||||||
FEED_ALL_ATOM = 'feeds/all.atom.xml'
|
FEED_ALL_ATOM = 'feeds/all.atom.xml'
|
||||||
CATEGORY_FEED_ATOM = 'feeds/{slug}.atom.xml'
|
|
||||||
|
|
||||||
# URL of the repo to link build commit
|
# URL of the repo to link build commit
|
||||||
REPO_COMMIT_URL = 'https://gitlab.com/free_zed/free_zed.gitlab.io/commit'
|
REPO_COMMIT_URL = 'https://gitlab.com/free_zed/free_zed.gitlab.io/commit'
|
||||||
|
|
Loading…
Reference in New Issue