WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
File tree Expand file tree Collapse file tree 5 files changed +9
-7
lines changed
Expand file tree Collapse file tree 5 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ export type Single = {
4747 articleImage ?: {
4848 sources : Source [ ] ;
4949 backupSrc : string ;
50+ altText ?: string ;
5051 } ;
5152 audioTag : boolean ;
5253 galleryTag : boolean ;
@@ -60,6 +61,7 @@ export type CapiHostedCard = {
6061 image ?: {
6162 sources : Source [ ] ;
6263 backupSrc : string ;
64+ altText ?: string ;
6365 } ;
6466 audioTag ?: boolean ;
6567 galleryTag ?: boolean ;
Original file line number Diff line number Diff line change 4141 sizes ={source .sizes }
4242 />
4343 {/each }
44- <img src ={articleImage .backupSrc } alt =" " />
44+ <img src ={articleImage .backupSrc } alt ={ articleImage . altText } />
4545 </picture >
4646 {:else if articleImage ?.backupSrc }
47- <img src ={articleImage .backupSrc } alt =" " />
47+ <img src ={articleImage .backupSrc } alt ={ articleImage . altText } />
4848 {/if }
4949 </div >
5050 <div class =" text" >
Original file line number Diff line number Diff line change 2929 sizes ={source .sizes }
3030 />
3131 {/each }
32- <img src ={image .backupSrc } alt =" " />
32+ <img src ={image .backupSrc } alt ={ image . altText } />
3333 </picture >
3434 {:else if image ?.backupSrc }
35- <img src ={image .backupSrc } alt =" " />
35+ <img src ={image .backupSrc } alt ={ image . altText } />
3636 {/if }
3737 </div >
3838 <h2 >
Original file line number Diff line number Diff line change 2222 sizes ={source .sizes }
2323 />
2424 {/each }
25- <img src ={articleImage .backupSrc } alt =" " />
25+ <img src ={articleImage .backupSrc } alt ={ articleImage . altText } />
2626 </picture >
2727{:else if articleImage ?.backupSrc }
28- <img src ={articleImage .backupSrc } alt =" " />
28+ <img src ={articleImage .backupSrc } alt ={ articleImage . altText } />
2929{/if }
3030
3131<style lang =" scss" >
Original file line number Diff line number Diff line change 11{
2- "SeriesURL" : " advertiser-content/get-to-know-me " ,
2+ "SeriesURL" : " advertiser-content/advent-zagreb/advent-zagreb " ,
33 "BrandLogo" : " " ,
44 "BrandColour" : " #222B5E" ,
55 "TrackingID" : " " ,
You can’t perform that action at this time.
0 commit comments