9 lines
240 B
HTML
9 lines
240 B
HTML
{{ $year := string (.Get 0) }}
|
|
{{ $images := index .Site.Data.photos $year }}
|
|
|
|
{{ range $images }}
|
|
<a href="/photos/{{ $year}}/{{ . }}.jpg">
|
|
<img src="/photos/{{ $year}}/{{ . }}.small.jpg"
|
|
alt="CoSin {{ $year }}" />
|
|
</a>
|
|
{{ end }}
|