forked from realaravinth/libmedium
10 lines
307 B
HTML
10 lines
307 B
HTML
<. let metadata = p.metadata.as_ref().unwrap(); .>
|
|
<!-- TODO deal with layouts
|
|
height="<.# metadata.original_height.>"
|
|
width="<.# metadata.original_width.>"
|
|
-->
|
|
|
|
<figure>
|
|
<img src="<.= crate::V1_API_ROUTES.proxy.get_medium_asset(&metadata.id).>" />
|
|
<figcaption><.= p.text .></figcaption>
|
|
</figure>
|