{post.data.subcategory}
-{post.data.title}
- {shortSummary &&{post.data.summary}
} -
- {
- showTags && (
-
-
- {post.data.tags.map((tag) => (
-
- {tag} - ))} -
+
+
- {longSummary && {post.data.subcategory}
+{post.data.title}
+ {shortSummary &&{post.data.summary}
} +
{
- post.data.date.toLocaleDateString("tr-TR", {
- day: "numeric",
- month: "long",
- year: "numeric",
- })
+ showTags && (
+
+
+
+ )
}
-
+
+ -
+ {post.data.tags.map((tag) => (
+
- {tag} + ))} +
+
+
+ -
+
{postDateFormatted}
+{post.body.slice(0, 500)}
} + { + longSummary && ( + <> +{post.body.slice(0, 500)}
+ {post.body.length > 500 && ( + + Devamını Oku + + )} + > + ) + } {fullText &&{post.body}
}