|
|
@ -35,7 +35,11 @@ |
|
|
|
{{ range first 1 .Page.Params.Photo }} |
|
|
|
<figure class="index-photos"> |
|
|
|
{{ if isset . "value" }} |
|
|
|
<img class="u-photo thumb" src="{{ replace .value "800." "300."}}" title="{{$summary}}" alt="{{ .alt }}"/> |
|
|
|
{{ if isset . "altJP" }} |
|
|
|
<img class="u-photo thumb" src="{{ replace .value "800." "300."}}" title="{{$summary}}" alt="{{ .altJP }}"/> |
|
|
|
{{ else }} |
|
|
|
<img class="u-photo thumb" src="{{ replace .value "800." "300."}}" title="{{$summary}}" alt="{{ .alt }}"/> |
|
|
|
{{ end }} |
|
|
|
{{ else }} |
|
|
|
<img class="u-photo thumb" src="{{ replace . "800." "300."}}" title="{{$summary}}" alt="Alt not yet added, will fix!"/> |
|
|
|
{{ end }} |
|
|
|