fileserver: Add support for .avif image format (#6988)
This commit is contained in:
parent
89ed5f44de
commit
54d03ced48
1 changed files with 3 additions and 3 deletions
|
|
@ -26,7 +26,7 @@
|
|||
<path d="M9 7l4 0"/>
|
||||
<path d="M9 11l4 0"/>
|
||||
</svg>
|
||||
{{- else if .HasExt ".jpg" ".jpeg" ".png" ".gif" ".webp" ".tiff" ".bmp" ".heif" ".heic" ".svg"}}
|
||||
{{- else if .HasExt ".jpg" ".jpeg" ".png" ".gif" ".webp" ".tiff" ".bmp" ".heif" ".heic" ".svg" ".avif"}}
|
||||
{{- if eq .Tpl.Layout "grid"}}
|
||||
<img loading="lazy" src="{{.Name | pathEscape}}">
|
||||
{{- else}}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue