From eea6d617e8a7d618f2f5013d81e404b69ec3ea6e Mon Sep 17 00:00:00 2001 From: oiseauroch Date: Sun, 7 Jul 2024 19:47:55 +0200 Subject: [PATCH] add script to update --- .gitignore | 1 + update_site.sh | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 .gitignore create mode 100755 update_site.sh diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a1ebbb1 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +update.log diff --git a/update_site.sh b/update_site.sh new file mode 100755 index 0000000..c5b5e08 --- /dev/null +++ b/update_site.sh @@ -0,0 +1,4 @@ +git fetch >> update.log +git merge master >> update.log +sed -i 's#class="align-left">www.piquemouche.fr
#>piquemouche.fr#g' *.html >> update.log +echo '.footer__copyright ul{margin-left:2rem}.footer__copyright{text-transform:none!important;display:flex;flex-direction:row;justify-content:space-around}.footer__copyright>p{display:none}.footer__copyright ul>li{list-style:none}.footer__copyright ul>li:first-child{font-size:1.5em;font-weight:700}.footer__copyright{margin-left:10%;margin-right:10%}body{background: #FFF8D6;}' >> assets/css/style.css