jeffa.io/www/build.fish

12 lines
260 B
Fish
Raw Normal View History

2023-05-19 13:32:14 +00:00
for file in src/**/*.md
set -l output (string replace .md .html $file)
set -l output (string replace src/ out/ $output)
pandoc \
--to html \
--template templates/page.html \
2023-05-19 13:32:14 +00:00
$file \
> $output
end
cp basic.css out/