Blog timeline of news actor for front screen

merge-requests/8/head
Bob Mottram 2020-11-27 15:20:34 +00:00
parent bc026da06d
commit d87b66d847
1 changed files with 3 additions and 1 deletions

View File

@ -515,7 +515,9 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
# if this is the features timeline then use the news actor
timelineNickname = nickname
if boxName == 'tlfeatures':
# use the blog timeline of the news actor
timelineNickname = 'news'
timelineBoxName = 'tlblog'
# if this is the media timeline then add an extra gallery container
if boxName == 'tlmedia':
@ -576,7 +578,7 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
item, None, True,
allowDeletion,
httpPrefix, projectVersion,
boxName,
timelineBoxName,
YTReplacementDomain,
showPublishedDateOnly,
boxName != 'dm',