summaryrefslogtreecommitdiffstats
path: root/templates/part.content.explore.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/part.content.explore.php')
-rw-r--r--templates/part.content.explore.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/part.content.explore.php b/templates/part.content.explore.php
index 546d8f118..45e312f58 100644
--- a/templates/part.content.explore.php
+++ b/templates/part.content.explore.php
@@ -7,10 +7,10 @@
<h2>{{ category }}</h2>
<ul>
- <li ng-repeat="entry in data | orderBy:'-votes'" ng-if="!Explore.feedExists(entry.url)">
+ <li ng-repeat="entry in data | orderBy:'-votes'" ng-if="!Explore.feedExists(entry.feed)">
<h3 ng-show="entry.favicon"
ng-style="{ backgroundImage: 'url(' + entry.favicon + ')'}">
- {{ entry.title }}
+ <a target="_blank" ng-href="{{ entry.url }}">{{ entry.title }}</a>
</h3>
<h3 ng-hide="entry.favicon" class="icon-rss">
{{ entry.title }}
@@ -23,7 +23,7 @@
</div>
</div>
<div class="explore-subscribe">
- <button ng-click="Explore.subscribeTo(entry.feed || entry.url)">
+ <button ng-click="Explore.subscribeTo(entry.feed)">
<?php p($l->t('Subscribe')) ?>
</button>
</div>