paritybit.ca

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit cd11c25f98e01f5427ff699ea71a4d923e59bce2
parent 1648546e74e052eda3fb519f357bf2943ee63fd9
Author: Jake Bauer <jbauer@paritybit.ca>
Date:   Sun, 21 Jun 2020 00:09:06 -0400

Fix md/css extension removal

Diffstat:
Mcompile | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/compile b/compile @@ -273,7 +273,8 @@ for file in "$@"; do continue fi - fileName=$(basename -s .md -s .css "$file") + fileName=$(basename -s .md "$file") + fileName=$(basename -s .css "$fileName") fileExt=$(echo "$file" | awk -F . '{if (NF>1) {print $NF}}') fileDir=$(dirname "$file") subDir=$(echo "$fileDir" | sed "s/^pages//")