Don't show "exposure time" for an album of only videos.
This commit is contained in:
parent
062dff910e
commit
070130f38f
1 changed files with 2 additions and 0 deletions
|
|
@ -716,8 +716,10 @@ def make_webpage(this_id, items, is_root, doctitle):
|
||||||
<footer>
|
<footer>
|
||||||
<p>Ethan Dalool</p>
|
<p>Ethan Dalool</p>
|
||||||
<p>Contact me: photography@voussoir.net</p>
|
<p>Contact me: photography@voussoir.net</p>
|
||||||
|
{%- if items|sum(attribute='exposure_time')|round(4) > 0 -%}
|
||||||
<p>These photos took {{items|sum(attribute='exposure_time')|round(4)}} seconds to make.</p>
|
<p>These photos took {{items|sum(attribute='exposure_time')|round(4)}} seconds to make.</p>
|
||||||
<p><button id="new_perspective_button" onclick="return new_perspective_button_onclick(event);">👁️ Try a different perspective</button></p>
|
<p><button id="new_perspective_button" onclick="return new_perspective_button_onclick(event);">👁️ Try a different perspective</button></p>
|
||||||
|
{%- endif -%}
|
||||||
{%- if back_link -%}
|
{%- if back_link -%}
|
||||||
<p><a class="back_link" href="{{back_link}}">Back to homepage</a></p>
|
<p><a class="back_link" href="{{back_link}}">Back to homepage</a></p>
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue