monochromatic

monochromatic blog: http://blog.z3bra.org
git clone git://z3bra.org/monochromatic
Log | Files | Refs

commit bf6298c85a4c337d2df3c4499d16f28274c6a293
parent edb8b548a25d33ef357fd0bf995851e66d090333
Author: Willy Goiffon <w.goiffon@gmail.com>
Date:   Fri,  9 Aug 2013 15:51:49 +0200

fixed the footer update

Diffstat:
2013/08/test-your-css.html | 3---
about.html | 3---
index.html | 2--
update.sh | 2+-
4 files changed, 1 insertion(+), 9 deletions(-)

diff --git a/2013/08/test-your-css.html b/2013/08/test-your-css.html @@ -112,9 +112,6 @@ main (<span class="Type">int</span> argc, <span class="Type">char</span> **argv) </article> </section> </div> - <div id='blank'></div> - <!-- Footer {{{ --> - <!-- footer {{{ --> <!-- footer {{{ --> <footer> &copy; 2013 WTFPL &mdash; <a href='http://www.wtfpl.net/about/'>Do What the Fuck You Want to Public License</a> diff --git a/about.html b/about.html @@ -60,9 +60,6 @@ </article> </section> </div> - <div id='blank'></div> - <!-- Footer {{{ --> - <!-- footer {{{ --> <!-- footer {{{ --> <footer> &copy; 2013 WTFPL &mdash; <a href='http://www.wtfpl.net/about/'>Do What the Fuck You Want to Public License</a> diff --git a/index.html b/index.html @@ -45,8 +45,6 @@ </section> </div> <div id='blank'></div> - <!-- Footer {{{ --> - <!-- footer {{{ --> <!-- footer {{{ --> <footer> &copy; 2013 WTFPL &mdash; <a href='http://www.wtfpl.net/about/'>Do What the Fuck You Want to Public License</a> diff --git a/update.sh b/update.sh @@ -3,7 +3,7 @@ for file in $(find . -name '*.html'); do if [[ -n "$(cat $file|tr -d '\n' |grep -E '</header>.*<footer>')" ]]; then cat head.template > buffer.html - sed '1,/<\/header>/d;/<footer>/,$d' $file >> buffer.html + sed '1,/<\/header>/d;/<!-- footer/,$d' $file >> buffer.html cat foot.template >> buffer.html mv buffer.html $file