fix(metadata/index.liquid): corrects 403s in open graph images
This commit is contained in:
parent
f822d627c1
commit
7b0feeb526
6 changed files with 31 additions and 23 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue