
<div class="columns is-multiline">
  {{- range .Entries }}
  <div class="column is-4-mobile is-3-tablet">
    <div class="card"
         hx-get="{{ if .IsDir }}/folders?path={{ urlquery .Path }}{{ else }}/folders/detail?path={{ urlquery .Path }}{{ end }}"
         hx-target="{{ if .IsDir }}#file-list{{ else }}#detail-panel{{ end }}"
         hx-swap="innerHTML"
         hx-push-url="true"
         style="cursor:pointer">
      <!-- … contenu de la carte … -->
    </div>
  </div>
  {{- end }}
</div>

