Merge branch 'main' into preview/pagefind1x
diff --git a/README.md b/README.md
index 4769428..f2f37e0 100644
--- a/README.md
+++ b/README.md
@@ -87,6 +87,8 @@
 
 Commits to it will be staged at www-_your-asf-id_.staged.apache.org
 
+=======
+
 Note: the branch name must not include any "." characters,
 or browsers will refuse to display the site due to an invalid SSL certificate.
 The underscore character should not be used either, as it is disallowed in host names.
diff --git a/pagefind.sh b/pagefind.sh
index e52b9d5..2f90435 100644
--- a/pagefind.sh
+++ b/pagefind.sh
@@ -29,8 +29,8 @@
 if [ -z "$PAGEFIND" ] # could not find pagefind
 then
     echo "Download pagefind"
-    PAGEFIND_VERSION='0.12.0'
-    PAGEFIND_HASH='3e450176562b65359f855c04894ec2c07ffd30a8d08ef4d5812f8d3469d7a58f'
+    PAGEFIND_VERSION='1.0.3'
+    PAGEFIND_HASH='e84ec7e8cb424022aa70ca14e6735c67c9728596753321dec782a902c3bfe6f0'
     BINDIR=$(mktemp -d)
     TARGET=${BINDIR}/pagefind.tar.gz
     wget --no-verbose -O ${TARGET} https://github.com/CloudCannon/pagefind/releases/download/v${PAGEFIND_VERSION}/pagefind-v${PAGEFIND_VERSION}-x86_64-unknown-linux-musl.tar.gz
@@ -46,4 +46,4 @@
 fi
 
 echo "Running pagefind on ${PELICAN_OUTPUT_PATH}"
-${PAGEFIND} --source ${PELICAN_OUTPUT_PATH}
+${PAGEFIND} --site ${PELICAN_OUTPUT_PATH} --output-subdir "_pagefind"