~exprez135/taliaferro

ref: 916d474da632854f52b75fc1443d4177322044ea taliaferro/generate.sh -rwxr-xr-x 481 bytes
916d474d — Nate Resizing census image: rebuilding site Sat Apr 11 18:49:20 CDT 2020. 10 months ago
                                                                                
1
2
3
4
5
6
7
8
9
#!/bin/sh

# node is a javascript runtime. In our project, it is used with lunrjs to create an index of all posts and content to enable the search page to function.
# build-lunrjs-index.js is the file which builds this index.
# This script runs that file with node and outputs the resulting index to static/gen/search-index.json.
# See the search page in layouts for more information on how the actual searching works.

node ./build-lunrjs-index.js > static/gen/search-index.json