No more resources

This commit is contained in:
echarp 2022-11-11 10:04:57 +01:00
parent 84bc5176af
commit 16a7d81535

View File

@ -35,14 +35,18 @@
{{ end }}
{{- template "_internal/pagination.html" . -}}
{{ if .Parent.IsHome }}
{{ range .Resources }}
<div class="relative w-100 w-30-l mb4 bg-white">
<img src="{{ .RelPermalink }}" title="{{.}}" alt="{{.}}" />
{{ . }}
<button class="delete_image br-pill pa3 pointer" data-target="{{.RelPermalink}}">{{ T (print $.Section ".delete") }}</button>
<button class="delete_image br-pill pa3 pointer" data-target="{{.RelPermalink}}">
{{ T (print $.Section ".delete") }}
</button>
</div>
{{ end }}
{{ end }}
{{ end }}
</section>
{{ end }}
{{ end }}
</article>
{{ end }}