From 78d1ce4820f9b5fbfc7444482c6f0892c7ea5a4b Mon Sep 17 00:00:00 2001 From: Pedro Moreno Date: Sat, 25 Feb 2023 22:56:16 +0100 Subject: [PATCH] Added aria-label attribute --- templates/partials/archives.html.twig | 2 +- templates/partials/base.html.twig | 2 +- templates/partials/miniposts.html.twig | 4 ++-- templates/partials/sidebar_left.html.twig | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/partials/archives.html.twig b/templates/partials/archives.html.twig index ebf11ef..dce0ccd 100644 --- a/templates/partials/archives.html.twig +++ b/templates/partials/archives.html.twig @@ -15,7 +15,7 @@ {% endif %} - + {{ image.cropZoom(64,64).quality(60).loading('lazy').attribute('decoding','async').html(title,title)|raw }} diff --git a/templates/partials/base.html.twig b/templates/partials/base.html.twig index acf0cba..e959fa1 100644 --- a/templates/partials/base.html.twig +++ b/templates/partials/base.html.twig @@ -62,7 +62,7 @@ {% endblock %} - + diff --git a/templates/partials/miniposts.html.twig b/templates/partials/miniposts.html.twig index 413492d..3bb04aa 100644 --- a/templates/partials/miniposts.html.twig +++ b/templates/partials/miniposts.html.twig @@ -23,7 +23,7 @@

- {{ p.title }} + {{ title }}

{% if config.plugins["translate-date"].enabled %} @@ -37,7 +37,7 @@ {% endif %}
{% if image %} - + {{ image.cropZoom(1038,437).loading('lazy').attribute('decoding','async').html(title,title)|raw}} {% endif %} diff --git a/templates/partials/sidebar_left.html.twig b/templates/partials/sidebar_left.html.twig index 5cd473b..6bda9e6 100644 --- a/templates/partials/sidebar_left.html.twig +++ b/templates/partials/sidebar_left.html.twig @@ -19,7 +19,7 @@

{{theme_config.footer.title}}

{{theme_config.footer.description}}

{% endif %}