Don't SHA512 media

This commit is contained in:
BBaoVanC 2021-11-02 01:08:46 -05:00
parent 8af0ad6d16
commit 163965f3e6
Signed by: bbaovanc
GPG Key ID: 18089E4E3CCF1D3A
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@
{{ end }}
{{ with index . "src" }}
{{ $media := . | resources.Fingerprint "sha512" }}
{{ $media := . }}
{{ if eq .MediaType.MainType "image" }}
<img src="{{ $media.Permalink }}" alt="{{ $media.Title }}" />
{{ else if eq .MediaType.MainType "video" }}