fix alt/title tags

This commit is contained in:
Cory Dransfeldt 2023-03-15 18:39:56 -07:00
parent cd3c3affe4
commit a80789dc41
No known key found for this signature in database

View file

@ -38,7 +38,7 @@ layout: main
<div>
<div class="grid grid-cols-2 gap-2 md:grid-cols-4 not-prose">
{% for artist in now.artists %}
<a href={{artist.url}} title={{artist.name | escape}}>
<a href="{{artist.url}}" title="{{artist.name | escape}}">
<div class="relative block">
<div class="absolute left-0 top-0 h-full w-full rounded-lg border border-primary-500 bg-cover-gradient dark:border-gray-500"></div>
<div class="absolute left-1 bottom-2 drop-shadow-md">
@ -48,11 +48,11 @@ layout: main
</div>
</div>
<img
src={{artist.name | artist}}
src="{{artist.name | artist}}"
onerror="this.onerror=null; this.src='/assets/img/media/404.jpg'"
width="350"
height="350"
class="rounded-lg" alt={{artist.name | escape}}}}
class="rounded-lg" alt="{{artist.name | escape}}"
loading="lazy"
/>
</div>
@ -70,7 +70,7 @@ layout: main
<div>
<div class="grid grid-cols-2 gap-2 md:grid-cols-4 not-prose">
{% for album in now.albums %}
<a href={{album.url}} title={{album.name | escape}}>
<a href="{{album.url}}" title="{{album.name | escape}}">
<div class="relative block">
<div class="absolute left-0 top-0 h-full w-full rounded-lg border border-primary-500 bg-cover-gradient dark:border-gray-500"></div>
<div class="absolute left-1 bottom-2 drop-shadow-md">
@ -80,12 +80,12 @@ layout: main
</div>
</div>
<img
src={{album | album}}
src="{{album | album}}"
onerror="this.onerror=null; this.src='/assets/img/media/404.jpg'"
width="350"
height="350"
class="rounded-lg"
alt={{album.name | escape}}}}
alt="{{album.name | escape}}"
loading="lazy"
/>
</div>
@ -104,7 +104,7 @@ layout: main
<ul class="list-inside list-disc pl-5 md:pl-10">
{% for book in now.books %}
<li class="mt-1.5 mb-2">
<a href={{book.link}} title={{book.title | escape}}>
<a href="{{book.link}}" title="{{book.title | escape}}">
{{book.title}}
</a>
</li>
@ -122,7 +122,7 @@ layout: main
<ul class="list-inside list-disc pl-5 md:pl-10">
{% for movie in now.movies %}
<li class="mt-1.5 mb-2">
<a href={{movie.link}} title={{movie.title | escape}}>
<a href="{{movie.link}}" title="{{movie.title | escape}}">
{{movie.title}}
</a>
</li>
@ -140,7 +140,7 @@ layout: main
<ul class="list-inside list-disc pl-5 md:pl-10">
{% for show in now.tv %}
<li class="mt-1.5 mb-2">
<a href={{show.link}} title={{show.title | escape}}>
<a href="{{show.link}}" title="{{show.title | escape}}">
{{show.title}}
</a>
</li>