diff --git a/build.sh b/build.sh index dc206c2..4a004be 100755 --- a/build.sh +++ b/build.sh @@ -8,7 +8,8 @@ local root="$(dirname "${file}")" cd "${root}" pelican \ --settings "${SETTINGS}" \ - "${@}" + "${@}" && \ + ln --symbolic '../theme' 'out/fr' } main "${@}" diff --git a/pelican b/pelican deleted file mode 120000 index d65c9c4..0000000 --- a/pelican +++ /dev/null @@ -1 +0,0 @@ -/sw/pelican \ No newline at end of file diff --git a/plugins b/plugins deleted file mode 120000 index b84f3aa..0000000 --- a/plugins +++ /dev/null @@ -1 +0,0 @@ -pelican/plugins \ No newline at end of file diff --git a/settings.py b/settings.py index f15f2f2..f92d50f 100644 --- a/settings.py +++ b/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' diff --git a/themes b/themes deleted file mode 120000 index 33f3b6f..0000000 --- a/themes +++ /dev/null @@ -1 +0,0 @@ -pelican/themes \ No newline at end of file