fix(*): remove trailing slash on void image tags
This commit is contained in:
parent
0368d5e8a5
commit
dfde6dc0a4
18 changed files with 19 additions and 19 deletions
4
package-lock.json
generated
4
package-lock.json
generated
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "coryd.dev",
|
"name": "coryd.dev",
|
||||||
"version": "8.1.6",
|
"version": "8.1.7",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "coryd.dev",
|
"name": "coryd.dev",
|
||||||
"version": "8.1.6",
|
"version": "8.1.7",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"minisearch": "^7.1.2",
|
"minisearch": "^7.1.2",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "coryd.dev",
|
"name": "coryd.dev",
|
||||||
"version": "8.1.6",
|
"version": "8.1.7",
|
||||||
"description": "The source for my personal site. Built using 11ty (and other tools).",
|
"description": "The source for my personal site. Built using 11ty (and other tools).",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"engines": {
|
"engines": {
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
decoding="async"
|
decoding="async"
|
||||||
width="' . $width . '"
|
width="' . $width . '"
|
||||||
height="' . $height . '"
|
height="' . $height . '"
|
||||||
/>';
|
>';
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
echo $closeLink;
|
echo $closeLink;
|
||||||
}
|
}
|
||||||
|
|
|
@ -36,7 +36,7 @@ permalink: "{{ feed.permalink }}.xml"
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
<description><![CDATA[
|
<description><![CDATA[
|
||||||
{%- if feedItem.image -%}
|
{%- 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 -%}
|
{%- endif -%}
|
||||||
{%- if feedItem.content -%}
|
{%- if feedItem.content -%}
|
||||||
{{ feedItem.content | markdown | convertRelativeLinks: globals.url }}
|
{{ feedItem.content | markdown | convertRelativeLinks: globals.url }}
|
||||||
|
|
|
@ -14,4 +14,4 @@
|
||||||
decoding="async"
|
decoding="async"
|
||||||
width="720"
|
width="720"
|
||||||
height="480"
|
height="480"
|
||||||
/>
|
>
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
alt="{{ globals.site_name }}"
|
alt="{{ globals.site_name }}"
|
||||||
width="100"
|
width="100"
|
||||||
height="145"
|
height="145"
|
||||||
/>
|
>
|
||||||
<span>Cory</span> <span>Dransfeldt</span>
|
<span>Cory</span> <span>Dransfeldt</span>
|
||||||
{%- endcapture -%}
|
{%- endcapture -%}
|
||||||
<section class="main-title">
|
<section class="main-title">
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
decoding="async"
|
decoding="async"
|
||||||
width="{{ width }}"
|
width="{{ width }}"
|
||||||
height="{{ height }}"
|
height="{{ height }}"
|
||||||
/>
|
>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
decoding="async"
|
decoding="async"
|
||||||
width="64"
|
width="64"
|
||||||
height="64"
|
height="64"
|
||||||
/>
|
>
|
||||||
</a>
|
</a>
|
||||||
<div class="meta-text">
|
<div class="meta-text">
|
||||||
<a class="title" href="{{ item.chart.url }}">{{ item.chart.title }}</a>
|
<a class="title" href="{{ item.chart.url }}">{{ item.chart.title }}</a>
|
||||||
|
|
|
@ -21,7 +21,7 @@ schema: artist
|
||||||
decoding="async"
|
decoding="async"
|
||||||
width="200"
|
width="200"
|
||||||
height="200"
|
height="200"
|
||||||
/>
|
>
|
||||||
<div class="media-meta">
|
<div class="media-meta">
|
||||||
<h2 class="page-title"><?= htmlspecialchars($artist["name"]) ?></h2>
|
<h2 class="page-title"><?= htmlspecialchars($artist["name"]) ?></h2>
|
||||||
<span class="sub-meta country">{% tablericon "map-pin" %} <?= htmlspecialchars(
|
<span class="sub-meta country">{% tablericon "map-pin" %} <?= htmlspecialchars(
|
||||||
|
|
|
@ -22,7 +22,7 @@ schema: book
|
||||||
decoding="async"
|
decoding="async"
|
||||||
width="200"
|
width="200"
|
||||||
height="307"
|
height="307"
|
||||||
/>
|
>
|
||||||
<div class="media-meta">
|
<div class="media-meta">
|
||||||
<h2 class="page-title"><?= htmlspecialchars($book["title"]) ?></h2>
|
<h2 class="page-title"><?= htmlspecialchars($book["title"]) ?></h2>
|
||||||
<?php if (!empty($book["tags"])): ?>
|
<?php if (!empty($book["tags"])): ?>
|
||||||
|
|
|
@ -20,7 +20,7 @@ schema: movie
|
||||||
decoding="async"
|
decoding="async"
|
||||||
width="256"
|
width="256"
|
||||||
height="180"
|
height="180"
|
||||||
/>
|
>
|
||||||
<div class="media-meta">
|
<div class="media-meta">
|
||||||
<h2 class="page-title"><?= htmlspecialchars($movie["title"]) ?> (<?= htmlspecialchars($movie["year"]) ?>)</h2>
|
<h2 class="page-title"><?= htmlspecialchars($movie["title"]) ?> (<?= htmlspecialchars($movie["year"]) ?>)</h2>
|
||||||
<?php if (!empty($movie["tags"])): ?>
|
<?php if (!empty($movie["tags"])): ?>
|
||||||
|
|
|
@ -20,7 +20,7 @@ schema: show
|
||||||
decoding="async"
|
decoding="async"
|
||||||
width="256"
|
width="256"
|
||||||
height="180"
|
height="180"
|
||||||
/>
|
>
|
||||||
<div class="media-meta">
|
<div class="media-meta">
|
||||||
<h2 class="page-title"><?= htmlspecialchars($show["title"]) ?> (<?= htmlspecialchars($show["year"]) ?>)</h2>
|
<h2 class="page-title"><?= htmlspecialchars($show["title"]) ?> (<?= htmlspecialchars($show["year"]) ?>)</h2>
|
||||||
<?php if (!empty($show["tags"])): ?>
|
<?php if (!empty($show["tags"])): ?>
|
||||||
|
|
|
@ -37,7 +37,7 @@ updated: "now"
|
||||||
decoding="async"
|
decoding="async"
|
||||||
width="200"
|
width="200"
|
||||||
height="307"
|
height="307"
|
||||||
/>
|
>
|
||||||
</a>
|
</a>
|
||||||
<div class="media-meta">
|
<div class="media-meta">
|
||||||
<a href="{{ book.url }}">
|
<a href="{{ book.url }}">
|
||||||
|
|
|
@ -40,7 +40,7 @@ schema: blog
|
||||||
decoding="async"
|
decoding="async"
|
||||||
width="200"
|
width="200"
|
||||||
height="auto"
|
height="auto"
|
||||||
/>
|
>
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
{{ post.content | markdown }}
|
{{ post.content | markdown }}
|
||||||
{% render "blocks/index.liquid",
|
{% render "blocks/index.liquid",
|
||||||
|
|
|
@ -23,7 +23,7 @@ excludeFromSitemap: true
|
||||||
decoding="async"
|
decoding="async"
|
||||||
width="720"
|
width="720"
|
||||||
height="480"
|
height="480"
|
||||||
/>
|
>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<h2 style="text-align:center">403</h2>
|
<h2 style="text-align:center">403</h2>
|
||||||
|
|
|
@ -23,7 +23,7 @@ excludeFromSitemap: true
|
||||||
decoding="async"
|
decoding="async"
|
||||||
width="720"
|
width="720"
|
||||||
height="480"
|
height="480"
|
||||||
/>
|
>
|
||||||
</div>
|
</div>
|
||||||
<h2 style="text-align:center">404</h2>
|
<h2 style="text-align:center">404</h2>
|
||||||
<p style="text-align:center">What kind of idiots do you have working here?</p>
|
<p style="text-align:center">What kind of idiots do you have working here?</p>
|
||||||
|
|
|
@ -23,7 +23,7 @@ excludeFromSitemap: true
|
||||||
decoding="async"
|
decoding="async"
|
||||||
width="720"
|
width="720"
|
||||||
height="480"
|
height="480"
|
||||||
/>
|
>
|
||||||
</div>
|
</div>
|
||||||
<div style="text-align:center">
|
<div style="text-align:center">
|
||||||
<h2>429</h2>
|
<h2>429</h2>
|
||||||
|
|
|
@ -23,7 +23,7 @@ excludeFromSitemap: true
|
||||||
decoding="async"
|
decoding="async"
|
||||||
width="720"
|
width="720"
|
||||||
height="480"
|
height="480"
|
||||||
/>
|
>
|
||||||
</div>
|
</div>
|
||||||
<div style="text-align:center">
|
<div style="text-align:center">
|
||||||
<h2>500</h2>
|
<h2>500</h2>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue