all repos — h3rald @ 58466a8cc01308bf1dee92312c71f467d2a435f7

The sources of https://h3rald.com

scripts/index.min

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
;Re-index articles
'hastysite import

"Indexing articles..." notice

.                           :pwd
(. "data.db") => "/" join   :store

(. "output") => "/" join cd

(store file?) 
(
  "Deleting search index..." notice
  store rm
) when

"Importing data..." notice
"litestore -s:$1 -d:articles import" (store) => % !

pwd cd

"All done." notice