photos/theme/templates/album.html

21 lines
649 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 }}{{ album.path|urlencode }}">
<meta property="og:description" content="{{ album.medias|length }} photos in this album.">
<meta name="twitter:card" content="summary_large_image">
{% endblock %}
{% block content %}
<ul>
{% for media in album.medias %}
<li class="thumbnail">
<a href="{{ media.url }}.html">
<img id="{{ media.url }}" src="{{ media.thumbnail }}" alt="{{ media.title }}">
</a>
</li>
{% endfor %}
</ul>
{% endblock %}