Add template field to StoryTopic. The same template will be shared between both modes.
Add top story variables, and tests.
This commit is contained in:
parent
4b859e5ada
commit
ea31d52ac0
5 changed files with 71 additions and 18 deletions
|
|
@ -19,13 +19,16 @@ our $HELP = {
|
|||
],
|
||||
fields => [],
|
||||
variables => [
|
||||
{ 'name' => 'story_loop',
|
||||
'variables' => [
|
||||
{ 'name' => 'url' },
|
||||
{ 'name' => 'title' },
|
||||
{ 'name' => 'creationDate' },
|
||||
{ name => 'story_loop',
|
||||
variables => [
|
||||
{ name => 'url' },
|
||||
{ name => 'title' },
|
||||
{ name => 'creationDate' },
|
||||
],
|
||||
},
|
||||
{ name => 'topStoryTitle' },
|
||||
{ name => 'topStoryUrl' },
|
||||
{ name => 'topStoryCreationDate' },
|
||||
],
|
||||
related => []
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue