simple_gallery

Generate simple, static HTML/CSS gallery
Log | Files | Refs | README

album.html (771B)


      1 {% extends "base.html" %}
      2 {% block title %}{{ title }}{% endblock %}
      3 {% block navbar %} 
      4 <a class="half" href="{{ rootdir }}/index.html">
      5     <p>Return&nbsp;to&nbsp;all&nbsp;albums</p>
      6 </a>
      7 
      8 <a class="quarter" href="{{ rootdir }}/{{ prevalbum }}">
      9     <p>&lt;==&nbsp;previous&nbsp;album</p>
     10 </a>
     11 
     12 <a class="right quarter" href="{{ rootdir }}/{{ nextalbum }}">
     13     <p>next&nbsp;album&nbsp;==&gt;</p>
     14 </a>
     15 {% endblock %}
     16 {% block content %}
     17 <h1>{{ title }}</h1>
     18 {# <p>This is a paragraph.</p> #}
     19 
     20 <div class="flex-container wrap">
     21 
     22     {% for img in imgs %}
     23     <div class="box"> 
     24         <a href="{{ rootdir }}/img/viewer/{{ title }}/{{ img }}.html">
     25             <img src="{{ rootdir }}/img/thumb/{{ img }}">
     26         </a>
     27     </div>
     28     {% endfor %}
     29 </div>
     30 {% endblock %}