From ed37d4172a5069fc59319610dc5e19ec958f1bdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?tr=C3=A9meur?= Date: Sat, 10 Jun 2023 08:29:10 +0100 Subject: [PATCH] Keep footer at page bottom --- headerfooter.py | 7 ++++--- indexgen.py | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/headerfooter.py b/headerfooter.py index eb8d1d7..a3c0b4b 100644 --- a/headerfooter.py +++ b/headerfooter.py @@ -5,7 +5,7 @@ def headerwrite(output,title,headerone,desc,main=False,local=False): header.write("/home/mdd/Documents/drive/proj/fic-archive/build/") else: header.write("/fic/") - header.write("archive.css\">\n\n\n\n" + title + "\n\n\n
\n

" + headerone + "

\n" + desc + "\n") + header.write("archive.css\">\n\n\n\n" + title + "\n\n\n
\n
\n

" + headerone + "

\n" + desc + "\n") if not main: header.write("

\n\n

\n\n") + footer.write("\">\n\n
\n\n") footer.close() diff --git a/indexgen.py b/indexgen.py index 3e769ea..bdffa8e 100644 --- a/indexgen.py +++ b/indexgen.py @@ -37,7 +37,7 @@ def indexgen(local=False): filewrite.write("events/index.html") else: filewrite.write("/fic/events") - filewrite.write("\">Events\n

I’ve been participating in fandom exchanges and other events since late 2020. Most fics I write these days that aren’t in FF fandoms are in this category (although a lot of the FF ones are as well).

\n
") + filewrite.write("\">Events\n

I’ve been participating in fandom exchanges and other events since late 2020. Most fics I write these days that aren’t in FF fandoms are in this category (although a lot of the FF ones are as well).

\n\n") filewrite.close() headerfooter.footerwrite("build/index.html",True,local)