fix(*.php.liquid): spacing after mark tags
This commit is contained in:
parent
5e5806c6ae
commit
77e4132a09
4 changed files with 6 additions and 6 deletions
4
package-lock.json
generated
4
package-lock.json
generated
|
@ -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",
|
||||||
|
|
|
@ -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": {
|
||||||
|
|
|
@ -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> 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> tracks from this genre.</p>
|
||||||
<hr />
|
<hr />
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<?php
|
<?php
|
||||||
|
|
|
@ -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> 
|
||||||
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; ?>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue