Browse Source

Proper title attributes on galleries’ links

master
David Larlet 1 year ago
parent
commit
1e5dc4f787
1 changed files with 5 additions and 1 deletions
  1. 5
    1
      theme/index.html.j2

+ 5
- 1
theme/index.html.j2 View File

@@ -16,7 +16,11 @@
{% for gallery in galleries -%}
{% if not gallery.private %}
<div class="gallery-cover">
<a href="{{ gallery.cover_photo.page_url }}">
<a href="{{ gallery.cover_photo.page_url }}"
title="Accéder à la gallerie « {{ gallery.name }} »
{%- if gallery.cover_photo.alt %} en commençant par la photo « {{ gallery.cover_photo.alt }} »
{%- endif -%}
">
<picture>
<source
srcset="

Loading…
Cancel
Save