birdsounds.media/layouts/partials/photo_asset.exif.html

31 lines
717 B
HTML
Raw Permalink Normal View History

{{ 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 */}}