Add alt and caption support to feature image
This commit is contained in:
parent
7522cc070c
commit
912129b0cd
6 changed files with 26 additions and 16 deletions
|
@ -12,7 +12,7 @@ Re-usable card for linking to posts
|
|||
{{img_url feature_image size="xl"}} 2000w"
|
||||
sizes="(max-width: 1000px) 400px, 700px"
|
||||
src="{{img_url feature_image size="m"}}"
|
||||
alt="{{title}}"
|
||||
alt="{{#if feature_image_alt}}{{feature_image_alt}}{{else}}{{title}}{{/if}}"
|
||||
/>
|
||||
{{/if}}
|
||||
<div class="gh-card-content">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue