diff --git a/themes/medium/components/ArticleInfo.js b/themes/medium/components/ArticleInfo.js
index b248a12e..3d4abce5 100644
--- a/themes/medium/components/ArticleInfo.js
+++ b/themes/medium/components/ArticleInfo.js
@@ -1,6 +1,5 @@
import BLOG from '@/blog.config'
import LazyImage from '@/components/LazyImage'
-import formatDate from '@/lib/formatDate'
import Link from 'next/link'
/**
@@ -11,8 +10,6 @@ import Link from 'next/link'
export default function ArticleInfo(props) {
const { post, siteInfo } = props
- const date = formatDate(post?.publishTime || post?.createdTime)
-
return (<>
{/* title */}
{post?.title}
@@ -20,9 +17,9 @@ export default function ArticleInfo(props) {
{/* meta */}
-
{date}
+
{post?.publishTime}
|
-
{post.lastEditedTime}
+
{post?.lastEditedTime}
diff --git a/themes/medium/index.js b/themes/medium/index.js
index 72b27314..b57b8528 100644
--- a/themes/medium/index.js
+++ b/themes/medium/index.js
@@ -35,6 +35,7 @@ import Link from 'next/link'
import { Transition } from '@headlessui/react'
import { Style } from './style'
import replaceSearchResult from '@/components/Mark'
+import ArticleInfo from './components/ArticleInfo'
// 主题全局状态
const ThemeGlobalMedium = createContext()
@@ -161,6 +162,9 @@ const LayoutSlug = props => {
{!lock &&
+ {/* 文章信息 */}
+
+
{/* Notion文章主体 */}