From c7b48de8967c980dd129572f6b7e7b01272bcc53 Mon Sep 17 00:00:00 2001 From: Freezed Date: Wed, 13 Feb 2019 16:03:18 +0100 Subject: [PATCH] Del category atom feed & add feed link in template --- mytheme/templates/base.html | 4 +++- pubconf-devel.py | 3 +-- pubconf-master.py | 1 - 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mytheme/templates/base.html b/mytheme/templates/base.html index d0a4ea6..4aba47a 100644 --- a/mytheme/templates/base.html +++ b/mytheme/templates/base.html @@ -49,11 +49,13 @@ Je t'offre une bière la prochaine fois que l'on se croise avec le mot de passe {{ name }} {% endfor %} {% endif %} - | {% if SOCIAL or FEED_ALL_ATOM or FEED_ALL_RSS %} {% for name, link in SOCIAL %} {{ name|title }} {% endfor %} + {% if FEED_ALL_ATOM %} + Flux Atom + {% endif %} {% endif %}

Frédéric Zind - Copyleft CC-BY-SA - 2011/2019 diff --git a/pubconf-devel.py b/pubconf-devel.py index 5ed2566..e9ef5c9 100644 --- a/pubconf-devel.py +++ b/pubconf-devel.py @@ -11,10 +11,9 @@ sys.path.append(os.curdir) from pelicanconf import * # 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' -CATEGORY_FEED_ATOM = 'feeds/{slug}.atom.xml' LINKS = (('Archives', '/mypelican/articles/'), ('Tags', '/mypelican/tags/'), diff --git a/pubconf-master.py b/pubconf-master.py index 6eb21b6..7af0c54 100644 --- a/pubconf-master.py +++ b/pubconf-master.py @@ -14,7 +14,6 @@ from pelicanconf import * SITEURL = 'http://pro.zind.fr' FEED_ALL_ATOM = 'feeds/all.atom.xml' -CATEGORY_FEED_ATOM = 'feeds/{slug}.atom.xml' # URL of the repo to link build commit REPO_COMMIT_URL = 'https://gitlab.com/free_zed/free_zed.gitlab.io/commit'