sbs

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

commit f556a03890adb3eeebda6b9def731fb69d407339
parent a9a71b687f4026f106a2b382da3c06da65b8fc17
Author: Jake Bauer <jbauer@paritybit.ca>
Date:   Wed, 27 Apr 2022 11:33:17 -0400

Fix title tag replacement

Diffstat:
Msbs | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sbs b/sbs @@ -157,7 +157,7 @@ build() # Build and process the output document lowdown $buildOptions "$file" \ | cat "templates/header.html" - "templates/footer.html" \ - | sed -e "s/<title>.*<\/title>/<title>$title - $siteName<\/title>/" \ + | sed -e "s/<title><\/title>/<title>$title - $siteName<\/title>/" \ -e "s/lang=\"\"/lang=\"$languageCode\"/" \ -e "s/content=\"\"/content=\"$meta\"/" \ > "static/$subDir/$fileName".html