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 = (
425
425
return `${ isVideoContainer ? 'video-container' : arrowName } -${ direction } ` ;
426
426
} ;
427
427
428
+ const cleanTitle = ( title : string ) => {
429
+ return title . replace ( 'More' , '' ) . trimStart ( ) ;
430
+ } ;
431
+
428
432
const Title = ( {
429
433
title,
430
434
isCuratedContent,
@@ -453,7 +457,9 @@ const Title = ({
453
457
) : (
454
458
< h2 css = { headerStyles } >
455
459
{ isCuratedContent ? 'More from ' : '' }
456
- < span css = { titleStyle ( isCuratedContent ) } > { title } </ span >
460
+ < span css = { titleStyle ( isCuratedContent ) } >
461
+ { isCuratedContent ? cleanTitle ( title ) : title }
462
+ </ span >
457
463
</ h2 >
458
464
) ;
459
465
Original file line number Diff line number Diff line change @@ -103,11 +103,11 @@ const containerUrls = {
103
103
EUR : 'uk/commentisfree/regular-stories' ,
104
104
} ,
105
105
culture : {
106
- UK : 'uk/culture/regular-stories ' ,
106
+ UK : '2771a8ab-952a-4bbc-9aa0-6863fed77712 ' ,
107
107
US : 'us/culture/regular-stories' ,
108
108
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 ' ,
111
111
} ,
112
112
lifestyle : {
113
113
UK : '5011-3940-8793-33a9' ,
You can’t perform that action at this time.
0 commit comments