auto-update lunr search after committing

This commit is contained in:
Wouter Groeneveld 2021-03-01 14:20:02 +01:00
parent e01553a1f0
commit ca0186158c
3 changed files with 5 additions and 3 deletions

View File

@ -5,6 +5,8 @@ aliases:
disablefb: true disablefb: true
--- ---
Niet gevonden wat je zocht? Probeer hier je geluk: Niet gevonden wat je zocht? Probeer hier je geluk.
Gebruik het sterretje (`*`) om een deel van een woord te zoeken.
{{< searchresults >}} {{< searchresults >}}

View File

@ -16,7 +16,7 @@
}, },
"scripts": { "scripts": {
"build": "/usr/local/bin/hugo", "build": "/usr/local/bin/hugo",
"index": "node build-lunr-index.js > static/js/redzuurdesem-post.json" "install": "node build-lunr-index.js > static/js/redzuurdesem-post.json"
}, },
"repository": { "repository": {
"type": "git", "type": "git",

File diff suppressed because one or more lines are too long