libmedium/templates/img.html
2021-10-31 22:26:42 +05:30

10 lines
247 B
HTML

<. let metadata = p.metadata.as_ref().unwrap(); .>
<!-- TODO deal with layouts
height="<.= metadata.original_height.>"
width="<.= metadata.original_width.>"
-->
<img
src="https://miro.medium.com/<.= metadata.id .>"
alt="<.= p.text .>"
/>