sbs

A Simple Blogging System.
git clone https://git.sr.ht/~jbauer/sbs
Log | Files | Refs | README | LICENSE

commit ef9eb307eeb43350afe4ca4f42a36e4dc2834c57
parent 2731e45e20c466bdff196d8a714c2e011fae0aca
Author: Jake Bauer <jbauer@paritybit.ca>
Date:   Mon, 14 Feb 2022 23:46:52 -0500

Improve page generation message output

Diffstat:
Msbs | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sbs b/sbs @@ -129,6 +129,8 @@ for file in "$@"; do subDir=$(dirname "$file" | sed "s/^content//") mkdir -p "static/$subDir" + printf "Creating: static$subDir/$fileName.html...\n" + # Extract metadata from the markdown document title=$(lowdown -X title "$file") meta=$(lowdown -X summary "$file") @@ -141,7 +143,7 @@ for file in "$@"; do -e "s/content=\"\"/content=\"$meta\"/" \ > "static/$subDir/$fileName".html - printf "Created: static/$subDir$fileName.html\n" + printf "Created: static$subDir/$fileName.html\n" done exit 0