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