排版微调,增加文章易读性
This commit is contained in:
tangly1024
2021-12-03 17:18:53 +08:00
parent 23e7e4605f
commit f13ce77cd5
13 changed files with 131 additions and 147 deletions

View File

@@ -27,7 +27,6 @@ const Comment = ({ frontMatter }) => {
const { theme } = useGlobal()
return <div className='comment text-gray-800 dark:text-gray-300'>
{/* 评论插件 */}
{BLOG.comment.provider === 'gitalk' && (<div className='m-10'>
<GitalkComponent
options={{
@@ -46,9 +45,9 @@ const Comment = ({ frontMatter }) => {
<UtterancesComponent issueTerm={frontMatter.id} className='px-2' />
</div>
)}
{BLOG.comment.provider === 'cusdis' && (
{BLOG.comment.provider === 'cusdis' && (<>
<script defer src='https://cusdis.com/js/widget/lang/zh-cn.js' />
<div className='m-10'>
<script defer src='https://cusdis.com/js/widget/lang/zh-cn.js' />
<CusdisComponent
attrs={{
host: BLOG.comment.cusdisConfig.host,
@@ -61,8 +60,7 @@ const Comment = ({ frontMatter }) => {
lang={BLOG.lang.toLowerCase()}
/>
</div>
)}
</>)}
</div>
}