Skip to content

Commit

Permalink
Merge pull request #32 from Financial-Times/CI-1165-replace-podcast-d…
Browse files Browse the repository at this point in the history
…escription-with-standfirst

Ci 1165 replace podcast description with standfirst
  • Loading branch information
AliceArmstrong authored Oct 13, 2022
2 parents a4e20d9 + 816b824 commit ef9d680
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/lib/get-topper-settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ const usePodcastTopper = (content, flags) => {
includesImage: true,
fthead: content.mainImage && content.mainImage.url,
modifiers: ['branded', 'has-headshot'],
standfirst: content.byline,
standfirst: content.standfirst,
myFtButton: {
variant: 'inverse',
followPlusDigestEmail: followPlusDigestEmail(flags)
Expand Down
4 changes: 2 additions & 2 deletions test/lib/get-topper-settings.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ describe('Get topper settings', () => {
it('returns the podcast topper', () => {
const topper = getTopperSettings({
subtype: 'podcast',
byline: 'byline',
standfirst: 'example-standfirst',
mainImage: {
url: 'mainImageUrl'
}
Expand All @@ -128,7 +128,7 @@ describe('Get topper settings', () => {
expect(topper).to.deep.include({
isPodcast: true,
fthead: 'mainImageUrl',
standfirst: 'byline'
standfirst: 'example-standfirst'
});
});
});
Expand Down

0 comments on commit ef9d680

Please sign in to comment.