lens @ a9a270ba1e1e9add10d75de3e592efee9728c5b4

 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 %}