diff options
| author | Jakob L. Kreuze <zerodaysfordays@sdf.org> | 2023-08-05 19:34:35 -0400 |
|---|---|---|
| committer | Jakob L. Kreuze <zerodaysfordays@sdf.org> | 2023-08-05 19:59:56 -0400 |
| commit | 9cd1dc2a045de2375c5afdc24996b5e8f1268b83 (patch) | |
| tree | 66d368692b0d0d7712f19daa0d74b9f5ef16812a /README.md | |
| parent | e2911e800d659ded983fcc71f5e1b369cff88667 (diff) | |
Integrate pagefind for self-hosted search
Largely inspired by this post:
<https://raymii.org/s/blog/Site_update_self_hosted_search_via_pagefind.html>
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -23,6 +23,7 @@ If you find that to not be the case, please let me know. - In Gentoo, this is `net-libs/gnutls` with `USE=guile` - `guile-json >= 4.7.2` - `git` +- `pagefind = 0.12.0` (optional) ### Articles @@ -41,6 +42,9 @@ When `haunt build` completes, the output will be at `haunt/site/`. It may take a minute to fetch comments and webmentions. The build process can be sped up by setting the `HAUNT_SKIP_COMMENTS` environment variable. +If using `pagefind`, the index will need to be build after running `haunt build`. +This can be done with `pagefind -s site/ -b _pagefind/`. + ## Deploying Recommend using `rsync -azv --delete --progress haunt/site/ [DESTINATION]` to update the static components on a remote. |