2015-12-08 10:42:00 +01:00
<!DOCTYPE html>
< html >
< head >
< meta charset = "UTF-8" >
2016-01-12 14:33:15 +01:00
< link type = "text/css" rel = "stylesheet" href = "static/css/fonts.css" media = "screen,projection" / >
2015-12-08 10:42:00 +01:00
< link type = "text/css" rel = "stylesheet" href = "static/css/style.css" media = "screen,projection" / >
<!-- Let browser know website is optimized for mobile -->
< meta name = "viewport" content = "width=device-width, initial-scale=1.0" / >
< title > {{ settings.title }}< / title >
< / head >
< body >
< div class = "gallery-header" >
< img id = "logo" src = "static/img/logo.svg" / >
< h1 > {{ settings.title }}< / h1 >
2016-02-08 11:28:11 +01:00
{% if settings.sub_title -%}< h4 > {{ settings.sub_title }}< / h4 > {% endif -%}
2015-12-08 10:42:00 +01:00
< hr >
2016-02-08 11:28:11 +01:00
{% if settings.menu -%}
< nav >
< div class = "nav-wrapper" >
< ul >
{% for line in settings.menu -%}
{% if loop.first -%}
< li > < a href = {{ line . lower ( ) . replace ( " " , " _ " ) } } . html class = first-item-menu > {{ line }}< / a > < / li >
{% else -%}
< li > < a href = {{ line . lower ( ) . replace ( " " , " _ " ) } } . html class = item-menu > {{ line }}< / a > < / li >
{% endif -%}
{% endfor -%}
< / ul >
< / div >
< / nav >
{% endif -%}
2015-12-08 10:42:00 +01:00
< / div >
2016-02-08 11:28:11 +01:00
2015-12-08 10:42:00 +01:00
< div class = "galleries-grid" >
2015-12-11 08:03:36 +01:00
{% for galleries_line in galleries|reverse|batch(3)|reverse %}
2015-12-09 06:44:39 +01:00
< div class = "galleries-line covers-{{ galleries_line|length }}" >
2015-12-11 09:14:08 +01:00
{% for gallery in galleries_line|reverse %}<!-- comment tricks against space between inline - block
2015-12-09 06:44:39 +01:00
-->< div class = "gallery-square" >
< a href = "{{ gallery.link }}" >
< div class = "gallery-title" >
< h2 > {{ gallery.title }}< / h2 >
{% if gallery.sub_title %}< h3 > {{ gallery.sub_title }}< / h3 > {% endif %}
{% if gallery.date %}< div class = "gallery-datetime" > {{ gallery.date.strftime("%d %B %Y") }}< / div > {% endif %}
< / div >
< / a >
2015-12-09 09:58:37 +01:00
< div class = "gallery-cover" style = "background-image: url('{{ helpers.generate_thumbnail(gallery.cover, " x900 " ) } } ' ) ; " > < / div >
2015-12-09 06:44:39 +01:00
< / div > <!-- comment tricks against space between inline - block
-->{% endfor %}
2015-12-08 10:42:00 +01:00
< / div >
{% endfor %}
< / div >
< p style = "visibility: hidden" > .< / p >
< footer >
2016-01-24 13:36:15 +01:00
< p > Generated using < a href = "https://github.com/psycojoker/prosopopee" > Prosopopée< / a > · content under < a href = "https://creativecommons.org/licenses/by-sa/3.0/" > CC-BY-SA< / a > · atom logo by < a href = "https://thenounproject.com/jjjon/" > Jonathan Li< / a > under < a href = "https://creativecommons.org/licenses/by/3.0/" > CC-BY< / a > < / p >
2015-12-08 10:42:00 +01:00
< / footer >
< / body >
< / html >