summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <git@mx.buetow.org>2021-04-30 09:59:32 +0100
committerPaul Buetow <git@mx.buetow.org>2021-04-30 09:59:32 +0100
commitacefd95284ec8114c605f3cbbc5de2a9fe6cab7f (patch)
tree304fe0058e397e23fea92685b752cad12350195e
parentd8919de192f732a9c2278b17c8369c02d18a09fd (diff)
those files are not real html but only parts
-rwxr-xr-xbuetow.org.sh4
-rw-r--r--footer.html.part (renamed from footer.html)0
-rw-r--r--header.html.part (renamed from header.html)0
3 files changed, 2 insertions, 2 deletions
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.part
index 308b1d01..308b1d01 100644
--- a/footer.html
+++ b/footer.html.part
diff --git a/header.html b/header.html.part
index 7fadf752..7fadf752 100644
--- a/header.html
+++ b/header.html.part