i18n
This commit is contained in:
parent
7464440ece
commit
88145b304f
5 changed files with 16 additions and 5 deletions
15
settings.py
15
settings.py
|
@ -1,5 +1,19 @@
|
|||
PELICAN = '/data/software/pelican'
|
||||
|
||||
PLUGIN_PATHS = [f'{PELICAN}/plugins']
|
||||
THEMES = f'{PELICAN}/themes'
|
||||
|
||||
PLUGINS = ['i18n_subsites']
|
||||
THEME = f'{THEMES}/pelican-twitchy'
|
||||
|
||||
SITEURL = ''
|
||||
|
||||
DEFAULT_LANG = 'en'
|
||||
I18N_SUBSITES = {
|
||||
'fr': {
|
||||
},
|
||||
}
|
||||
|
||||
SITENAME = 'rwx.work'
|
||||
AUTHOR = 'mspe'
|
||||
TIMEZONE = 'UTC'
|
||||
|
@ -8,7 +22,6 @@ DEFAULT_METADATA = {
|
|||
}
|
||||
|
||||
PATH = 'in'
|
||||
THEME = 'themes/pelican-twitchy'
|
||||
|
||||
DELETE_OUTPUT_DIRECTORY = True
|
||||
OUTPUT_PATH = 'out'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue