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

{% for gallery in galleries -%} {% for gallery in galleries -%}
{% if not gallery.private %} {% if not gallery.private %}
<div class="gallery-cover"> <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> <picture>
<source <source
srcset=" srcset="

Loading…
Cancel
Save