tfixed the footer update - monochromatic - monochromatic blog: http://blog.z3bra.org
(HTM) git clone git://z3bra.org/monochromatic
(DIR) Log
(DIR) Files
(DIR) Refs
---
(DIR) commit bf6298c85a4c337d2df3c4499d16f28274c6a293
(DIR) parent edb8b548a25d33ef357fd0bf995851e66d090333
(HTM) Author: Willy Goiffon <w.goiffon@gmail.com>
Date: Fri, 9 Aug 2013 15:51:49 +0200
fixed the footer update
Diffstat:
M 2013/08/test-your-css.html | 3 ---
M about.html | 3 ---
M index.html | 2 --
M update.sh | 2 +-
4 files changed, 1 insertion(+), 9 deletions(-)
---
(DIR) diff --git a/2013/08/test-your-css.html b/2013/08/test-your-css.html
t@@ -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>
© 2013 WTFPL — <a href='http://www.wtfpl.net/about/'>Do What the Fuck You Want to Public License</a>
(DIR) diff --git a/about.html b/about.html
t@@ -60,9 +60,6 @@
</article>
</section>
</div>
- <div id='blank'></div>
- <!-- Footer {{{ -->
- <!-- footer {{{ -->
<!-- footer {{{ -->
<footer>
© 2013 WTFPL — <a href='http://www.wtfpl.net/about/'>Do What the Fuck You Want to Public License</a>
(DIR) diff --git a/index.html b/index.html
t@@ -45,8 +45,6 @@
</section>
</div>
<div id='blank'></div>
- <!-- Footer {{{ -->
- <!-- footer {{{ -->
<!-- footer {{{ -->
<footer>
© 2013 WTFPL — <a href='http://www.wtfpl.net/about/'>Do What the Fuck You Want to Public License</a>
(DIR) diff --git a/update.sh b/update.sh
t@@ -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