Blog timeline of news actor for front screen

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