diff --git a/config/filters/index.js b/config/filters/index.js index ef1a3494..60d4664c 100644 --- a/config/filters/index.js +++ b/config/filters/index.js @@ -205,7 +205,6 @@ export default { normalized['subtext'] = item['rating'] } if (item.type === 'book') { - normalized['alt'] = `${item['title']} by ${item['authors']}` normalized['title'] = `${item['title']} by ${item['authors']}` normalized['rating'] = item['rating'] if (item['rating']) normalized['subtext'] = item['rating'] diff --git a/src/_includes/partials/now/media-grid.liquid b/src/_includes/partials/now/media-grid.liquid index 99e337ed..528c07ed 100644 --- a/src/_includes/partials/now/media-grid.liquid +++ b/src/_includes/partials/now/media-grid.liquid @@ -19,9 +19,9 @@ {%- if loading -%}{{ loading }}{%- else -%}lazy{%- endif -%} {%- endcapture -%} {% if shape == 'square' %} - {{ alt }} + {% else %} - {{ alt }} + {% endif %}