diff --git a/config/filters.js b/config/filters.js index 21e2e8cf..71817142 100644 --- a/config/filters.js +++ b/config/filters.js @@ -36,9 +36,10 @@ module.exports = { return author.name && published && content } - const filtered = webmentions - .filter((entry) => entry['wm-target'] === `https://coryd.dev${url}`) - .filter((entry) => allowedTypes.includes(entry['wm-property'])) + const filtered = + webmentions + ?.filter((entry) => entry['wm-target'] === `https://coryd.dev${url}`) + .filter((entry) => allowedTypes.includes(entry['wm-property'])) || [] filtered.forEach((m) => { if (data[m['wm-property']]) { diff --git a/src/_includes/footer.liquid b/src/_includes/footer.liquid index f829a973..164e39b9 100644 --- a/src/_includes/footer.liquid +++ b/src/_includes/footer.liquid @@ -10,5 +10,5 @@ {% include "icons/trakt.liquid" %} {% include "icons/oku.liquid" %} -

UsesReferrals • Cory Dransfeldt • © {{ "now" | date: "%Y" }}

+

UsesReferrals • Cory Dransfeldt • © {{ "now" | date: "%Y" }}

diff --git a/src/_includes/nav.liquid b/src/_includes/nav.liquid index 0a4fd06d..03f57cfd 100644 --- a/src/_includes/nav.liquid +++ b/src/_includes/nav.liquid @@ -1,7 +1,7 @@