mirror of
https://github.com/ZetaKebab/kesper.git
synced 2025-07-01 01:27:36 +00:00
Add alt and caption support to feature images (#812)
* Add alt and caption support to feature images * Add feature image alt support to post card * Remove three-curlies
This commit is contained in:
@ -14,7 +14,7 @@ which templates loop over to generate a list of posts. --}}
|
||||
{{img_url feature_image size="xl"}} 2000w"
|
||||
sizes="(max-width: 1000px) 400px, 800px"
|
||||
src="{{img_url feature_image size="m"}}"
|
||||
alt="{{title}}"
|
||||
alt="{{#if feature_image_alt}}{{feature_image_alt}}{{else}}{{title}}{{/if}}"
|
||||
loading="lazy"
|
||||
/>
|
||||
</a>
|
||||
|
Reference in New Issue
Block a user