From 877f88b791cece4e82f1343cfef86ece5628daa2 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Fri, 30 Apr 2021 09:59:32 +0100 Subject: those files are not real html but only parts --- buetow.org.sh | 4 ++-- footer.html | 2 -- footer.html.part | 2 ++ header.html | 19 ------------------- header.html.part | 19 +++++++++++++++++++ 5 files changed, 23 insertions(+), 23 deletions(-) delete mode 100644 footer.html create mode 100644 footer.html.part delete mode 100644 header.html create mode 100644 header.html.part diff --git a/buetow.org.sh b/buetow.org.sh index 191f99eb..245d608f 100755 --- a/buetow.org.sh +++ b/buetow.org.sh @@ -241,9 +241,9 @@ html::generate () { dest=${dest/.gmi/.html} local dest_dir=$(dirname $dest) test ! -d $dest_dir && mkdir -p $dest_dir - cat header.html > $dest.tmp + cat header.html.part > $dest.tmp html::gemini2html $src >> $dest.tmp - cat footer.html >> $dest.tmp + cat footer.html.part >> $dest.tmp mv $dest.tmp $dest git add $dest done diff --git a/footer.html b/footer.html deleted file mode 100644 index 308b1d01..00000000 --- a/footer.html +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/footer.html.part b/footer.html.part new file mode 100644 index 00000000..308b1d01 --- /dev/null +++ b/footer.html.part @@ -0,0 +1,2 @@ + + diff --git a/header.html b/header.html deleted file mode 100644 index 7fadf752..00000000 --- a/header.html +++ /dev/null @@ -1,19 +0,0 @@ - - - -buetow.org - Having fun with computers! - - - - diff --git a/header.html.part b/header.html.part new file mode 100644 index 00000000..7fadf752 --- /dev/null +++ b/header.html.part @@ -0,0 +1,19 @@ + + + +buetow.org - Having fun with computers! + + + + -- cgit v1.2.3