Files
RSSHub/lib/routes/infoq/templates/description.art
T
Ethan Shen 861b15f0e6 feat(route): add InfoQ Presentations (#17180)
* feat(route): add InfoQ Presentations

* fix typo
2024-10-19 00:00:29 +08:00

41 lines
839 B
Arturo

{{ if images }}
{{ each images image }}
{{ if image?.src }}
<figure>
<img
{{ if image.alt }}
alt="{{ image.alt }}"
{{ /if }}
src="{{ image.src }}">
</figure>
{{ /if }}
{{ /each }}
{{ /if }}
{{ if videos }}
{{ each videos video }}
{{ if video?.src }}
<video
{{ set poster = video.poster || image?.src }}
{{ if poster }}
poster="{{ poster }}"
{{ /if }}
controls>
<source
src="{{ video.src }}"
type="{{ video.type }}">
<object data="{{ video.src }}">
<embed src="{{ video.src }}">
</object>
</video>
{{ /if }}
{{ /each }}
{{ /if }}
{{ if intro }}
<blockquote>{{ intro }}</blockquote>
{{ /if }}
{{ if description }}
{{@ description }}
{{ /if }}