* Remove extraneous trailing slash from sed rule.
* Insert big MKWS logo at top right.
* Add awk script to wrap headed sections in <div class='pane'>
# Tweak the HTML generated by pandoc into the form we want
cat ${@+"$@"} |
- sed '/^<col width="[0-9]*%" \/>$//d'
+ sed '/^<col width="[0-9]*%" \/>$/d' |
+ sed 's/<body>/&\
+<img src="images\/mkws-logo-300px.png" alt="MKWS logo"\/>/' | awk '
+/^<h[0-9] id/ {
+ if (seen) {
+ print "</div>";
+ }
+ print "<div class='"'"pane"'"'>";
+ seen = 1;
+}
+/^<hr/ {
+ print "</div>";
+}
+{ print }
+'