nasg/block_exif.html

47 lines
1.1 KiB
HTML
Raw Normal View History

2017-05-23 11:21:10 +01:00
<aside class="exif">
<dl>
2017-05-23 11:21:10 +01:00
{% if post.exif.camera %}
<dt>Camera</dt>
<dd>
2017-05-23 11:21:10 +01:00
<svg class="icon"><use xlink:href="#icon-camera" /></svg>
{{ post.exif.camera }}
</dd>
2017-05-23 11:21:10 +01:00
{% endif %}
{% if post.exif.aperture %}
<dt>Aperture</dt>
<dd>
2017-05-23 11:21:10 +01:00
<svg class="icon"><use xlink:href="#icon-aperture" /></svg>
f/{{ post.exif.aperture }}
</dd>
2017-05-23 11:21:10 +01:00
{% endif %}
{% if post.exif.shutter_speed %}
<dt>Shutter speed</dt>
<dd>
2017-05-23 11:21:10 +01:00
<svg class="icon"><use xlink:href="#icon-clock" /></svg>
{{ post.exif.shutter_speed }} sec
</dd>
2017-05-23 11:21:10 +01:00
{% endif %}
{% if post.exif.focal_length %}
<dt>Focal length (as set)</dt>
<dd>
2017-05-23 11:21:10 +01:00
<svg class="icon"><use xlink:href="#icon-focallength" /></svg>
{{ post.exif.focal_length }}{% if not post.exif.focal_length|search( 'mm' ) %} mm{% endif %}
</dd>
2017-05-23 11:21:10 +01:00
{% endif %}
{% if post.exif.iso %}
<dt>Sensitivity</dt>
<dd>
2017-05-23 11:21:10 +01:00
<svg class="icon"><use xlink:href="#icon-sensitivity" /></svg>
ISO {{ post.exif.iso }}
</dd>
2017-05-23 11:21:10 +01:00
{% endif %}
{% if post.exif.lens %}
<dt>Lens</dt>
<dd>
2017-05-23 11:21:10 +01:00
<svg class="icon"><use xlink:href="#icon-lens" /></svg>
{{ post.exif.lens }}
</dd>
2017-05-23 11:21:10 +01:00
{% endif %}
</dl>
2017-05-23 11:21:10 +01:00
</aside>