guess i made it worse :D
This commit is contained in:
parent
27ae3773ba
commit
3848c78261
|
@ -1,4 +1,4 @@
|
|||
</article><!-- Do not remove this closing article element -->
|
||||
|
||||
<!-- Content placed here will appear directly before the closing </body> tag -->
|
||||
<!--#include file="/footer.cgi"-->
|
||||
<!--#include file="/en/footer.cgi"-->
|
||||
|
|
4
sed.sh
4
sed.sh
|
@ -1,8 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
sed -i -e 's/<header>//'\
|
||||
-e 's/<\/header>//'\
|
||||
-e 's/<body>/<body>\n<\!--#include file=\"\/nav.php\"-->\n/'\
|
||||
-e 's/<\/body>/<\/body>\n<!--#include file=\"\/footer.cgi\"-->\n/'\
|
||||
-e 's/<body>/<body>\n<\!--#include file=\"\/nav.php\" -->\n/'\
|
||||
-e 's/<\/body>/<\/body>\n<!--#include file=\"\/footer.cgi\" -->\n/'\
|
||||
-e 's/..\/..\/style.css/\/blog\/style.css/'\
|
||||
_output/blog/index.html
|
||||
sed -i -n '1,/<style>/p;/<\/style>/,$p' _output/blog/index.html
|
||||
|
|
Loading…
Reference in New Issue