From 8a4d4545bcc88ca5c492ac213c34bf007e50adcd Mon Sep 17 00:00:00 2001 From: Sukil Etxenike Date: Thu, 8 Oct 2020 13:23:17 +0200 Subject: [PATCH] Add alt attribute to cover, include it in TOC --- get_unsong.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/get_unsong.py b/get_unsong.py index 0565996..279af1f 100644 --- a/get_unsong.py +++ b/get_unsong.py @@ -79,7 +79,8 @@ def create_book(): fp.write(header) fp.write("
") if INCLUDE_AUTOGEN_COVER: - fp.write("" % make_cover()) + fp.write("

Cover

") + fp.write("Unsong by Scott Alexander" % make_cover()) fp.write("
") fp.write("\n\n\n".join(nchapters))