diff options
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -21,6 +21,10 @@ bp() { } # build page with extensions automatically bpn() { bp ${1}.lua ${1}.html; } + +# build page into subdir (xyz.lua becomes /xyz/) +bpnd() { md "$1"; bp ${1}.lua ${1}/index.html; } + # copy file (or dir) cf() { echo "${src}/$1 -> ${dst}/$1" @@ -38,6 +42,8 @@ cf me.png md questions bpn questions/questions +bpnd garden + # md blog # bp blogindex.lua blog/index.html |