From 5aed21996a78e1375907f1f4fea3b18b0689d379 Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Fri, 27 Sep 2024 14:10:43 -0700 Subject: [PATCH] fix: spacing --- config/filters/feeds.js | 2 +- package-lock.json | 20 ++++++++++---------- package.json | 2 +- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/config/filters/feeds.js b/config/filters/feeds.js index ce4dd382..bfff211f 100644 --- a/config/filters/feeds.js +++ b/config/filters/feeds.js @@ -58,7 +58,7 @@ export default { } else if (type === 'album-release') { let sanitizedDescription = sanitizeHtml(md.render(description || '')) let truncatedDescription = truncate(sanitizedDescription, { length: 500, reserveLastWord: true, ellipsis: '...' }) - if (sanitizedDescription.length > 500) truncatedDescription += ` Read more about ${artist?.name}` + if (sanitizedDescription.length > 500) truncatedDescription += `

Read more about ${artist?.name}

` processedEntry.excerpt = truncatedDescription } else if (slug && content) { processedEntry.excerpt = sanitizeHtml(md.render(content) + feedNote, { disallowedTagsMode: 'completelyDiscard' }) diff --git a/package-lock.json b/package-lock.json index 5442aaeb..b5c9b734 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "coryd.dev", - "version": "24.20.3", + "version": "24.20.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "coryd.dev", - "version": "24.20.3", + "version": "24.20.4", "license": "MIT", "dependencies": { "@cdransf/api-text": "^1.5.0", @@ -701,9 +701,9 @@ "peer": true }, "node_modules/@types/node": { - "version": "22.7.3", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.7.3.tgz", - "integrity": "sha512-qXKfhXXqGTyBskvWEzJZPUxSslAiLaB6JGP1ic/XTH9ctGgzdgYguuLP1C601aRTSDNlLb0jbKqXjZ48GNraSA==", + "version": "22.7.4", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.7.4.tgz", + "integrity": "sha512-y+NPi1rFzDs1NdQHHToqeiX2TIS79SWEAw9GYhkkx8bD0ChpfqC+n2j5OXOCpzfojBEBt6DnEnnG9MY0zk1XLg==", "dev": true, "license": "MIT", "dependencies": { @@ -4981,9 +4981,9 @@ } }, "node_modules/update-browserslist-db": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.1.0.tgz", - "integrity": "sha512-EdRAaAyk2cUE1wOf2DkEhzxqOQvFOoRJFNS6NeyJ01Gp2beMRpBAINjM2iDXE3KCuKhwnvHIQCJm6ThL2Z+HzQ==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.1.1.tgz", + "integrity": "sha512-R8UzCaa9Az+38REPiJ1tXlImTJXlVfgHZsglwBD/k6nj76ctsH1E3q4doGrukiLQd3sGQYu56r5+lo5r94l29A==", "dev": true, "funding": [ { @@ -5001,8 +5001,8 @@ ], "license": "MIT", "dependencies": { - "escalade": "^3.1.2", - "picocolors": "^1.0.1" + "escalade": "^3.2.0", + "picocolors": "^1.1.0" }, "bin": { "update-browserslist-db": "cli.js" diff --git a/package.json b/package.json index e80e6afa..668bf373 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "coryd.dev", - "version": "24.20.3", + "version": "24.20.4", "description": "The source for my personal site. Built using 11ty (and other tools).", "type": "module", "scripts": {