|
|
@ -23,9 +23,9 @@ |
|
|
|
{{ range .Page.Params.Photo }} |
|
|
|
{{ if isset . "value" }} |
|
|
|
{{ if isset . "altJP" }} |
|
|
|
<a href="{{ $link }}" class="u-url"><img class="u-photo thumb" src="{{ replace .value "800." "300."}}" title="{{ $summary }}" alt="{{ .altJP }}"/></a> |
|
|
|
<a href="{{ $link }}" class="u-url"><img class="u-photo thumb" src="{{ replace .value "800." "300."}}" title="{{ .altJP }}" alt="{{ .altJP }}"/></a> |
|
|
|
{{ else }} |
|
|
|
<a href="{{ $link }}" class="u-url"><img class="u-photo thumb" src="{{ replace .value "800." "300."}}" title="{{ $summary }}" alt="{{ .alt }}"/></a> |
|
|
|
<a href="{{ $link }}" class="u-url"><img class="u-photo thumb" src="{{ replace .value "800." "300."}}" title="{{ .alt }}" alt="{{ .alt }}"/></a> |
|
|
|
{{ end }} |
|
|
|
{{ else }} |
|
|
|
<a href="{{ $link }}" class="u-url"><img class="u-photo thumb" src="{{ replace . "800." "300."}}" title="{{ $summary }}" alt="Alt not yet added, will fix!"/></a> |
|
|
|