fix(Utils/tags.php): tag sizing + spacing

This commit is contained in:
Cory Dransfeldt 2025-06-16 20:23:58 -07:00
parent 555ba74bf6
commit 82ef352f68
No known key found for this signature in database
3 changed files with 5 additions and 5 deletions

View file

@ -7,11 +7,11 @@ if (! function_exists('renderTags')) {
return; return;
} }
echo '<div class="tags">'; echo '<div class="tags tags-small">';
foreach ($tags as $tag) { foreach ($tags as $tag) {
$slug = strtolower(trim($tag)); $slug = strtolower(trim($tag));
echo '<a href="/tags/'.rawurlencode($slug).'">#'.htmlspecialchars($slug).'</a>'; echo ' <a href="/tags/'.rawurlencode($slug).'">#'.htmlspecialchars($slug).'</a>';
} }
echo '</div>'; echo '</div>';

4
package-lock.json generated
View file

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

View file

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