mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-06-12 09:47:29 -05:00
Don't SHA512 media
This commit is contained in:
@ -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" }}
|
||||
|
Reference in New Issue
Block a user