photos/theme/templates/album_list.html

23 lines
650 B
HTML

{% extends "base.html" %}
{% block extra_head %}
<meta property="og:image" content="{{ settings.base_url }}{{ album.thumbnail }}">
<meta property="og:url" content="{{ settings.base_url }}">
<meta property="og:description" content="{{ album.albums|length }} albums in this gallery.">
<meta name="twitter:card" content="summary_large_image">
{% endblock %}
{% block content %}
<ul>
{% for alb in album.albums %}
<li class="thumbnail">
<a href="{{ alb.url }}">
<img src="{{ alb.thumbnail }}" alt="{{ alb.name }}" title="{{ alb.name }}">
<span>{{ alb.name }}</span>
</a>
</li>
{% endfor %}
</ul>
{% endblock %}