diff --git a/build.sh b/build.sh index b737549..dc206c2 100755 --- a/build.sh +++ b/build.sh @@ -5,14 +5,10 @@ SETTINGS='settings.py' function main { local file="$(realpath "${BASH_SOURCE[0]}")" local root="$(dirname "${file}")" -local args=() - case "${1}" in - '') args+='--print-settings' ;; - esac cd "${root}" pelican \ --settings "${SETTINGS}" \ - "${args[@]}" + "${@}" } main "${@}" diff --git a/settings.py b/settings.py index 645ef38..f15f2f2 100644 --- a/settings.py +++ b/settings.py @@ -16,7 +16,7 @@ OUTPUT_PATH = 'out' OUTPUT_SOURCES = True RELATIVE_URLS = True -LINKS = () +LINKS = ( ('Link #1', 'https://1'), ('Link #2', 'https://2'), )