fix(*.php.liquid): spacing after mark tags

This commit is contained in:
Cory Dransfeldt 2025-04-14 10:52:59 -07:00
parent 5e5806c6ae
commit 77e4132a09
No known key found for this signature in database
4 changed files with 6 additions and 6 deletions

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{ {
"name": "coryd.dev", "name": "coryd.dev",
"version": "1.7.2", "version": "1.7.3",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "coryd.dev", "name": "coryd.dev",
"version": "1.7.2", "version": "1.7.3",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"html-minifier-terser": "7.2.0", "html-minifier-terser": "7.2.0",

View file

@ -1,6 +1,6 @@
{ {
"name": "coryd.dev", "name": "coryd.dev",
"version": "1.7.2", "version": "1.7.3",
"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": {

View file

@ -8,7 +8,7 @@ schema: genre
<article class="genre-focus"> <article class="genre-focus">
<?php $artistCount = count($genre["artists"]); ?> <?php $artistCount = count($genre["artists"]); ?>
<?php if ($artistCount > 0): ?> <?php if ($artistCount > 0): ?>
<p>My top <mark><?= htmlspecialchars($genre["name"]) ?></mark> artists are <p>My top <mark><?= htmlspecialchars($genre["name"]) ?></mark>&thinsp;artists are
<?php <?php
$artists = array_slice($genre["artists"], 0, 5); $artists = array_slice($genre["artists"], 0, 5);
$artistLinks = []; $artistLinks = [];
@ -16,7 +16,7 @@ schema: genre
$artistLinks[] = '<a href="' . htmlspecialchars($artist["url"]) . '">' . htmlspecialchars($artist["name"]) . '</a>'; $artistLinks[] = '<a href="' . htmlspecialchars($artist["url"]) . '">' . htmlspecialchars($artist["name"]) . '</a>';
} }
echo implode(', ', $artistLinks); echo implode(', ', $artistLinks);
?>. I've listened to <mark><?= $genre["total_plays"] . ' ' . pluralize($genre["total_plays"], "play") ?></mark> tracks from this genre.</p> ?>. I've listened to <mark><?= $genre["total_plays"] . ' ' . pluralize($genre["total_plays"], "play") ?></mark>&thinsp;tracks from this genre.</p>
<hr /> <hr />
<?php endif; ?> <?php endif; ?>
<?php <?php

View file

@ -31,7 +31,7 @@ schema: show
<?php endif; ?> <?php endif; ?>
<?php if (!empty($show["episode"]["formatted_episode"])): ?> <?php if (!empty($show["episode"]["formatted_episode"])): ?>
<span class="sub-meta">I last watched <span class="sub-meta">I last watched
<mark><?= htmlspecialchars($show["episode"]["formatted_episode"]) ?></mark> <mark><?= htmlspecialchars($show["episode"]["formatted_episode"]) ?></mark>&thinsp;
on <?= date('F j, Y', strtotime($show["episode"]["last_watched_at"])) ?>. on <?= date('F j, Y', strtotime($show["episode"]["last_watched_at"])) ?>.
</span> </span>
<?php endif; ?> <?php endif; ?>