Sfoglia il codice sorgente

Proper title attributes on galleries’ links

master
David Larlet 1 anno fa
parent
commit
1e5dc4f787
1 ha cambiato i file con 5 aggiunte e 1 eliminazioni
  1. 5
    1
      theme/index.html.j2

+ 5
- 1
theme/index.html.j2 Vedi 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…
Annulla
Salva