- {/* eslint-disable-next-line @next/next/no-img-element */}
-
+
+ {cover && (
+
);
+ {/* eslint-disable-next-line @next/next/no-img-element */}
+
+
+ )}
+
+ {post.published_at && (
+
+ {new Date(post.published_at).toLocaleDateString( + siteConfig.defaultLocale + )} +
+ )} ++ {post.title} +
+ {post.tags && post.tags.length > 0 && ( +
+ {post.tags.slice(0, 4).map((t, i) => {
+ const color =
+ tagColorClasses[i % tagColorClasses.length];
+ return (
+
+ #{t}
+
+ );
+ })}
)}
-
- {post.published_at && (
-
-
+ {excerpt && (
+ - {new Date(post.published_at).toLocaleDateString( - siteConfig.defaultLocale - )} -
- )} -- {post.title} -
- {post.tags && post.tags.length > 0 && ( -
- {post.tags.slice(0, 4).map((t, i) => {
- const color =
- tagColorClasses[i % tagColorClasses.length];
- return (
-
- #{t}
-
- );
- })}
-
- )}
- {excerpt && (
- - {excerpt} -
- )} -+ {excerpt} +
+ )} +