commit dc842742887341cabbdf64f1c0a0013f7790b96a
parent d73edcfaec76a93601d1bb16f915639a99135ad3
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 8 Sep 2018 19:19:58 +0200
smu: read from stdin
Diffstat:
| M | build-page | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --dropbox a/build-page b/build-page
@@ -107,7 +107,7 @@ printf '</ul>\n</div>\n\n'
printf '<div id="main">\n'
if test -f "$page"
then
- smu "$page"
+ smu < "$page"
else
printf '<ul>\n'
ls "${page%/index.md}" | while IFS= read -r dir