mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Merge pull request #2256 from mosra/default-lang-to-docutils
Propagate value of DEFAULT_LANG to Docutils reST parser
This commit is contained in:
commit
9cf05fb2ae
1 changed files with 1 additions and 0 deletions
|
|
@ -234,6 +234,7 @@ class RstReader(BaseReader):
|
|||
extra_params = {'initial_header_level': '2',
|
||||
'syntax_highlight': 'short',
|
||||
'input_encoding': 'utf-8',
|
||||
'language_code': self.settings.get('DEFAULT_LANG'),
|
||||
'exit_status_level': 2,
|
||||
'embed_stylesheet': False}
|
||||
user_params = self.settings.get('DOCUTILS_SETTINGS')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue