a
9aa43df629
The basic parts of the layouts/theme should work. I have only populated 2 albums so far.
30 lines
717 B
HTML
30 lines
717 B
HTML
{{ with resources.GetMatch .Params.photo_asset }}
|
|
{{ with .Exif }}
|
|
<dl class="exif metadata">
|
|
{{ with .Date }}
|
|
<dt class="date">Captured</dt>
|
|
<dd class=""><time datetime="{{ .Format "2006-01-02T15:04:05-0700" }}">{{ . | time.Format ":date_full" }}<br>{{ . | time.Format ":time_full" }}</time></dd>
|
|
{{ end }}
|
|
{{ with .Tags }}
|
|
{{ with .FNumber }}
|
|
<dt>Aperture</dt>
|
|
<dd>f/{{ . }}</dd>
|
|
{{ end }}
|
|
{{ with .ExposureTime }}
|
|
<dt>Exposure</dt>
|
|
<dd>{{ . }} s</dd>
|
|
{{ end }}
|
|
{{ with .ISOSpeedRatings }}
|
|
<dt>ISO</dt>
|
|
<dd>{{ . }}</dd>
|
|
{{ end }}
|
|
{{ with .Model }}
|
|
<dt>Model</dt>
|
|
<dd>{{ . }}</dd>
|
|
{{ end }}
|
|
{{ end }}
|
|
</dl>
|
|
{{ end }}
|
|
{{ end }} {{/* with asset */}}
|
|
|
|
|