feat: wrapped article with <article> element

This commit is contained in:
草师傅 2025-07-23 18:44:55 +08:00
parent 4387aa1f6a
commit 0f0f925dd7
Signed by: gb
GPG key ID: 43330A030E2D6478

View file

@ -49,6 +49,7 @@ const cover = customFeaturedImage || matchedImage_src?.src || firstImageURL || `
ogImage={cover}
author={authorInfo.map((a: any) => a.name).join(', ')}
>
<article>
<h1 class="title">{entry.data.title}</h1>
{authorInfo.map((a: any) => <AuthorInfo data={a} />)}
<span class="date">{new Date(entry.data.pubDate).toISOString().split('T')[0]}</span>
@ -68,6 +69,7 @@ const cover = customFeaturedImage || matchedImage_src?.src || firstImageURL || `
import "katex/dist/contrib/copy-tex.js"
</script>
}
</article>
</div>
</Layout>
<style>