Home

My Seasonal Commandments Website Search app Pagefind

https://pagefind.app/docs/

Check that npx is installed: $ npx -v

To use the Node wrapper, run the following command from your terminal, where –site points to the output directory of your static site generator. We’ll also add –serve so that we can view our final site right away.

npx -y pagefind –site /home/pi/msc/public –serve

old-250130 drwxr-xr-x 4 pi pi 4096 Oct 31 18:01 pagefind 1.2M used in 3 directories, 186 files


2025.01.30[14:59:58]pi@aas:/home/pi$ npx -y pagefind –site /home/pi/msc/public –serve

Running Pagefind v1.3.0 (Extended) Running from: “/home/pi” Source: “msc/public” Output: “msc/public/pagefind”

[Walking source directory] Found 136 files matching **/*.{html}

[Parsing files] Found a data-pagefind-body element on the site. ↳ Ignoring pages without this tag. 6 pages found without an element. Pages without an outer element will not be processed by default. If adding this element is not possible, use the root selector config to target a different root element.

[Reading languages] Discovered 1 language: en

[Building search indexes] Total: Indexed 1 language Indexed 14 pages Indexed 2794 words Indexed 0 filters Indexed 0 sorts

Finished in 0.636 seconds Serving “msc/public” at http://localhost:1414

1.3M used in 3 directories, 195 files


___
HomeAbout This SiteAbout The AuthorAcknowledgementsContactDedicationDownloadsSite Tags