From 2550e807d38bdc36f52a9a5d0826ed30770e6c6b Mon Sep 17 00:00:00 2001 From: Sergey Yarkov Date: Wed, 17 Aug 2022 21:16:38 +0300 Subject: [PATCH] feat: added microdata to article post --- src/components/ArticleContent/ArticleContent.astro | 4 ++-- src/components/ArticlePost/ArticlePost.astro | 14 +++++++------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/components/ArticleContent/ArticleContent.astro b/src/components/ArticleContent/ArticleContent.astro index 45849c7..27cc78d 100644 --- a/src/components/ArticleContent/ArticleContent.astro +++ b/src/components/ArticleContent/ArticleContent.astro @@ -1,5 +1,5 @@ --- -import './ArticleContent.scss'; +import "./ArticleContent.scss"; --- -
+
diff --git a/src/components/ArticlePost/ArticlePost.astro b/src/components/ArticlePost/ArticlePost.astro index e2dd9c9..143db25 100644 --- a/src/components/ArticlePost/ArticlePost.astro +++ b/src/components/ArticlePost/ArticlePost.astro @@ -14,31 +14,31 @@ const { data, lang } = Astro.props as Props; const { title, tags, author, published_at } = data; --- -
+
-
    +
      { tags.map((tag) => (
    • - {`${tag}${tags.at(-1) === tag ? "" : ","}`} +
    • )) }
-

{title}

+

{title}

- - {author} + +
{ data.coverImage && (
- {data.title} + {data.title}
)