libmedium/templates/img.html

11 lines
286 B
HTML
Raw Normal View History

<. let metadata = p.metadata.as_ref().unwrap(); .>
<!-- TODO deal with layouts
height="<.# metadata.original_height.>"
width="<.# metadata.original_width.>"
-->
2021-11-02 13:39:37 +05:30
<figure>
<img src="https://miro.medium.com/<.= metadata.id .>" />
<figcaption><.= p.text .></figcaption>
</figure>