diff options
author | ubq323 <ubq323@ubq323.website> | 2024-04-29 12:38:47 +0100 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2024-04-29 12:38:47 +0100 |
commit | 92bad116a5fa6ef28dc0c86381a5486e3654bd99 (patch) | |
tree | 827414757ffe057f2cc9abe16175ba66d71f81a4 /build.sh | |
parent | 351a57a5464f5f150317b25a76d64348d953a760 (diff) |
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 |