diff options
author | Neil Ray <ray@tilde.institute> | 2020-09-02 13:10:11 -0400 |
---|---|---|
committer | Neil Ray <ray@tilde.institute> | 2020-09-02 13:10:11 -0400 |
commit | 1117bfbd81c8bc12da59c59a7b8e58c4dfb33ee7 (patch) | |
tree | fb73c0edd3e8502884f01f29f4090f9a08dec415 /update.sh | |
parent | 7abe5dafc9879422f34580f577dd6885164082e4 (diff) | |
download | prep_html-1117bfbd81c8bc12da59c59a7b8e58c4dfb33ee7.tar.gz |
tweak html per suckless example
Diffstat (limited to 'update.sh')
-rwxr-xr-x | update.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/update.sh b/update.sh index 862cd29..9a8ab00 100755 --- a/update.sh +++ b/update.sh @@ -10,7 +10,8 @@ git add store_plan_proj git commit -m 'usual updates to plan & project' sed "s/TINMAN/$tin_img/g" top.tmpl > top.html sed "s/^Status:/Status (`date +%Y-%m-%d`):/" ~/.project > project.cooked -cat top.html ~/.plan mid.html project.cooked end.html > ~/public_html/index.html +sed "s/^(Status.+:)$/<strong>&</strong>/" project.cooked > project.done +cat top.html ~/.plan mid.html project.done end.html > ~/public_html/index.html if [ ! -e ~/public_html/$tin_img ]; then cp $tin_img ~/public_html; fi -rm project.cooked top.html +rm project.cooked project.done top.html |