mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-19 07:26:50 +00:00
最近评论
This commit is contained in:
@@ -6,6 +6,14 @@ import Catalog from './Catalog'
|
||||
import { InfoCard } from './InfoCard'
|
||||
import { AnalyticsCard } from './AnalyticsCard'
|
||||
import CONFIG_HEXO from '../config_hexo'
|
||||
import WalineRecentComment from '@/components/WalineRecentsComments'
|
||||
import BLOG from '@/blog.config'
|
||||
|
||||
/**
|
||||
* Hexo主题右侧栏
|
||||
* @param {*} props
|
||||
* @returns
|
||||
*/
|
||||
export default function SideRight(props) {
|
||||
const {
|
||||
post, currentCategory, categories, latestPosts, tags,
|
||||
@@ -37,8 +45,10 @@ export default function SideRight(props) {
|
||||
<LatestPostsGroup {...props} />
|
||||
</Card>}
|
||||
|
||||
{BLOG.COMMENT_WALINE_SERVER_URL && <WalineRecentComment/>}
|
||||
|
||||
<div className='sticky top-20'>
|
||||
{post && post.toc && <Card>
|
||||
{post && post.toc && post.toc.length > 1 && <Card>
|
||||
<Catalog toc={post.toc} />
|
||||
</Card>}
|
||||
{slot}
|
||||
|
||||
@@ -8,6 +8,7 @@ import formatDate from '@/lib/formatDate'
|
||||
import { useGlobal } from '@/lib/global'
|
||||
import BLOG from '@/blog.config'
|
||||
import NotionPage from '@/components/NotionPage'
|
||||
import React from 'react'
|
||||
|
||||
export const ArticleDetail = props => {
|
||||
const { post, prev, next, siteInfo } = props
|
||||
|
||||
Reference in New Issue
Block a user