1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-19 14:25:31 -04:00

prepare for new next/link behavior

see new-next-link branch
This commit is contained in:
2022-04-28 12:32:50 -04:00
parent ad1d1bbce1
commit e1da53a1fe
9 changed files with 13 additions and 16 deletions

View File

@@ -113,7 +113,7 @@ const getSiteStats = async (client: faunadb.Client) => {
pages,
};
pages.map((page) => {
pages.forEach((page) => {
// match URLs from RSS feed with db to populate some metadata
const match = notes.find((note) => `notes/${note.slug}` === page.slug);
if (match) {