From 1ee325176dea343d662c8382e93f7a7e3f9ff0a3 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Sat, 19 May 2018 13:58:23 -0700 Subject: [PATCH] dumb error fix --- lb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lb b/lb index 797fd50..00fcd98 100755 --- a/lb +++ b/lb @@ -48,7 +48,7 @@ finalize() { \ sed -i "//r $tmpdir/html.html" $blogfile sed -i "//r $tmpdir/rss.xml" $rssfile header="\n\n$title<\/title>\n<link rel='stylesheet type='text\/css' href='$stylesheet'>\n<meta charset='utf-8'\/>\n<\/head>\n<body>" - footer="<\/body>\n<footer>by <strong>$author<\/strong></footer>\n<\/html>" + footer="<\/body>\n<footer>by <strong>$author<\/strong><\/footer>\n<\/html>" sed "0,/^/s//$header/;0,/<h2 id=/s//<h1 id=/;0,/h2>/s//h1>/;\$a$footer" $dir/blog/.drafts/$chosen > $dir/blog/$chosen rm $dir/blog/.drafts/$chosen }