Skip to content

Commit

Permalink
feat(post): Remove title meta blog name tail
Browse files Browse the repository at this point in the history
  • Loading branch information
1ilsang committed Mar 3, 2024
1 parent fe9dd71 commit c2aec38
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/pages/posts/[...slug].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import Footer from '~/shared/components/Footer';
import MetaHeader from '~/shared/components/MetaHeader';
import Navbar from '~/shared/components/nav/Navbar';
import NavProgress from '~/shared/components/nav/Progress';
import { MetaTitle } from '~/shared/constants/blog';
import markdownToHtml from '~/shared/helpers/markdown';
import { getAllPosts, getPostBySlug } from '~/shared/helpers/post';

Expand All @@ -30,7 +29,7 @@ const Posts: NextPage<PostsProps> = ({ post }) => {
return (
<>
<MetaHeader
title={`${post.title} - ${MetaTitle.HOME}`}
title={post.title}
ogImageUrl={post.ogImage.url}
description={post.description}
/>
Expand Down

0 comments on commit c2aec38

Please sign in to comment.