Files
RSSHub/lib/routes/straitstimes/templates/description.art
T
quiniapiezoelectricity 69a35d2f56 feat(route): add straits times route (#17163)
* feat(route): add straits times route

* Update lib/routes/straitstimes/index.ts

---------
2024-10-18 13:02:46 +08:00

27 lines
760 B
Arturo

{{ if images }}
{{ each images }}
{{if $value.url }}
<figure>
<img src=
{{ if $value.large }}
"{{ $value.large }}"
{{ else }}
"{{ $value.url }}"
{{ /if }}
{{ if $value.height }}
height="{{ $value.height }}"
{{ /if }}
{{ if $value.width }}
width="{{ $value.width }}"
{{ /if }}
>
{{ if $value.caption }}
<figcaption>{{ $value.caption }}</figcaption>
{{ /if }}
</figure>
{{ /if }}
{{ /each }}
{{ /if }}
{{ if article }}
{{@ article }}
{{ /if }}