commit bd64d102cda0159b7a1c1cd32db7b530b6473a76
parent 43cbe6eaeade1f6e7b3f139912d03afe316241c5
Author: Beau <cbeauhilton@gmail.com>
Date: Thu, 12 Jan 2023 15:14:28 -0600
update
Diffstat:
1 file changed, 0 insertions(+), 2 deletions(-)
diff --git a/site/posts/pagecrypt.md b/site/posts/pagecrypt.md
@@ -26,13 +26,11 @@ which stitches together a piece of code that creates a list of all the pages we'
and another bit that does the encryption proper.
```json
-
{
"make-pw-files-file": "grep -rlF 'password_required: true' content | sed s+\\.md+\\/index.html+g | sed s+content/+public/+g > pw_file",
"protect-files": "cat pw_file | while read f || [[ -n $f ]]; do npx pagecrypt $f $f $PAGECRYPT; done",
"postbuild": "npm run -s make-pw-files-file && npm run -s protect-files ",
}
-
```
<br>