paritybit.ca

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

commit 03b74b38deaaa124bd9d415cc9c7e7259cec0056
parent c44127d4fa543ef88dd7a8183cddda4624bc5695
Author: Jake Bauer <jbauer@paritybit.ca>
Date:   Sat,  8 Aug 2020 14:14:57 -0400

Fix display of final URL with .md files

Diffstat:
Mcompile | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/compile b/compile @@ -350,5 +350,9 @@ for file in "$@"; do print_error_msg "ERROR: nothing to do." fi - print_success_msg "FINISHED: https://$siteName/$subDir/$fileName.$fileExt" + if [ "$fileExt" = "md" ]; then + print_success_msg "FINISHED: https://$siteName/$subDir/$fileName.html" + else + print_success_msg "FINISHED: https://$siteName/$subDir/$fileName.$fileExt" + fi done