Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Campaigns without templates #2247

Open
pepicrft opened this issue Jan 8, 2025 · 1 comment
Open

Campaigns without templates #2247

pepicrft opened this issue Jan 8, 2025 · 1 comment
Labels
question Further information is requested

Comments

@pepicrft
Copy link

pepicrft commented Jan 8, 2025

I'm using Listmonk just as a tool to keep track of subscribers and their relationship with lists, and deliver new campaigns. The full HTML for every campaign is something that I have in a codebase, so I'd like to just copy and paste the HTML and send it. Unfortunately, that's not possible with Listmonk's approach, which assumes there'll be a template, and some plain content to be inserted in it. Is there any way to break that assumption? I try to have a barebones template with just the line to include the content, but then the content gets flattened losing all its styling and markup.

Thanks

@pepicrft pepicrft added the question Further information is requested label Jan 8, 2025
@knadh
Copy link
Owner

knadh commented Jan 8, 2025

You can create a template with with just {{ template "content" . }} and have the entire HTML body pasted in the campaign.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants