New article "fhir date parameters", config changes for multilanguage
support, tarnslations for existing pages and articles
This commit is contained in:
+31
-7
@@ -6,14 +6,27 @@ AUTHOR = 'haemka'
|
||||
SITENAME = 'haemka'
|
||||
SITEURL = ''
|
||||
|
||||
PATH = './content/'
|
||||
|
||||
TIMEZONE = 'Europe/Berlin'
|
||||
|
||||
DEFAULT_LANG = 'en'
|
||||
LOCALE = 'en_US.UTF-8'
|
||||
|
||||
THEME = './themes/latex/'
|
||||
|
||||
PLUGINS = ['i18n_subsites']
|
||||
I18N_SUBSITES = {
|
||||
'de': {
|
||||
'SITENAME': 'haemka',
|
||||
'LOCALE': 'de_DE.UTF-8',
|
||||
},
|
||||
}
|
||||
|
||||
PATH = './content/'
|
||||
PAGE_PATHS = ['pages']
|
||||
ARTICLE_PATHS = ['en', 'de']
|
||||
|
||||
|
||||
|
||||
# Feed generation is usually not desired when developing
|
||||
FEED_ALL_ATOM = None
|
||||
CATEGORY_FEED_ATOM = None
|
||||
@@ -27,11 +40,22 @@ LINKS = (('Pelican', 'http://getpelican.com/'),
|
||||
('Jinja2', 'http://jinja.pocoo.org/'),
|
||||
('You can modify those links in your config file', '#'),)
|
||||
|
||||
# Social widget
|
||||
SOCIAL = (('You can add links in your config file', '#'),
|
||||
('Another social link', '#'),)
|
||||
|
||||
DEFAULT_PAGINATION = False
|
||||
|
||||
# Uncomment following line if you want document-relative URLs when developing
|
||||
RELATIVE_URLS = True
|
||||
|
||||
DISPLAY_RECENT_ARTICLES_ON_MENU = True
|
||||
RECENT_ARTICLES_COUNT = 10
|
||||
|
||||
MARKDOWN = {
|
||||
'extension_configs': {
|
||||
'markdown.extensions.extra': {},
|
||||
'markdown.extensions.codehilite': {'css_class': 'highlight'},
|
||||
'markdown.extensions.meta': {},
|
||||
'markdown.extensions.toc': {
|
||||
'permalink': True,
|
||||
'toc_depth': '2-4',
|
||||
},
|
||||
},
|
||||
'output_format': 'html5',
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user