2020-05-16 15:53:45 +00:00
|
|
|
title = "Feed"
|
2020-10-23 22:54:30 +00:00
|
|
|
url = "/feed/:channel?/:tag?/"
|
2020-05-16 15:53:45 +00:00
|
|
|
layout = "default"
|
|
|
|
is_hidden = 0
|
2020-10-23 22:54:30 +00:00
|
|
|
|
|
|
|
[ShortFeed]
|
|
|
|
channelFilter = "{{ :channel }}"
|
|
|
|
tagFilter = "{{ :tag }}"
|
|
|
|
maxItems = 50
|
|
|
|
|
|
|
|
[ChannelList]
|
|
|
|
includeEmpty = 0
|
|
|
|
|
|
|
|
[TagList]
|
2020-05-16 15:53:45 +00:00
|
|
|
==
|
2020-10-23 22:54:30 +00:00
|
|
|
<?php
|
2020-10-28 23:56:43 +00:00
|
|
|
function onStart()
|
|
|
|
{
|
|
|
|
$this->addJs('https://cdnjs.cloudflare.com/ajax/libs/jqcloud/1.0.3/jqcloud.min.js');
|
|
|
|
$this->addJs('assets/javascript/feedlayout.js');
|
|
|
|
//$this->addCss('https://cdnjs.cloudflare.com/ajax/libs/jqcloud/1.0.3/jqcloud.min.css');
|
2020-10-23 22:54:30 +00:00
|
|
|
}
|
|
|
|
?>
|
|
|
|
==
|
2020-10-28 23:56:43 +00:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-9">
|
|
|
|
<h1>Feed</h1>
|
|
|
|
<div id="feedarea" class="col-container masonry">
|
|
|
|
{% partial 'feed/template' feeditemclass='col-sm-12 col-md-6 col-xl-4' %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-lg-3">
|
|
|
|
<h2>Channels</h2>
|
|
|
|
{% component 'ChannelList' %}
|
|
|
|
|
|
|
|
<h2>Tags</h2>
|
|
|
|
<div id="tagcloud"><img src="{{ 'assets/images/loading.svg' | theme }}"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|