lens @ 29e9fd3136f2e2fe301cbe07967fb3bb4ffcee2a

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