Add a template variable to tell if the Topic is viewed standalone by URL, or not.
This commit is contained in:
parent
ea31d52ac0
commit
db839e2dc4
4 changed files with 11 additions and 1 deletions
|
|
@ -172,6 +172,7 @@ sub viewTemplateVariables {
|
|||
$var->{topStoryCreationDate} = $topStory->get('creationDate');
|
||||
##TODO: Photo variables
|
||||
}
|
||||
$var->{standAlone} = $self->{_standAlone};
|
||||
|
||||
return $var;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue