From 1a71706520456963298b16bdf02813720593be3c Mon Sep 17 00:00:00 2001 From: Mark Bundschuh Date: Wed, 13 Mar 2024 23:24:46 -0400 Subject: [PATCH] remove console.logs --- src/layouts/PostDetails.astro | 1 - src/utils/remark-reading-time.mjs | 1 - 2 files changed, 2 deletions(-) diff --git a/src/layouts/PostDetails.astro b/src/layouts/PostDetails.astro index e63a44e..276430a 100644 --- a/src/layouts/PostDetails.astro +++ b/src/layouts/PostDetails.astro @@ -26,7 +26,6 @@ const { tags, readingTime, } = post.data; -console.log(post.data); const { Content } = await post.render(); diff --git a/src/utils/remark-reading-time.mjs b/src/utils/remark-reading-time.mjs index 8b6571f..9a0087b 100644 --- a/src/utils/remark-reading-time.mjs +++ b/src/utils/remark-reading-time.mjs @@ -6,6 +6,5 @@ export function remarkReadingTime() { const textOnPage = toString(tree); const readingTime = getReadingTime(textOnPage); data.astro.frontmatter.readingTime = readingTime.text; - console.log(data.astro.frontmatter); }; }