|
|
|
|
@ -4,7 +4,7 @@
|
|
|
|
|
<meta charset="utf-8"> |
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
|
|
|
|
|
|
|
|
|
<title>{{ title }}</title> |
|
|
|
|
<title>{{ album.title }}</title> |
|
|
|
|
<meta name="description" content=""> |
|
|
|
|
<meta name="author" content="{{ author }}"> |
|
|
|
|
<meta name="viewport" content="width=device-width"> |
|
|
|
|
@ -20,7 +20,7 @@
|
|
|
|
|
|
|
|
|
|
<div class="four columns"> |
|
|
|
|
<div class="sidebar"> |
|
|
|
|
<h1><a href="{{ index_url }}">{{ index_title }}</a></h1> |
|
|
|
|
<h1><a href="{{ album.index_url }}">{{ index_title }}</a></h1> |
|
|
|
|
|
|
|
|
|
{% if settings.links %} |
|
|
|
|
<nav id="menu"> |
|
|
|
|
@ -41,9 +41,9 @@
|
|
|
|
|
|
|
|
|
|
<div id="main" role="main" class="twelve columns offset-by-four"> |
|
|
|
|
<header> |
|
|
|
|
{% if breadcrumb %} |
|
|
|
|
{% if album.breadcrumb %} |
|
|
|
|
<h2> |
|
|
|
|
{%- for url, title in breadcrumb -%} |
|
|
|
|
{%- for url, title in album.breadcrumb -%} |
|
|
|
|
<a href="{{ url }}">{{ title }}</a> |
|
|
|
|
{%- if not loop.last %} » {% endif -%} |
|
|
|
|
{% endfor -%} |
|
|
|
|
@ -52,8 +52,8 @@
|
|
|
|
|
{% endif %} |
|
|
|
|
</header> |
|
|
|
|
|
|
|
|
|
{% if albums %} |
|
|
|
|
{% for album in albums %} |
|
|
|
|
{% if album.albums %} |
|
|
|
|
{% for alb in album.albums %} |
|
|
|
|
{% if loop.index % 3 == 1 %} |
|
|
|
|
<div id="albums" class="row"> |
|
|
|
|
{% endif%} |
|
|
|
|
@ -61,10 +61,10 @@
|
|
|
|
|
<div class="four columns thumbnail |
|
|
|
|
{% if loop.index % 3 == 1 %}alpha{% endif%} |
|
|
|
|
{% if loop.index % 3 == 0 %}omega{% endif%}"> |
|
|
|
|
<a href="{{ album.url }}"> |
|
|
|
|
<img src="{{ album.thumbnail }}" class="album_thumb" |
|
|
|
|
alt="{{ album.name }}" title="{{ album.name }}" /></a> |
|
|
|
|
<span class="album_title">{{ album.title }}</span> |
|
|
|
|
<a href="{{ alb.url }}"> |
|
|
|
|
<img src="{{ alb.thumbnail }}" class="album_thumb" |
|
|
|
|
alt="{{ alb.name }}" title="{{ alb.name }}" /></a> |
|
|
|
|
<span class="album_title">{{ alb.title }}</span> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
{% if loop.last or loop.index % 3 == 0 %} |
|
|
|
|
@ -73,7 +73,7 @@
|
|
|
|
|
{% endfor %} |
|
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
{% if medias %} |
|
|
|
|
{% if album.medias %} |
|
|
|
|
{% macro img_description(media) -%} |
|
|
|
|
{% if media.big %} data-big="{{ media.big }}"{% endif %} |
|
|
|
|
{% if media.exif %} |
|
|
|
|
@ -83,7 +83,7 @@
|
|
|
|
|
{% endif %} |
|
|
|
|
{%- endmacro %} |
|
|
|
|
<div id="gallery" class="row"> |
|
|
|
|
{% for media in medias %} |
|
|
|
|
{% for media in album.medias %} |
|
|
|
|
{% if media.type == "image" %} |
|
|
|
|
<div class="four columns thumbnail |
|
|
|
|
{% if loop.index % 3 == 1 %}alpha{% endif%} |
|
|
|
|
@ -116,24 +116,24 @@
|
|
|
|
|
</div> |
|
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
{% if zip %} |
|
|
|
|
{% if album.zip %} |
|
|
|
|
<div id="additionnal-infos" class="row"> |
|
|
|
|
<p> |
|
|
|
|
<a href="{{ zip }}" |
|
|
|
|
<a href="{{ album.zip }}" |
|
|
|
|
title="Download a zip archive with all images">Download ZIP</a> |
|
|
|
|
</p> |
|
|
|
|
</div> |
|
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
{% if description %} |
|
|
|
|
{% if album.description %} |
|
|
|
|
<div id="description" class="row"> |
|
|
|
|
{{ description }} |
|
|
|
|
{{ album.description }} |
|
|
|
|
</div> |
|
|
|
|
{% endif %} |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
{% if medias %} |
|
|
|
|
{% if album.medias %} |
|
|
|
|
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> |
|
|
|
|
<script>!window.jQuery && document.write(unescape('%3Cscript src="{{ theme.url }}/js/jquery-1.10.2.min.js"%3E%3C/script%3E'))</script> |
|
|
|
|
<script src="{{ theme.url }}/js/jquery.colorbox.min.js"></script> |
|
|
|
|
|