Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to latest version of pagefind #445

Open
wants to merge 14 commits into
base: main
Choose a base branch
from
4 changes: 2 additions & 2 deletions content/js/jquery.min.js

Large diffs are not rendered by default.

9 changes: 3 additions & 6 deletions pagefind.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,9 @@ set -e # fast exit (must be done after 'which' invocation)

if [ -z "$PAGEFIND" ] # could not find pagefind
then
# PAGEFIND_VERSION='1.1.0'
# PAGEFIND_HASH='b20d0b06b54eb2fba1e290245919376364584a456fb644e66eecdb67549b1cf2'
# Revert to previous version, as 1.1.0 generates spurious differences
PAGEFIND_VERSION='1.0.4'
PAGEFIND_HASH='a3a1ecf1d6edd79551c8b98a863b20cbdd999316a6ca73e81e277a74449db886'
# Releases are currently available from: https://github.com/CloudCannon/pagefind/releases
PAGEFIND_VERSION='1.3.0'
PAGEFIND_HASH='5dfb56609c2d08058c3be56a1a2d332d8dc50d9a6c74f20b3619eadb53240af3'
echo "Download pagefind ${PAGEFIND_VERSION}"
BINDIR=$(mktemp -d)
TARGET=${BINDIR}/pagefind.tar.gz
Expand All @@ -51,4 +49,3 @@ fi

echo "Running pagefind on ${PELICAN_OUTPUT_PATH}"
${PAGEFIND} --site ${PELICAN_OUTPUT_PATH} --output-subdir "_pagefind"