pep8
This commit is contained in:
parent
edcc28d056
commit
922979d34c
@ -4,6 +4,7 @@ from __future__ import unicode_literals
|
|||||||
|
|
||||||
from pelican import __version__ as PELICAN_VERSION
|
from pelican import __version__ as PELICAN_VERSION
|
||||||
|
|
||||||
|
from jinja2 import Environment
|
||||||
|
|
||||||
# Basic settings (http://docs.getpelican.com/en/stable/settings.html#basic-settings)
|
# Basic settings (http://docs.getpelican.com/en/stable/settings.html#basic-settings)
|
||||||
DEFAULT_CATEGORY = 'Sin categoría'
|
DEFAULT_CATEGORY = 'Sin categoría'
|
||||||
@ -14,17 +15,30 @@ MARKDOWN = {
|
|||||||
'extension_configs': {
|
'extension_configs': {
|
||||||
'markdown.extensions.codehilite': {'css_class': 'highlight'},
|
'markdown.extensions.codehilite': {'css_class': 'highlight'},
|
||||||
'markdown.extensions.extra': {},
|
'markdown.extensions.extra': {},
|
||||||
'markdown.extensions.footnotes': {'BACKLINK_TITLE': 'Volver a la nota %d en el texto'},
|
'markdown.extensions.footnotes': {
|
||||||
|
'BACKLINK_TITLE': 'Volver a la nota %d en el texto'
|
||||||
|
},
|
||||||
'markdown.extensions.meta': {},
|
'markdown.extensions.meta': {},
|
||||||
},
|
},
|
||||||
'output_format': 'html5',
|
'output_format': 'html5',
|
||||||
}
|
}
|
||||||
# Fix issue with < and > characters (among others) being double-escaped
|
# Fix issue with < and > characters (among others) being double-escaped
|
||||||
# Bug report in markdown/extensions/codehilite.py → https://github.com/Python-Markdown/markdown/pull/726/files
|
# Bug report in markdown/extensions/codehilite.py
|
||||||
|
# https://github.com/Python-Markdown/markdown/pull/726/files
|
||||||
|
|
||||||
PATH = 'content'
|
PATH = 'content'
|
||||||
PLUGIN_PATHS = ['plugins']
|
PLUGIN_PATHS = ['plugins']
|
||||||
PLUGINS = ['another_read_more_link', 'compressor', 'i18n_subsites', 'neighbors', 'pelican-css-js', 'sitemap', 'tag-cloud', 'tipue-search']
|
PLUGINS = [
|
||||||
|
'another_read_more_link',
|
||||||
|
'compressor',
|
||||||
|
'i18n_subsites',
|
||||||
|
'neighbors',
|
||||||
|
'pelican-css-js',
|
||||||
|
'sitemap',
|
||||||
|
'tag-cloud',
|
||||||
|
'tipue-search'
|
||||||
|
]
|
||||||
|
|
||||||
# PAGE_PATHS = ['pages']
|
# PAGE_PATHS = ['pages']
|
||||||
# PAGE_URL = 'pages/{slug}/'
|
# PAGE_URL = 'pages/{slug}/'
|
||||||
# PAGE_SAVE_AS = 'pages/{slug}/index.html'
|
# PAGE_SAVE_AS = 'pages/{slug}/index.html'
|
||||||
@ -214,7 +228,9 @@ I18N_SUBSITES = {
|
|||||||
'extension_configs': {
|
'extension_configs': {
|
||||||
'markdown.extensions.codehilite': {'css_class': 'highlight'},
|
'markdown.extensions.codehilite': {'css_class': 'highlight'},
|
||||||
'markdown.extensions.extra': {},
|
'markdown.extensions.extra': {},
|
||||||
'markdown.extensions.footnotes': {'BACKLINK_TITLE': 'Jump back to footnote %d in the text'},
|
'markdown.extensions.footnotes': {
|
||||||
|
'BACKLINK_TITLE': 'Jump back to footnote %d in the text'
|
||||||
|
},
|
||||||
'markdown.extensions.meta': {},
|
'markdown.extensions.meta': {},
|
||||||
},
|
},
|
||||||
'output_format': 'html5',
|
'output_format': 'html5',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user