summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEkaitz Zárraga <ekaitz.zarraga@protonmail.com>2019-02-03 13:25:08 +0100
committerEkaitz Zárraga <ekaitz.zarraga@protonmail.com>2019-02-03 13:25:08 +0100
commitf9231b4800b606481f937d7233cfb41440be4f66 (patch)
tree5e633646150baed53bf8e40b79d415dd80f24247
parent8760ece4b5ada6e748962a4c3032f3d3745c3aff (diff)
Add translation feeds
-rw-r--r--publishconf.py7
1 files changed, 7 insertions, 0 deletions
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'