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",
|
||||
"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",
|
||||
|
|
|
@ -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": {
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
decoding="async"
|
||||
width="' . $width . '"
|
||||
height="' . $height . '"
|
||||
/>';
|
||||
>';
|
||||
echo '</div>';
|
||||
echo $closeLink;
|
||||
}
|
||||
|
|
|
@ -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 }}
|
||||
|
|
|
@ -14,4 +14,4 @@
|
|||
decoding="async"
|
||||
width="720"
|
||||
height="480"
|
||||
/>
|
||||
>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
alt="{{ globals.site_name }}"
|
||||
width="100"
|
||||
height="145"
|
||||
/>
|
||||
>
|
||||
<span>Cory</span> <span>Dransfeldt</span>
|
||||
{%- endcapture -%}
|
||||
<section class="main-title">
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
decoding="async"
|
||||
width="{{ width }}"
|
||||
height="{{ height }}"
|
||||
/>
|
||||
>
|
||||
</div>
|
||||
</a>
|
||||
{%- endfor -%}
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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(
|
||||
|
|
|
@ -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"])): ?>
|
||||
|
|
|
@ -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"])): ?>
|
||||
|
|
|
@ -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"])): ?>
|
||||
|
|
|
@ -37,7 +37,7 @@ updated: "now"
|
|||
decoding="async"
|
||||
width="200"
|
||||
height="307"
|
||||
/>
|
||||
>
|
||||
</a>
|
||||
<div class="media-meta">
|
||||
<a href="{{ book.url }}">
|
||||
|
|
|
@ -40,7 +40,7 @@ schema: blog
|
|||
decoding="async"
|
||||
width="200"
|
||||
height="auto"
|
||||
/>
|
||||
>
|
||||
{%- endif -%}
|
||||
{{ post.content | markdown }}
|
||||
{% render "blocks/index.liquid",
|
||||
|
|
|
@ -23,7 +23,7 @@ excludeFromSitemap: true
|
|||
decoding="async"
|
||||
width="720"
|
||||
height="480"
|
||||
/>
|
||||
>
|
||||
</div>
|
||||
<div>
|
||||
<h2 style="text-align:center">403</h2>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -23,7 +23,7 @@ excludeFromSitemap: true
|
|||
decoding="async"
|
||||
width="720"
|
||||
height="480"
|
||||
/>
|
||||
>
|
||||
</div>
|
||||
<div style="text-align:center">
|
||||
<h2>429</h2>
|
||||
|
|
|
@ -23,7 +23,7 @@ excludeFromSitemap: true
|
|||
decoding="async"
|
||||
width="720"
|
||||
height="480"
|
||||
/>
|
||||
>
|
||||
</div>
|
||||
<div style="text-align:center">
|
||||
<h2>500</h2>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue