Don't SHA512 media
This commit is contained in:
parent
8af0ad6d16
commit
163965f3e6
|
@ -7,7 +7,7 @@
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ with index . "src" }}
|
{{ with index . "src" }}
|
||||||
|
|
||||||
{{ $media := . | resources.Fingerprint "sha512" }}
|
{{ $media := . }}
|
||||||
{{ if eq .MediaType.MainType "image" }}
|
{{ if eq .MediaType.MainType "image" }}
|
||||||
<img src="{{ $media.Permalink }}" alt="{{ $media.Title }}" />
|
<img src="{{ $media.Permalink }}" alt="{{ $media.Title }}" />
|
||||||
{{ else if eq .MediaType.MainType "video" }}
|
{{ else if eq .MediaType.MainType "video" }}
|
||||||
|
|
Loading…
Reference in New Issue