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 {
|
function main {
|
||||||
local file="$(realpath "${BASH_SOURCE[0]}")"
|
local file="$(realpath "${BASH_SOURCE[0]}")"
|
||||||
local root="$(dirname "${file}")"
|
local root="$(dirname "${file}")"
|
||||||
local args=()
|
|
||||||
case "${1}" in
|
|
||||||
'') args+='--print-settings' ;;
|
|
||||||
esac
|
|
||||||
cd "${root}"
|
cd "${root}"
|
||||||
pelican \
|
pelican \
|
||||||
--settings "${SETTINGS}" \
|
--settings "${SETTINGS}" \
|
||||||
"${args[@]}"
|
"${@}"
|
||||||
}
|
}
|
||||||
|
|
||||||
main "${@}"
|
main "${@}"
|
||||||
|
|
|
@ -16,7 +16,7 @@ OUTPUT_PATH = 'out'
|
||||||
OUTPUT_SOURCES = True
|
OUTPUT_SOURCES = True
|
||||||
RELATIVE_URLS = True
|
RELATIVE_URLS = True
|
||||||
|
|
||||||
LINKS = ()
|
LINKS = (
|
||||||
('Link #1', 'https://1'),
|
('Link #1', 'https://1'),
|
||||||
('Link #2', 'https://2'),
|
('Link #2', 'https://2'),
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue