fix(*): remove trailing slash on void image tags

This commit is contained in:
Cory Dransfeldt 2025-05-30 13:28:36 -07:00
parent 0368d5e8a5
commit dfde6dc0a4
No known key found for this signature in database
18 changed files with 19 additions and 19 deletions

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{
"name": "coryd.dev",
"version": "8.1.6",
"version": "8.1.7",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "coryd.dev",
"version": "8.1.6",
"version": "8.1.7",
"license": "MIT",
"dependencies": {
"minisearch": "^7.1.2",

View file

@ -1,6 +1,6 @@
{
"name": "coryd.dev",
"version": "8.1.6",
"version": "8.1.7",
"description": "The source for my personal site. Built using 11ty (and other tools).",
"type": "module",
"engines": {

View file

@ -43,7 +43,7 @@
decoding="async"
width="' . $width . '"
height="' . $height . '"
/>';
>';
echo '</div>';
echo $closeLink;
}

View file

@ -36,7 +36,7 @@ permalink: "{{ feed.permalink }}.xml"
{%- endif -%}
<description><![CDATA[
{%- if feedItem.image -%}
<img src="{{ feedItem.image | encodeAmp }}?class=w800" alt="Image from {{ feedItem.title }}" />
<img src="{{ feedItem.image | encodeAmp }}?class=w800" alt="Image from {{ feedItem.title }}">
{%- endif -%}
{%- if feedItem.content -%}
{{ feedItem.content | markdown | convertRelativeLinks: globals.url }}

View file

@ -14,4 +14,4 @@
decoding="async"
width="720"
height="480"
/>
>

View file

@ -9,7 +9,7 @@
alt="{{ globals.site_name }}"
width="100"
height="145"
/>
>
<span>Cory</span> <span>Dransfeldt</span>
{%- endcapture -%}
<section class="main-title">

View file

@ -37,7 +37,7 @@
decoding="async"
width="{{ width }}"
height="{{ height }}"
/>
>
</div>
</a>
{%- endfor -%}

View file

@ -15,7 +15,7 @@
decoding="async"
width="64"
height="64"
/>
>
</a>
<div class="meta-text">
<a class="title" href="{{ item.chart.url }}">{{ item.chart.title }}</a>

View file

@ -21,7 +21,7 @@ schema: artist
decoding="async"
width="200"
height="200"
/>
>
<div class="media-meta">
<h2 class="page-title"><?= htmlspecialchars($artist["name"]) ?></h2>
<span class="sub-meta country">{% tablericon "map-pin" %} <?= htmlspecialchars(

View file

@ -22,7 +22,7 @@ schema: book
decoding="async"
width="200"
height="307"
/>
>
<div class="media-meta">
<h2 class="page-title"><?= htmlspecialchars($book["title"]) ?></h2>
<?php if (!empty($book["tags"])): ?>

View file

@ -20,7 +20,7 @@ schema: movie
decoding="async"
width="256"
height="180"
/>
>
<div class="media-meta">
<h2 class="page-title"><?= htmlspecialchars($movie["title"]) ?> (<?= htmlspecialchars($movie["year"]) ?>)</h2>
<?php if (!empty($movie["tags"])): ?>

View file

@ -20,7 +20,7 @@ schema: show
decoding="async"
width="256"
height="180"
/>
>
<div class="media-meta">
<h2 class="page-title"><?= htmlspecialchars($show["title"]) ?> (<?= htmlspecialchars($show["year"]) ?>)</h2>
<?php if (!empty($show["tags"])): ?>

View file

@ -37,7 +37,7 @@ updated: "now"
decoding="async"
width="200"
height="307"
/>
>
</a>
<div class="media-meta">
<a href="{{ book.url }}">

View file

@ -40,7 +40,7 @@ schema: blog
decoding="async"
width="200"
height="auto"
/>
>
{%- endif -%}
{{ post.content | markdown }}
{% render "blocks/index.liquid",

View file

@ -23,7 +23,7 @@ excludeFromSitemap: true
decoding="async"
width="720"
height="480"
/>
>
</div>
<div>
<h2 style="text-align:center">403</h2>

View file

@ -23,7 +23,7 @@ excludeFromSitemap: true
decoding="async"
width="720"
height="480"
/>
>
</div>
<h2 style="text-align:center">404</h2>
<p style="text-align:center">What kind of idiots do you have working here?</p>

View file

@ -23,7 +23,7 @@ excludeFromSitemap: true
decoding="async"
width="720"
height="480"
/>
>
</div>
<div style="text-align:center">
<h2>429</h2>

View file

@ -23,7 +23,7 @@ excludeFromSitemap: true
decoding="async"
width="720"
height="480"
/>
>
</div>
<div style="text-align:center">
<h2>500</h2>