Fix broken art years link

This commit is contained in:
Joshua Goins 2024-10-16 09:39:25 -04:00
parent 55cd195191
commit b9753bc9f5

View file

@ -3,7 +3,7 @@
<div class="generic-con year-con"> <div class="generic-con year-con">
{{ range (where .Site.RegularPages "Type" "in" "art").GroupByDate "2006" }} {{ range (where .Site.RegularPages "Type" "in" "art").GroupByDate "2006" }}
{{ with .Key }} {{ with .Key }}
<a class="no-decoration" href="art/{{ . }}"> <a class="no-decoration" href="{{ printf "%sart/%s" $.Site.Home.Permalink . }}">
{{ $thumbp := printf "%s/year-thumbs/%s.webp" $.Site.Params.image_host . }} {{ $thumbp := printf "%s/year-thumbs/%s.webp" $.Site.Params.image_host . }}
<img width="256" height="128" title="{{ . }}" alt="A thumbnail of {{ . }}'s art with the text in the center." class="gallery-img article-img" src="{{ $thumbp }}"> <img width="256" height="128" title="{{ . }}" alt="A thumbnail of {{ . }}'s art with the text in the center." class="gallery-img article-img" src="{{ $thumbp }}">
</a> </a>