fixes
This commit is contained in:
parent
14fc25100e
commit
8b442a0363
2 changed files with 2 additions and 6 deletions
6
build.sh
6
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 "${@}"
|
||||
|
|
|
@ -16,7 +16,7 @@ OUTPUT_PATH = 'out'
|
|||
OUTPUT_SOURCES = True
|
||||
RELATIVE_URLS = True
|
||||
|
||||
LINKS = ()
|
||||
LINKS = (
|
||||
('Link #1', 'https://1'),
|
||||
('Link #2', 'https://2'),
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue