This commit is contained in:
@ -44,7 +44,7 @@ const formatDate = (date: Date) => `${date.getFullYear()} 年 ${date.getMonth()
|
|||||||
<h1>{blogData.title}</h1>
|
<h1>{blogData.title}</h1>
|
||||||
{
|
{
|
||||||
blogData.author && <div class="blog-info">
|
blogData.author && <div class="blog-info">
|
||||||
<a class="author" href=`https://legacy.passthem.top/usr/${blogData.author.username}`>
|
<a class="author" href=`https://legacy.passthem.top/user/${blogData.author.username}`>
|
||||||
<div class="avatar">
|
<div class="avatar">
|
||||||
<Image class="image" src={blogData.author.avatar.image_url}
|
<Image class="image" src={blogData.author.avatar.image_url}
|
||||||
width={32} height={32} alt=`用户 ${blogData.author.nickname} 的头像` />
|
width={32} height={32} alt=`用户 ${blogData.author.nickname} 的头像` />
|
||||||
|
|||||||
Reference in New Issue
Block a user