Files
RSSHub/lib/routes/56kog/templates/description.art
T
2024-03-01 01:24:49 +08:00

32 lines
697 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 details }}
<table>
<tbody>
{{ each details detail }}
<tr>
<th>{{ detail.label }}</th>
<td>
{{ if detail.value?.href && detail.value?.text }}
<a href="{{ detail.value.href }}">{{ detail.value.text }}</a>
{{ else }}
{{ detail.value }}
{{ /if }}
</td>
</tr>
{{ /each }}
</tbody>
</table>
{{ /if }}