fix(metadata/index.liquid): corrects 403s in open graph images

This commit is contained in:
Cory Dransfeldt 2025-05-14 11:14:48 -07:00
parent f822d627c1
commit 7b0feeb526
No known key found for this signature in database
6 changed files with 31 additions and 23 deletions

View file

@ -15,6 +15,8 @@ export default {
ellipsis: "...",
}),
shuffleArray,
mergeArray: (a, b) =>
Array.isArray(a) && Array.isArray(b) ? [...new Set([...a, ...b])] : [],
pluralize: (count, string, trailing) => {
const countStr = String(count).replace(/,/g, "");
if (parseInt(countStr, 10) === 1) return string;