aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pelicanconf.py46
1 files changed, 46 insertions, 0 deletions
diff --git a/pelicanconf.py b/pelicanconf.py
index 1e28703..f67b232 100644
--- a/pelicanconf.py
+++ b/pelicanconf.py
@@ -163,6 +163,21 @@ I18N_UNTRANSLATED_PAGES = 'remove'
I18N_SUBSITES = {
'de': {
'LOCALE': ('de_DE.UTF-8'),
+ 'MARKDOWN': {
+ 'extension_configs': {
+ 'markdown.extensions.toc': {
+ 'title': 'Inhaltsverzeichnis',
+ 'permalink': 'true'
+ },
+ 'markdown.extensions.codehilite': {'css_class': 'highlight'},
+ 'markdown.extensions.extra': {},
+ 'markdown.extensions.footnotes': {
+ 'BACKLINK_TITLE': 'Springe zurück zu footnote %d im text'
+ },
+ 'markdown.extensions.meta': {},
+ },
+ 'output_format': 'html5',
+ }
},
'en': {
'LOCALE': ('en_US.UTF-8'),
@@ -170,6 +185,7 @@ I18N_SUBSITES = {
'extension_configs': {
'markdown.extensions.toc': {
'title': 'Table of Contents',
+ 'permalink': 'true'
},
'markdown.extensions.codehilite': {'css_class': 'highlight'},
'markdown.extensions.extra': {},
@@ -183,9 +199,39 @@ I18N_SUBSITES = {
},
'eo': {
'LOCALE': ('eo.UTF-8'),
+ 'MARKDOWN': {
+ 'extension_configs': {
+ 'markdown.extensions.toc': {
+ 'title': 'Enhavtabelo',
+ 'permalink': 'true'
+ },
+ 'markdown.extensions.codehilite': {'css_class': 'highlight'},
+ 'markdown.extensions.extra': {},
+ 'markdown.extensions.footnotes': {
+ 'BACKLINK_TITLE': 'Saltu al footnote %d en la teksto'
+ },
+ 'markdown.extensions.meta': {},
+ },
+ 'output_format': 'html5',
+ }
},
'fr': {
'LOCALE': ('fr_FR.UTF-8'),
+ 'MARKDOWN': {
+ 'extension_configs': {
+ 'markdown.extensions.toc': {
+ 'title': 'Table des matières',
+ 'permalink': 'true'
+ },
+ 'markdown.extensions.codehilite': {'css_class': 'highlight'},
+ 'markdown.extensions.extra': {},
+ 'markdown.extensions.footnotes': {
+ 'BACKLINK_TITLE': 'Revenir à la footnote %d dans le texte'
+ },
+ 'markdown.extensions.meta': {},
+ },
+ 'output_format': 'html5',
+ }
},
}
JINJA_ENVIRONMENT = {'extensions': ['jinja2.ext.i18n']}