changelog

Custom content for email vs. web

November 21, 2023

Whether it's to tweak some microcopy or to add a new section to your email, you can now use template tags to customize your content for email vs. web.

This is done via the handy-dandy {{ medium }} tag, so you can change your CTA depending on where folks are finding you! Here's an example:

{% if medium == "web" %}
Thanks for reading the archived version of this email! Get the next one in your inbox by clicking [here]({{ subscribe_url }}).
{% endif %}

Updated on

November 21, 2023

Written by

Justin Duke

Justin Duke is a software engineer, lover of words, and the creator of Buttondown.

No credit card required. Only pay for what you use. Cancel anytime.