Reduce size of art year cards
This commit is contained in:
parent
b2f0771ff9
commit
4505d41011
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
||||||
<a href="/art/{{ . }}">
|
<a href="/art/{{ . }}">
|
||||||
{{ $thumbp := printf "/year-thumbs/%d.webp" . }}
|
{{ $thumbp := printf "/year-thumbs/%d.webp" . }}
|
||||||
{{ with resources.Get $thumbp }}
|
{{ with resources.Get $thumbp }}
|
||||||
<img width="512" height="256" alt="{{ $year }}" class="gallery-img article-img" src="{{ .RelPermalink }}">
|
<img width="256" height="128" alt="{{ $year }}" class="gallery-img article-img" src="{{ .RelPermalink }}">
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</a>
|
</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue