Files
RSSHub/lib/v2/ifeng/templates/description.art
T
Ethan Shen fd117cb192 feat(route): add 凤凰网资讯 (#11026)
* feat(route): add 凤凰网资讯

* fix category
2022-10-08 22:33:37 +08:00

16 lines
391 B
Arturo

{{ if image }}
<figure>
<img src="{{ image.url }}" height="{{ image.height }}" width="{{ image.width }}">
</figure>
{{ /if }}
{{ if description }}
{{ each description d }}
{{ if d.attachmentType === 'video' }}
<video controls poster="{{ d.bigPosterUrl }}">
<source src="{{ d.playUrl }}">
</video>
{{ else }}
{{@ d.replace(/data-lazyload=/g, 'src=') }}
{{ /if }}
{{ /each }}
{{ /if }}