lens @ c3ea735c0f03a0827a8e753a5b5adf6e31f4c925

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