This commit is contained in:
+3
-4
@@ -67,6 +67,9 @@ def main():
|
||||
)
|
||||
|
||||
pubhtml = web_template.render(name=name, content=rawhtml, download=download_bar)
|
||||
html_path = destdir / f"{base_name}.html"
|
||||
with html_path.open(mode="w", encoding="utf-8") as f:
|
||||
f.write(pubhtml)
|
||||
|
||||
# process full resume source files
|
||||
filelist = list(srcdir.glob("*.md"))
|
||||
@@ -94,10 +97,6 @@ def main():
|
||||
ats_pdf_path = destdir / f"{base_name}-ats.pdf"
|
||||
htmltopdf(ats_html, ats_pdf_path)
|
||||
|
||||
html_path = destdir / f"{base_name}.html"
|
||||
with html_path.open(mode="w", encoding="utf-8") as f:
|
||||
f.write(pubhtml)
|
||||
|
||||
print(f"Created: {web_pdf_path.name}")
|
||||
print(f"Created: {ats_pdf_path.name}")
|
||||
print(f"Created: {html_path.name}")
|
||||
|
||||
Reference in New Issue
Block a user