diff --git a/emails/post.tsx b/emails/post.tsx
--- a/emails/post.tsx
+++ b/emails/post.tsx
@@ -483,6 +483,7 @@
assetsBaseUrl={p.assetsBaseUrl}
theme={theme}
colors={c}
+ postUrl={p.postUrl}
/>
))}
@@ -687,6 +688,7 @@
assetsBaseUrl,
theme,
colors,
+ postUrl,
}: {
block: PubLeafletPagesLinearDocument.Block["block"];
alignment?: string;
@@ -694,6 +696,7 @@
assetsBaseUrl: string;
theme: EmailTheme;
colors: ResolvedColors;
+ postUrl: string;
}) => {
if (PubLeafletBlocksText.isMain(block)) {
return (
@@ -862,7 +865,9 @@
/>
);
}
- return ;
+ return (
+
+ );
};
// Helpers used by the confirm-email templates inside their
@@ -1276,9 +1281,11 @@
export const BlockNotSupported = ({
theme = defaultEmailTheme,
colors,
+ postUrl,
}: {
theme?: EmailTheme;
colors?: ResolvedColors;
+ postUrl?: string;
} = {}) => {
const c = colors ?? resolveColors(theme);
return (
@@ -1312,6 +1319,7 @@
}}
>