add art year to title too
This commit is contained in:
parent
1dc7f9ef8a
commit
60bfeb4559
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
||||||
<a class="no-decoration" href="/art/{{ . }}">
|
<a class="no-decoration" href="/art/{{ . }}">
|
||||||
{{ $thumbp := printf "/year-thumbs/%d.webp" . }}
|
{{ $thumbp := printf "/year-thumbs/%d.webp" . }}
|
||||||
{{ with resources.Get $thumbp }}
|
{{ with resources.Get $thumbp }}
|
||||||
<img width="256" height="128" alt="{{ $year }}" class="gallery-img article-img" src="{{ .RelPermalink }}">
|
<img width="256" height="128" title="{{ $year }}" alt="{{ $year }}" class="gallery-img article-img" src="{{ .RelPermalink }}">
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</a>
|
</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue