mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-14 08:42:31 +02:00
fix(v2): use tag time for showing post item date (#1964)
* fix(v2): use tag time for showing post item date * refactor: use rem for font-size
This commit is contained in:
parent
6546c194fb
commit
3823feb276
2 changed files with 6 additions and 2 deletions
|
@ -48,9 +48,9 @@ function BlogPostItem(props) {
|
|||
<Link to={permalink}>{title}</Link>
|
||||
</h1>
|
||||
<div className="margin-bottom--sm">
|
||||
<small>
|
||||
<time dateTime={date} className={styles.blogPostDate}>
|
||||
{month} {day}, {year}
|
||||
</small>
|
||||
</time>
|
||||
</div>
|
||||
<div className="avatar margin-bottom--md">
|
||||
{authorImageURL && (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue