summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorÉloi Rivard <eloi.rivard@aquilenet.fr>2020-02-16 14:26:06 +0100
committerGitHub <noreply@github.com>2020-02-16 14:26:06 +0100
commit306d3cdc608343b5739b98a7d6b1e816416489c9 (patch)
treef62b93191d0677709556c7c547d4af4e9eef19d2 /templates
parentcdd15c181875dbbc62844718365c47b099027b3a (diff)
Basic Media-RSS support (#599)
Signed-off-by: Éloi Rivard <azmeuk@gmail.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/part.content.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/part.content.php b/templates/part.content.php
index b7cf52243..67cd8bf50 100644
--- a/templates/part.content.php
+++ b/templates/part.content.php
@@ -144,6 +144,12 @@
</a>
</div>
+ <div class="enclosure thumbnail" ng-if="item.mediaThumbnail">
+ <a ng-href="{{ ::item.enclosureLink }}"><img ng-src="{{ item.mediaThumbnail|trustUrl }}" alt="" /></a>
+ </div>
+
+ <div class="enclosure description" ng-if="item.mediaDescription" news-bind-html-unsafe="item.mediaDescription"></div>
+
<div class="body" news-bind-html-unsafe="item.body" ng-attr-dir="{{item.rtl && 'rtl'}}"></div>
</div>