mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-01-30 15:31:52 +00:00
fix: img attribute
add loading/decoding/fetchpriority remove alt for decorative images
This commit is contained in:
@@ -51,7 +51,13 @@
|
||||
|
||||
{{ with $featuredURL }}
|
||||
<figure>
|
||||
<img class="w-full rounded-lg single_hero_round nozoom" alt="{{ $alt }}" src="{{ . }}">
|
||||
<img
|
||||
src="{{ . }}"
|
||||
alt="{{ $alt }}"
|
||||
loading="eager"
|
||||
decoding="async"
|
||||
fetchpriority="high"
|
||||
class="w-full rounded-lg single_hero_round nozoom">
|
||||
{{ if $caption }}
|
||||
<figcaption class="text-sm text-neutral-700 dark:text-neutral-400 hover:underline text-center">
|
||||
{{ $caption | markdownify }}
|
||||
|
||||
Reference in New Issue
Block a user