diff --git a/src/components/PostMeta.astro b/src/components/PostMeta.astro index cdeeec1..34ec1d0 100644 --- a/src/components/PostMeta.astro +++ b/src/components/PostMeta.astro @@ -32,12 +32,12 @@ const className = Astro.props.class; > -
-
+ {category || i18n(I18nKey.uncategorized)} -
+
@@ -47,16 +47,15 @@ const className = Astro.props.class; > -
- {(tags && tags.length > 0) && tags.map(tag =>
+
+ {(tags && tags.length > 0) && tags.map((tag, i) => ( +
/
{tag} -
)} + ))} {!(tags && tags.length > 0) &&
{i18n(I18nKey.noTags)}
}