pages/.comma
2024-03-30 22:28:01 +00:00

9 lines
262 B
Bash
Executable file

#! /usr/bin/env bash
for entry in entries/*.md; do
echo "$entry"
done | cut -d "/" -f 2 | cut -d "." -f 1 | while read -r entry; do
cp ./header.html "entries/${entry}.html" -f
pandoc -t html --ascii "entries/${entry}.md" >> "entries/${entry}.html"
done