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-05-21 05:11:04 +0100
commit877f88b791cece4e82f1343cfef86ece5628daa2 (patch)
treea6e48bdc48467e27b1b735e075a59ff4c4e38e0b
parent20af5279f1166080c0804558c4429e332e4d62a6 (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