feat: wrapped article with <article> element
This commit is contained in:
parent
4387aa1f6a
commit
0f0f925dd7
1 changed files with 20 additions and 18 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue