File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed
Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -11,8 +11,14 @@ <h2>Related Research Papers</h2>
1111 < div class ="card-grid-item uk-card uk-card-default uk-card-small ">
1212 < div class ="card-grid-item-date "> {{ .year }}</ div >
1313 < picture >
14- < source srcset ="{{ ($img.Resize "webp ").RelPermalink }}" type="image/webp " />
15- < img class ="card-grid-item-img " src ="{{ $img.RelPermalink }} " width ="240 " height ="300 " alt ="Banner " />
14+ < source srcset ="{{ ($img.Resize "300x webp Gaussian ").RelPermalink }}" type="image/webp " />
15+ < img
16+ class ="card-grid-item-img "
17+ src ="{{ ($img).RelPermalink }} "
18+ width ="300 "
19+ height ="300 "
20+ alt ="{{ .title }} "
21+ />
1622 </ picture >
1723 < div class ="uk-flex uk-flex-column ">
1824 < div class ="uk-card-body uk-flex-1 ">
Original file line number Diff line number Diff line change 44 {{ $img := $images.GetMatch (path.Join "images" .image) }}
55 < div class ="card-grid-item uk-card uk-card-default uk-card-small ">
66 < div class ="card-grid-item-date "> {{ .year }}</ div >
7- < img class ="card-grid-item-img " src ="{{ $img.RelPermalink }} " width ="240 " height ="300 " alt ="Banner " />
7+ < picture >
8+ < source srcset ="{{ ($img.Resize "300x webp Gaussian ").RelPermalink }}" type="image/webp " />
9+ < img class ="card-grid-item-img " src ="{{ ($img).RelPermalink }} " width ="300 " height ="300 " alt ="{{ .title }} " />
10+ </ picture >
811 < div class ="uk-flex uk-flex-column ">
912 < div class ="uk-card-body uk-flex-1 ">
1013 < h3 class ="uk-card-title "> < a href ="{{ .link }} " class ="uk-link-heading "> {{ .title }}</ a > </ h3 >
You can’t perform that action at this time.
0 commit comments