精减 markjs ,精减 animate.css

This commit is contained in:
tangly1024.com
2023-07-20 17:33:41 +08:00
parent e278777e56
commit 309f7e8215
18 changed files with 654 additions and 155 deletions

View File

@@ -86,8 +86,8 @@ const BlogPostCard = ({ post, showSummary }) => {
{/* 搜索结果 */}
{post.results && (
<p className="line-clamp-4 mt-4 text-gray-700 dark:text-gray-300 text-sm font-light leading-7">
{post.results.map(r => (
<span key={r}>{r}</span>
{post.results.map((r, index) => (
<span key={index}>{r}</span>
))}
</p>
)}