Skip to content

Commit

Permalink
Merge pull request #71 from jwade1327/sponsored
Browse files Browse the repository at this point in the history
Remove ‘Content’ from ‘Sponsored by …’
  • Loading branch information
Shinsina authored May 16, 2024
2 parents 7c97fb8 + 9175694 commit 77bf64c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/common/components/blocks/content/list-item.marko
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ $ const ctaLinkAttrs = { style: ctaLinkStyles, ...linkAttrs };

$ const labels = getAsArray(content, "labels");
<if(labels.includes("Sponsored"))>
$ const tag = (content.company) ? `Sponsored Content by ${get(content, "company.name")}` : "Sponsored Content";
$ 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">
Expand Down

0 comments on commit 77bf64c

Please sign in to comment.