Use with File

This commit is contained in:
ItsDrike 2021-08-25 14:55:07 +02:00
parent 4b002e6734
commit 2d09f1b27e
No known key found for this signature in database
GPG key ID: B5F6B41F708C3ADD

View file

@ -1,4 +1,4 @@
<div class="media list-page-item mb-3" data-id="{{ .File.UniqueID }}"> <div class="media list-page-item mb-3" data-id="{{ with .File}}{{ .File.UniqueID }}{{ end }}">
<div class="media-body"> <div class="media-body">
<a href="{{ .RelPermalink }}"> <a href="{{ .RelPermalink }}">
<h5 class="my-0">{{ .Title }}</h5> <h5 class="my-0">{{ .Title }}</h5>