1
0
Fork 0
forked from github/pelican

Articles translations are enabled. To use this feature, you need to

add a Lang meta into the each article and set DEFAULT_LANG setting
which is 'en' by default.

Than, only articles in the default language (or without variant in
default language) will be shown in the index of the blog. And each
Article will have translations list.

The same is applicable to the static Pages.

Also, separate feeds are generated for each language except default.
This commit is contained in:
Alexander Artemenko 2010-12-19 00:32:43 +03:00
commit 3afdb8fcff
4 changed files with 79 additions and 8 deletions

View file

@ -10,6 +10,7 @@ _DEFAULT_CONFIG = {'PATH': None,
'THEME_STATIC_PATHS': ['static',],
'FEED': 'feeds/all.atom.xml',
'CATEGORY_FEED': 'feeds/%s.atom.xml',
'TRANSLATION_FEED': 'feeds/all-%s.atom.xml',
'SITENAME': 'A Pelican Blog',
'DISPLAY_PAGES_ON_MENU': True,
'PDF_GENERATOR': False,