switch to htmlgen for content creation

This commit is contained in:
gnat
2024-09-01 15:07:27 -07:00
parent 9e1f368742
commit 90664163a0
23 changed files with 14 additions and 1245 deletions

View File

@ -1,3 +1,8 @@
#!/bin/sh
python3 -u -c "import sludge.src.lib.content; print(sludge.src.lib.content.parse_file('$1'))"
output="$(python3 -u -c "import sludge.src.lib.content; print(sludge.src.lib.content.parse_file('$1'))")"
if [ -z "${2}" ]; then
echo "${output}" | sed "${2}"
else
echo "${output}"
fi