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