blog/build.sh
2020-10-26 01:13:12 -07:00

11 lines
340 B
Bash

#!/bin/bash
# First scaffold
gensite -s
# Second root pages/resources
for f in pages/*.md; do echo $f && gensite -r $f;done
for f in root/*; do echo $f && gensite -R $f ;done
# Third the posts
for post in posts/*.md; do echo $post && gensite -p $post;done
# Finally the notes
for note in notes/*.md; do echo $note && gensite -P $note;done