diff --git a/themes/hexo/components/BlogPostCard.js b/themes/hexo/components/BlogPostCard.js index d1ba0023..54a37a72 100644 --- a/themes/hexo/components/BlogPostCard.js +++ b/themes/hexo/components/BlogPostCard.js @@ -39,7 +39,8 @@ const BlogPostCard = ({ post, showSummary }) => { {(!showPreview || showSummary) && ( -
+
{post.summary}
)} diff --git a/themes/medium/components/TopNavBar.js b/themes/medium/components/TopNavBar.js index b1ed876b..2c48ec7b 100644 --- a/themes/medium/components/TopNavBar.js +++ b/themes/medium/components/TopNavBar.js @@ -21,7 +21,7 @@ export default function TopNavBar (props) { if (link.show) { const selected = (router.pathname === link.to) || (router.asPath === link.to) return -