blog/build.sh
Marc Beninca 88145b304f i18n
2022-03-18 00:02:33 +01:00

15 lines
272 B
Bash
Executable file

#! /usr/bin/env bash
SETTINGS='settings.py'
function main {
local file="$(realpath "${BASH_SOURCE[0]}")"
local root="$(dirname "${file}")"
cd "${root}"
pelican \
--settings "${SETTINGS}" \
"${@}" && \
ln --symbolic '../theme' 'out/fr'
}
main "${@}"