Skip to content

Commit

Permalink
Remove commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
jwade1327 committed Oct 24, 2024
1 parent 265107d commit a852676
Showing 1 changed file with 1 addition and 20 deletions.
21 changes: 1 addition & 20 deletions packages/common/components/blocks/content/list-item.marko
Original file line number Diff line number Diff line change
Expand Up @@ -72,26 +72,7 @@ $ const ctaLinkAttrs = { style: ctaLinkStyles, ...linkAttrs };
<tr>
<td align="center" valign="top">
<table role="presentation" width="610" border="0" align="center" cellpadding="0" cellspacing="0" class="wrap003">

<!-- $ const labels = getAsArray(content, "labels");
<if(labels.includes("Sponsored"))>
$ const tag = (content.company) ? `Sponsored by ${get(content, "company.name")}` : "Sponsored Content";
<tr>
<td align="left" valign="top" style=sponsoredTagStyle>${tag}</td>
<td align="right" width="200">
<marko-core-obj-value|{ value: image }| obj=company field="primaryImage" as="object">
<marko-newsletter-imgix
src=image.src
alt=image.alt
options={ w: 360, auto: "format,compress" }
attrs={ border: 0, width: 180 }
>
<@link href=url target="_blank" attrs=imgLinkAttrs />
</marko-newsletter-imgix>
</marko-core-obj-value>
</td>
</tr>
</if> -->
<if(withSection)>
<tr>
<td align="left" valign="top" style=tagStyle>${get(content, "primarySection.name")}</td>
Expand Down

0 comments on commit a852676

Please sign in to comment.