You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12345 |
- {{ $img := $.Page.Resources.GetMatch (.Get 1) }}
- <figure class="{{ .Get 0 }}">
- <img src="{{ $img.RelPermalink }}" alt="{{ $img.Name }}">
- <figcaption>{{ if strings.HasSuffix $img.Permalink $img.Title }}{{ $img.Name }}{{ else }}{{ $img.Title}}{{ end }}</figcaption>
- </figure>
|