lens @ 99a7e9ab02ae1980874be35f6a2651ca4bfdb951

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