~exprez135/taliaferro

ref: 8b6e0f7c019f532841af40b950c4048422232234 taliaferro/generate.sh -rwxr-xr-x 481 bytes
8b6e0f7c — Nate rebuilding site Sun Feb 9 13:47:19 CST 2020: Fix navbar symbols showing up first. 1 year, 8 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