re-worked the endpoints and stylegen logic

This commit is contained in:
2024-02-22 14:39:14 -07:00
parent 3bebca6b48
commit acd9ac6cdb
6 changed files with 46 additions and 33 deletions

View File

@ -52,7 +52,7 @@ fi
echo $BINARY
# Infer pages from .html files in the pages directory
PAGES=$(ls ../pages/templates/*.html | xargs -n 1 basename | cut -d. -f1)
PAGES=$(ls ../pages/templates/*.html | xargs -n 1 basename | sed 's/\.[^.]*$//')
# Run the binary for each page
for PAGE in $PAGES; do