We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f60aff5 commit b34bc88Copy full SHA for b34bc88
1 file changed
src/pages/blog/[...slug].astro
@@ -97,8 +97,7 @@ function formatDate(date: Date): string {
97
98
// Calculate reading time if not in frontmatter
99
const wordCount = (post.body ?? "").split(/\s+/).filter(Boolean).length;
100
-const readingTime =
101
- post.data.readingTime || Math.ceil(wordCount / 200);
+const readingTime = post.data.readingTime || Math.ceil(wordCount / 200);
102
103
// Build the structured data graph
104
const structuredDataGraph: Record<string, unknown>[] = [
0 commit comments