album/templates/photo_link.rs.html

8 lines
197 B
HTML
Raw Normal View History

2017-11-20 01:01:17 +04:00
@use server::PhotoLink;
@(photo: &PhotoLink)
<p class="item">
<a href="@photo.href"><img src="/img/@photo.id-s.jpg"></a>
2017-12-17 18:52:25 +04:00
@if let Some(ref d) = photo.lable {<span class="lable">@d</span>}
2017-11-20 01:01:17 +04:00
</p>