lens @ 14e5580efd51c7b9e70d304715e512a2ea2a1b21

 1{% import "git.sr.ht/~gabrielgio/img/pkg/database/repository" %}
 2
 3{% func Mosaic(medias []*repository.Media, preloadAttr string) %}
 4<div class="gallary_container">
 5{% for _, media := range medias %}
 6    <a href="/detail?path_hash={%s media.PathHash %}">
 7        <figure class="image_container">
 8            <img src="/media/thumbnail?path_hash={%s media.PathHash %}" >
 9        </figure>
10    </a>
11{% endfor %}
12</div>
13{% endfunc %}