* feat(route): add dw route * fix * Apply suggestions from code review Co-authored-by: Tony <TonyRL@users.noreply.github.com> * Apply suggestions from code review * Apply suggestions with code review * add mp4 video src * fix: preload metadata --------
23 lines
604 B
Arturo
23 lines
604 B
Arturo
{{ if teaser }}
|
|
<blockquote><p><em>{{ teaser }}</em></p></blockquote>
|
|
{{ /if }}
|
|
{{ if video }}
|
|
{{@ video }}
|
|
{{ else if mainImage }}
|
|
<figure>
|
|
<img
|
|
src="https://static.dw.com/image/{{ mainImage.targetId }}_{{ formatId }}.jpg"
|
|
alt="{{ mainImage.additionalInformation }}"
|
|
>
|
|
<figcaption>
|
|
{{ mainImage.description }}
|
|
<small>{{ imageI18n }}: {{ mainImage.target.licenserSupplement }}</small>
|
|
</figcaption>
|
|
</figure>
|
|
{{ /if }}
|
|
{{ if text }}
|
|
{{@ text }}
|
|
{{ /if }}
|
|
{{ if liveblog }}
|
|
{{@ liveblog }}
|
|
{{ /if }} |