This is a gentle fork from https://framagit.org/marienfressinaud/photos.marienfressinaud.fr with a responsive and optimized mindset. https://media.larlet.fr/
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

gallery.html.j2 1.2KB

1234567891011121314151617181920212223242526272829303132333435
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="initial-scale=1.0" />
  6. <link rel="stylesheet" href="style/main.css">
  7. <title>{{ gallery.name }} · {{ site_title }}</title>
  8. </head>
  9. <body class="app-page app-page-gallery">
  10. <header class="app-page-header">
  11. <div class="container">
  12. <h1 class="app-page-header-title">
  13. <a href="index.html">{{ site_title }}</a>
  14. </h1>
  15. </div>
  16. </header>
  17. <main class="app-page-content">
  18. <div class="container">
  19. <h2>{{ gallery.name }}</h2>
  20. <a class="link-back" href="index.html">Retour aux albums</a>
  21. <div class="gallery-photos">
  22. {% for photo in gallery.photos %}
  23. <div class="photo">
  24. <a href="{{ photo.url }}" target="_blank" rel="noreferrer">
  25. <img src="{{ photo.thumb_url }}" alt="" />
  26. </a>
  27. </div>
  28. {% endfor %}
  29. </div>
  30. </div>
  31. </main>
  32. </body>
  33. </html>