Add GitBook theme structure with Traditional Chinese docs
This commit is contained in:
17
gitbook/components/ArticleInfo.js
Normal file
17
gitbook/components/ArticleInfo.js
Normal file
@@ -0,0 +1,17 @@
|
||||
/**
|
||||
* 文章補充資訊
|
||||
* @param {*} param0
|
||||
* @returns
|
||||
*/
|
||||
export default function ArticleInfo({ post }) {
|
||||
if (!post) {
|
||||
return null
|
||||
}
|
||||
return (
|
||||
<div className='pt-10 pb-6 text-gray-400 text-sm'>
|
||||
<i className='fa-regular fa-clock mr-1' />
|
||||
Last update:{' '}
|
||||
{post.date?.start_date || post?.publishDay || post?.lastEditedDay}
|
||||
</div>
|
||||
)
|
||||
}
|
Reference in New Issue
Block a user