mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
control scope of identification of translations with new settings
This commit is contained in:
parent
c97c128d16
commit
77c967f1db
8 changed files with 165 additions and 99 deletions
|
|
@ -108,6 +108,8 @@ DEFAULT_CONFIG = {
|
|||
'DAY_ARCHIVE_SAVE_AS': '',
|
||||
'RELATIVE_URLS': False,
|
||||
'DEFAULT_LANG': 'en',
|
||||
'ARTICLE_TRANSLATION_ID': 'slug',
|
||||
'PAGE_TRANSLATION_ID': 'slug',
|
||||
'DIRECT_TEMPLATES': ['index', 'tags', 'categories', 'authors', 'archives'],
|
||||
'THEME_TEMPLATES_OVERRIDES': [],
|
||||
'PAGINATED_TEMPLATES': {'index': None, 'tag': None, 'category': None,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue