From 46c1f367fe8c028b0dd00dec5d41e7e60c7edcc0 Mon Sep 17 00:00:00 2001 From: Eric Phillips Date: Mon, 9 Feb 2026 13:29:50 -0700 Subject: [PATCH] add name for html template and browser title --- src/main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.py b/src/main.py index 29a8dab..6d7b0de 100644 --- a/src/main.py +++ b/src/main.py @@ -9,6 +9,7 @@ j2_env = Environment(loader=FileSystemLoader("templates")) srcdir = Path("markdown") destdir = Path("publish") +name = "Eric W Phillips - Resume" def main(): @@ -42,7 +43,7 @@ def main(): # html -> resume.template print("processing rawhtml through resume.template") template = j2_env.get_template("resume.template") - pdfhtml = template.render(content=rawhtml, download="") + pdfhtml = template.render(name=name, content=rawhtml, download="") print(f"processing html to '{outfilepdf}'") htmltopdf(pdfhtml, outfilepdf)