Comments (1)
This is because of how Go represents types in the JSON map internally. You can use the Sprig int
function to treat the number as an int.
{{ if eq (.Suscriber.Attribs.years | int) 15 }}
Please refer to the Sprig docs: https://masterminds.github.io/sprig/conversion.html
from listmonk.
Related Issues (20)
- error sending message: mail: unclosed angle-addr When trying to send sample emails (also no emails are sending) HOT 3
- Use a Data Table library HOT 1
- Generated Links Are Too Long
- Intermittent 'error sending message: broken pipe' HOT 1
- Sent 0 even though status shows finished HOT 1
- Double Opt-In List Confirmation Emails Fail to Send HOT 3
- Bounce Processing with Postal webhook
- Feature request: Import from CSV by generating json data HOT 4
- Select SMTP provider at the campaign level HOT 1
- Community extensions docs page? HOT 1
- Update 'Deploy to Elestio' button to newer version
- Undo import? HOT 5
- How to connect Listmonk to a GUI like DB Beaver.
- Merging attributes instead of overwriting them, when importing subscribers HOT 1
- Customize the confirmation mail
- Edit a campaign after launch
- Uploading Media To Listmonk Questions HOT 1
- Not sending Bcc HOT 2
- Go template code in the subject line remains in the email head
- Protecting listmonk against cross-site request forgery (CSRF)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from listmonk.