Add HTML email generator
This commit is contained in:
parent
35b999c8c6
commit
f1864d8841
14 changed files with 1748 additions and 16 deletions
55
mdtosendy_config/config.yml
Normal file
55
mdtosendy_config/config.yml
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
# Email Generator Configuration
|
||||
# Copy this file to config.yml and fill in your values
|
||||
|
||||
# Sendy API Configuration
|
||||
sendy:
|
||||
api_url: ''
|
||||
api_key: ''
|
||||
brand_id: ''
|
||||
list_ids: ''
|
||||
|
||||
# Email Settings
|
||||
email:
|
||||
from_name: 'Pascal Le Merrer'
|
||||
from_email: 'contact@craftletter.fr'
|
||||
reply_to: 'contact@craftletter.fr'
|
||||
|
||||
# Campaign Settings
|
||||
campaign:
|
||||
track_opens: '0'
|
||||
track_clicks: '0'
|
||||
default_timezone: 'Europe/Paris'
|
||||
|
||||
# Template Settings
|
||||
template:
|
||||
header_image_url: 'https://www.craftletter.fr/images/craftletter.svg'
|
||||
header_image_alt: 'Logo Craft Letter'
|
||||
header_image_width: 600
|
||||
header_image_height: 185
|
||||
signature_image_url: ''
|
||||
signature_image_alt: ''
|
||||
signature_image_width: 0
|
||||
signature_image_height: 0
|
||||
signature_text: ''
|
||||
# Optional: Primary footer appears after signature, before unsubscribe section
|
||||
# Can contain Markdown or HTML (e.g., product links, promotional content)
|
||||
# primary_footer: |
|
||||
# [](example.com "Purchase on the Mac App Store") | [](example.com "Purchase directly")
|
||||
# Footer text - can contain Markdown and will preserve <webversion> and <unsubscribe> tags
|
||||
# Sendy will replace these tags when sending the email
|
||||
# footer_text: |
|
||||
# Copyright © 2025 Your Name<br>
|
||||
# 123 Main St<br>
|
||||
# City, State ZIP
|
||||
#
|
||||
# <webversion>View on the web</webversion> | <unsubscribe>Unsubscribe</unsubscribe>
|
||||
|
||||
# File Paths
|
||||
paths:
|
||||
template_file: 'email-template.html'
|
||||
styles_file: 'styles.css'
|
||||
|
||||
# Markdown Processor
|
||||
markdown:
|
||||
processor: 'multimarkdown' # or 'apex', pandoc', 'kramdown', etc.
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue