This commit is contained in:
Marc Beninca 2022-03-18 00:02:33 +01:00
parent 7464440ece
commit 88145b304f
5 changed files with 16 additions and 5 deletions

View file

@ -8,7 +8,8 @@ local root="$(dirname "${file}")"
cd "${root}" cd "${root}"
pelican \ pelican \
--settings "${SETTINGS}" \ --settings "${SETTINGS}" \
"${@}" "${@}" && \
ln --symbolic '../theme' 'out/fr'
} }
main "${@}" main "${@}"

View file

@ -1 +0,0 @@
/sw/pelican

View file

@ -1 +0,0 @@
pelican/plugins

View file

@ -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 = '' SITEURL = ''
DEFAULT_LANG = 'en' DEFAULT_LANG = 'en'
I18N_SUBSITES = {
'fr': {
},
}
SITENAME = 'rwx.work' SITENAME = 'rwx.work'
AUTHOR = 'mspe' AUTHOR = 'mspe'
TIMEZONE = 'UTC' TIMEZONE = 'UTC'
@ -8,7 +22,6 @@ DEFAULT_METADATA = {
} }
PATH = 'in' PATH = 'in'
THEME = 'themes/pelican-twitchy'
DELETE_OUTPUT_DIRECTORY = True DELETE_OUTPUT_DIRECTORY = True
OUTPUT_PATH = 'out' OUTPUT_PATH = 'out'

1
themes
View file

@ -1 +0,0 @@
pelican/themes