gallery.j2 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <!DOCTYPE html>
  2. <html lang="en-us">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width">
  6. <title>Decrunch {{edition}} Photos</title>
  7. <link rel="stylesheet" href="/css/lightbox.min.css">
  8. <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
  9. <link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Cuprum" />
  10. <link rel="stylesheet" href="/css/decrunch.css?8">
  11. <link rel="stylesheet" type="text/css" href="//decrunch.org/css/topaz.css" />
  12. </head>
  13. <body data-spy="scroll" data-target=".navbar" data-offset="50">
  14. <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
  15. <div class="container-fluid">
  16. <div class="navbar-header">
  17. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#menu">
  18. <span class="icon-bar"></span>
  19. <span class="icon-bar"></span>
  20. <span class="icon-bar"></span>
  21. </button>
  22. <div class="navbar-header">
  23. <a class="navbar-brand pull-center" href="/">decrunch</a>
  24. </div>
  25. </div>
  26. </div>
  27. </nav>
  28. <section>
  29. <div class="photogrid">
  30. <h2>Decrunch {{edition}}</h2>
  31. <h4>{{date}}</h4>
  32. <p>
  33. fot. <a href="{{author_link}}">{{author_name}}</a>
  34. &nbsp;
  35. arch. <a href="../{{zip_name}}.zip">{{zip_name}}.zip</a>
  36. </p>
  37. {%- set num = 0 -%}
  38. {%- for name in pictures %}
  39. <a href="{{img_full_dir}}/{{name}}" name="{{author_name}}-{{num}}" data-lightbox="kosma"><img src="{{img_thumb_dir}}/{{name}}" alt="{{author_name}}-{{num}}" /></a>
  40. {%- set num = num + 1 -%}
  41. {%- endfor -%}
  42. </div>
  43. </section>
  44. <script src="/js/lightbox-plus-jquery.min.js"></script>
  45. </body>
  46. </html>