2021-10-31 22:26:42 +05:30
|
|
|
<. let metadata = p.metadata.as_ref().unwrap(); .>
|
|
|
|
<!-- TODO deal with layouts
|
2021-11-01 08:51:54 +05:30
|
|
|
height="<.# metadata.original_height.>"
|
|
|
|
width="<.# metadata.original_width.>"
|
2021-10-31 22:26:42 +05:30
|
|
|
-->
|
2021-11-02 13:39:37 +05:30
|
|
|
|
|
|
|
<figure>
|
2021-11-02 17:56:39 +05:30
|
|
|
<img src="<.= crate::V1_API_ROUTES.proxy.get_medium_asset(&metadata.id).>" />
|
2021-11-02 13:39:37 +05:30
|
|
|
<figcaption><.= p.text .></figcaption>
|
|
|
|
</figure>
|