Skip to content

Commit

Permalink
Remove stealth-link-element from body-wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
jwade1327 committed May 28, 2024
1 parent 16b38d8 commit ce46ad5
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions packages/common/components/blocks/body-wrapper.marko
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import moment from "moment";
$ const { newsletter, date } = input;

$ const unixTimestamp = moment(date).unix();
$ const stealthLinkUrl = `${newsletter.site.origin}/email-preview/${newsletter.id}/${unixTimestamp}`;

<table role="presentation" width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
Expand All @@ -28,14 +27,10 @@ $ const stealthLinkUrl = `${newsletter.site.origin}/email-preview/${newsletter.i
<common-header-block date=date newsletter=newsletter />
</else>

<common-stealth-link-element link-text=newsletter.site.name link-url=`${stealthLinkUrl}/top` />

<if(input.body)>
<${input.body} />
</if>

<common-stealth-link-element link-text=newsletter.site.name link-url=`${stealthLinkUrl}/bottom` />

<!-- Footer block -->
<if(input.footer)>
<${input.footer} />
Expand Down

0 comments on commit ce46ad5

Please sign in to comment.