Fixed Trending and normalized Discover
This commit is contained in:
parent
7d2f6e8fd6
commit
78fe44070c
7 changed files with 33 additions and 20 deletions
|
|
@ -1,4 +1,4 @@
|
|||
<div n:ifset="$info" class="buttons">
|
||||
<div class="buttons">
|
||||
{* is_numeric is used to avoid having a back button with ttwid cursors *}
|
||||
{if isset($_GET['cursor']) && is_numeric($_GET['cursor']) && $_GET['cursor'] != 0}
|
||||
<a class="button is-danger" href="?cursor=0">First</a>
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
{/block}
|
||||
|
||||
{block content}
|
||||
{foreach $data->feed->items as $type => $items}
|
||||
{foreach $data->items as $type => $items}
|
||||
<p class="title">{$type|firstUpper}</p>
|
||||
<div class="columns is-multiline is-vcentered">
|
||||
{foreach $items as $item}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue