mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-16 19:51:07 +02:00
fix: theme transition error on ios
This commit is contained in:
parent
45385fd84a
commit
93eca1fa7a
6 changed files with 23 additions and 20 deletions
|
@ -37,7 +37,7 @@ const postsByYear = await getPostsByYear()
|
|||
// Single Post
|
||||
<li class="mt-7">
|
||||
{/* Post Title */}
|
||||
<a class="hover:text-primary" href={`/posts/${post.data.slug || post.slug}`}>{post.data.title}</a>
|
||||
<a class="hover:c-primary" href={`/posts/${post.data.slug || post.slug}`}>{post.data.title}</a>
|
||||
{/* Post Date */}
|
||||
<div class="mb-9 block text-5.6 leading-11 font-time lg:ml-4 lg:inline">
|
||||
{post.data.published.toLocaleDateString('zh-CN', { year: 'numeric', month: '2-digit', day: '2-digit' }).replace(/\//g, '-')}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue