Skip to content

Commit

Permalink
Remove old alttitle custom attributes
Browse files Browse the repository at this point in the history
Signed-off-by: Marcus Crane <[email protected]>
  • Loading branch information
marcus-crane committed Jan 5, 2025
1 parent 537cd5c commit 77eed5a
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions index.vto
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
{{ for book of books[0].books }}
{{ if book.progress !== 100 }}
<li style="display: inline-block;">
<img alttitle="OpenLibrary" altsrc="{{ book.link }}" alt="A cover image of the book titled {{ book.title }}" src="{{ book.cover }}" height="180px" style="border-radius: 3px;" />
<img alt="A cover photo of the book titled {{ book.title }}" src="{{ book.cover }}" height="180px" style="border-radius: 3px;" />
<figcaption style="display: none;">You can learn more by visiting <a target="_blank" href={{ book.link }}>{{ book.link }}</a></figcaption>
<p>{{ book.progress }}% read</p>
</li>
{{ /if }}
Expand All @@ -54,7 +55,8 @@
{{# I read a lot of ongoign manga so we just filter for finished so we can surface a percentage complete #}}
{{ if entry.status === "FINISHED" }}
<li style="display: inline-block;">
<img alttitle="AniList" altsrc="{{ entry.url }}" alt="A cover image of {{ entry.title }}, a manga series by {{ entry.author }}" src="{{ entry.cover }}" height="180px" style="border-radius: 3px;" />
<img alt="A cover image of {{ entry.title }}, a manga series by {{ entry.author }}" src="{{ entry.cover }}" height="180px" style="border-radius: 3px;" />
<figcaption style="display: none;">You can learn more by visiting <a target="_blank" href="{{ entry.url }}">Anilist</a></figcaption>
<p>{{ entry.chapters - entry.progress }} chapters left<p>
</li>
{{ /if }}
Expand Down Expand Up @@ -106,7 +108,8 @@
<ul>
{{ for game of games[0].games }}
<li style="display: inline-block;">
<img alttitle="IGDB" altsrc="{{ game.link }}" alt="Box art for the game titled {{ game.title |> escape }}" src="{{ game.cover.url }}" height="180px" style="border-radius: 3px;" />
<img alt="Box art for the game titled {{ game.title |> escape }}" src="{{ game.cover.url }}" height="180px" style="border-radius: 3px;" />
<figcaption style="display: none;">You can learn more by visiting <a target="_blank" href="{{ game.link }}">Backloggd</a></figcaption>
</li>
{{ /for }}
</ul>
Expand Down

0 comments on commit 77eed5a

Please sign in to comment.