enable some useful markdown extensions and typography improvements
This commit is contained in:
parent
c46ef5b2bf
commit
74b6c9df5c
|
@ -19,6 +19,8 @@ ARTICLE_URL = 'blog/{slug}.html'
|
||||||
ARTICLE_SAVE_AS = 'blog/{slug}.html'
|
ARTICLE_SAVE_AS = 'blog/{slug}.html'
|
||||||
|
|
||||||
CUSTOM_CSS = "static/custom.css"
|
CUSTOM_CSS = "static/custom.css"
|
||||||
|
# enable typography pre-processing for nicer appearance
|
||||||
|
TYPOGRIFY = True
|
||||||
|
|
||||||
TIMEZONE = 'Europe/Berlin'
|
TIMEZONE = 'Europe/Berlin'
|
||||||
|
|
||||||
|
@ -64,6 +66,17 @@ DEFAULT_PAGINATION = 10
|
||||||
#RELATIVE_URLS = True
|
#RELATIVE_URLS = True
|
||||||
|
|
||||||
# Multilang
|
# Multilang
|
||||||
|
|
||||||
|
MARKDOWN = {
|
||||||
|
'extension_configs': {
|
||||||
|
'markdown.extensions.codehilite': {'use_pygments': True},
|
||||||
|
'markdown.extensions.fenced_code': {},
|
||||||
|
'markdown.extensions.footnotes': {},
|
||||||
|
'markdown.extensions.tables': {},
|
||||||
|
'markdown.extensions.attr_list': {},
|
||||||
|
},
|
||||||
|
'output_format': 'html5',
|
||||||
|
}
|
||||||
DEFAULT_LANG = 'de'
|
DEFAULT_LANG = 'de'
|
||||||
OG_LOCALE = "de_DE"
|
OG_LOCALE = "de_DE"
|
||||||
LOCALE = ("de_DE", "de_DE.utf8")
|
LOCALE = ("de_DE", "de_DE.utf8")
|
||||||
|
|
Loading…
Reference in a new issue