actually, footer now proper <footer>

This commit is contained in:
Luke Smith 2018-05-19 13:54:41 -07:00
parent 5591375acd
commit 09e057dd9a
1 changed files with 1 additions and 1 deletions

2
lb
View File

@ -48,7 +48,7 @@ finalize() { \
sed -i "/<!-- LB -->/r $tmpdir/html.html" $blogfile
sed -i "/<!-- LB -->/r $tmpdir/rss.xml" $rssfile
header="<html>\n<head>\n<title>$title<\/title>\n<link rel='stylesheet type='text\/css' href='$stylesheet'>\n<meta charset='utf-8'\/>\n<\/head>\n<body>"
footer="<div=\"footer\">by <b>$author<\/b><\/div><\/body>\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
}