diff --git a/contao/templates/_new/component/_album.html.twig b/contao/templates/_new/component/_album.html.twig index 90b5525..7049c75 100644 --- a/contao/templates/_new/component/_album.html.twig +++ b/contao/templates/_new/component/_album.html.twig @@ -4,30 +4,36 @@ {% trans_default_domain 'contao_default' %} {% block album_component %} + {% if album.href|default %} + {% + set album_href_attributes = attrs(album_href_attributes|default) + .set('href', album.href) + .set('title', album.meta.getTitle()) + .addClass('gc-album-list-link') + %} + {% endif %}