This commit is contained in:
Sergey Yarkov 2023-02-17 21:38:39 +03:00
parent 2c28b35277
commit f1dcbb536a
No known key found for this signature in database
GPG Key ID: E91CE1FABC619B6F

View File

@ -31,9 +31,9 @@ const {
<ul itemprop="keywords">
{tags.map((tag) => (
<li>
<a rel="tag" href={`/articles/?tags=${tag.toLocaleLowerCase()}`}>{`${tag}${
tags.at(-1) === tag ? "" : ","
}`}</a>
<a rel="tag" href={`/articles/?tags=${tag.toLocaleLowerCase()}`}>
{tag}
</a>
</li>
))}
</ul>
@ -49,9 +49,9 @@ const {
<h1 itemprop="headline">{title}</h1>
</div>
<div class="published">
<time itemprop="datePublished" datetime={pubDate.toString()}
>{createDateFormatter(lang).format(pubDate)}</time
>
<time itemprop="datePublished" datetime={pubDate.toString()}>
{createDateFormatter(lang).format(pubDate)}
</time>
<span itemprop="author">{author}</span>
</div>
{coverImage && <ArticleCover src={coverImage} alt={title} />}
@ -116,6 +116,10 @@ const {
flex-wrap: wrap;
column-gap: 7px;
row-gap: 7px;
& li:not(:last-child)::after {
content: ",";
color: var(--color-blue-400);
}
}
}