mirror of https://github.com/thumbsup/thumbsup
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
1.1 KiB
Handlebars
54 lines
1.1 KiB
Handlebars
<header>
|
|
<a href="{{relative gallery.home.url}}">
|
|
<h1>{{gallery.title}}</h1>
|
|
<h2>{{gallery.subtitle}}</h2>
|
|
</a>
|
|
</header>
|
|
|
|
<!--
|
|
Breadcrumbs of parent albums
|
|
-->
|
|
{{#compare album.depth '!=' 0}}
|
|
<nav class="breadcrumbs">
|
|
{{#each breadcrumbs~}}
|
|
<a class="breadcrumb-item" href="{{relative url}}">{{title}}</a> /
|
|
{{~/each~}}
|
|
<a class="breadcrumb-item" href="{{relative album.url}}">{{album.title}}</a>
|
|
</nav>
|
|
{{/compare}}
|
|
|
|
<ul id="galleries">
|
|
{{#each album.albums}}
|
|
<li>
|
|
<a href="{{relative url}}">
|
|
<h3>{{title}}</h3>
|
|
<div class="meta">
|
|
{{summary}}<br />
|
|
{{{date stats.fromDate}}} - {{{date stats.toDate}}}
|
|
</div>
|
|
<ul class="grid">
|
|
{{~#slice previews count=4~}}
|
|
<li><img src="{{relative urls.thumbnail}}" /></li>
|
|
{{~/slice}}
|
|
</ul>
|
|
</a>
|
|
</li>
|
|
{{/each}}
|
|
</ul>
|
|
|
|
<ul id="media">
|
|
{{#each album.files}}
|
|
{{> thumbnail}}
|
|
{{> exif meta }}
|
|
{{/each}}
|
|
</ul>
|
|
|
|
<!--
|
|
Optional footer
|
|
-->
|
|
{{#if gallery.footer}}
|
|
<footer>
|
|
<p>{{{gallery.footer}}}</p>
|
|
</footer>
|
|
{{/if}}
|