From f9231b4800b606481f937d7233cfb41440be4f66 Mon Sep 17 00:00:00 2001 From: Ekaitz Zárraga Date: Sun, 3 Feb 2019 13:25:08 +0100 Subject: Add translation feeds --- publishconf.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/publishconf.py b/publishconf.py index 601470f..4a6b1b2 100644 --- a/publishconf.py +++ b/publishconf.py @@ -13,7 +13,14 @@ from pelicanconf import * SITEURL = 'https://ekaitz.elenq.tech' #RELATIVE_URLS = False +# Translations +ARTICLE_TRANSLATION_ID = 'slug' +PAGE_TRANSLATION_ID = 'slug' + +# Feeds +FEED_DOMAIN = SITEURL FEED_ALL_ATOM = 'feeds/all.atom.xml' +TRANSLATION_FEED_ATOM = 'feeds/all-{lang}.atom.xml' #CATEGORY_FEED_ATOM = 'feeds/{slug}.atom.xml' #AUTHOR_FEED_ATOM = 'feeds/{slug}.atom.xml' -- cgit v1.2.3