10 lines
240 B
HTML
10 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 }}
|