File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed
dotcom-rendering/src/components Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -425,6 +425,10 @@ const getDataLinkNameCarouselButton = (
425425 return `${ isVideoContainer ? 'video-container' : arrowName } -${ direction } ` ;
426426} ;
427427
428+ const cleanTitle = ( title : string ) => {
429+ return title . replace ( 'More' , '' ) . trimStart ( ) ;
430+ } ;
431+
428432const Title = ( {
429433 title,
430434 isCuratedContent,
@@ -453,7 +457,9 @@ const Title = ({
453457 ) : (
454458 < h2 css = { headerStyles } >
455459 { isCuratedContent ? 'More from ' : '' }
456- < span css = { titleStyle ( isCuratedContent ) } > { title } </ span >
460+ < span css = { titleStyle ( isCuratedContent ) } >
461+ { isCuratedContent ? cleanTitle ( title ) : title }
462+ </ span >
457463 </ h2 >
458464 ) ;
459465
Original file line number Diff line number Diff line change @@ -103,11 +103,11 @@ const containerUrls = {
103103 EUR : 'uk/commentisfree/regular-stories' ,
104104 } ,
105105 culture : {
106- UK : 'uk/culture/regular-stories ' ,
106+ UK : '2771a8ab-952a-4bbc-9aa0-6863fed77712 ' ,
107107 US : 'us/culture/regular-stories' ,
108108 AU : 'au/culture/regular-stories' ,
109- INT : 'uk/culture/regular-stories ' ,
110- EUR : 'uk/culture/regular-stories ' ,
109+ INT : '2771a8ab-952a-4bbc-9aa0-6863fed77712 ' ,
110+ EUR : '2771a8ab-952a-4bbc-9aa0-6863fed77712 ' ,
111111 } ,
112112 lifestyle : {
113113 UK : '5011-3940-8793-33a9' ,
You can’t perform that action at this time.
0 commit comments