From 8b442a0363158caaba378207bd5f820881850fe9 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 13 Mar 2022 19:55:23 +0100 Subject: [PATCH] fixes --- build.sh | 6 +----- settings.py | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) 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'), )