From 8f48786a5420ecc0cb6bbaecae265999e60c8bfc Mon Sep 17 00:00:00 2001 From: admin Date: Wed, 25 Feb 2026 17:10:53 -0800 Subject: [PATCH] clean up format and zip file names --- app.py | 5 +++-- templates/passage.css | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/app.py b/app.py index ae81aef..bf646f4 100644 --- a/app.py +++ b/app.py @@ -32,7 +32,8 @@ def index(): bible_id = { 'NRSV': 'nrsv', 'NIV': 'niv', - 'NLT': 'nlt' + 'NLT': 'nlt', + 'MSG': 'msg' }.get(version) filenameref = reference.replace(' ', '_').replace(':', '_') @@ -90,7 +91,7 @@ def index(): # You can now send png_bytes to a response or store it in a DB print(f"Page {page_index} is {len(png_bytes)} bytes.") - zf.writestr("{}/{}-slide-number-{:02d}.png".format(filenameref, filenameref, page_index), png_bytes) + zf.writestr("{}-{}/{}-slide-number-{:02d}.png".format(filenameref, version, filenameref, page_index), png_bytes) doc.close() diff --git a/templates/passage.css b/templates/passage.css index 6853e94..313c469 100644 --- a/templates/passage.css +++ b/templates/passage.css @@ -342,10 +342,11 @@ .text-html h3 { /* color: #676767; */ color: #000000; + font-family: "Times New Roman", Times, serif; letter-spacing: 0; font-weight: bold; font-style: italic; - font-size: 2.0rem; + font-size: 30px; text-transform: none; } .text-html h4 {