Skip to content

Commit

Permalink
update newsletter template (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
themantre authored Feb 3, 2025
1 parent 70c52ef commit 78a5bc4
Show file tree
Hide file tree
Showing 4 changed files with 90 additions and 403 deletions.
1 change: 1 addition & 0 deletions newsletter/md_to_email.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ def convert_markdown_to_html(template_file: str, md_file: str, output_html: str)
template = load_template(template_file)
html = template.replace("{{.title}}", title)
html = html.replace("{{.preheader}}", description)
html = html.replace("{{.main-font}}", "font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.5; color:rgb(10,10,10);")
html = html.replace("{{.content}}", html_content)
html = html.replace("{{.newsletter_image}}", newsletter_image)

Expand Down
Loading

0 comments on commit 78a5bc4

Please sign in to comment.