Skip to content

Commit 69ee2c1

Browse files
committed
blog post details page
1 parent 0fe349e commit 69ee2c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Pages/BlogPostDetails/BlogPostDetails.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ const BlogPostDetails = () => {
2424
return (
2525
<section className='mx-8'>
2626
<div className="font-sans mb-6">
27-
<p className="text-base md:text-sm text-green-500 font-bold">&lt; <Link to="/" className="text-base md:text-sm text-green-500 font-bold no-underline hover:underline">BACK TO BLOG</Link></p>
27+
<p className="text-base md:text-sm text-primary font-bold">&lt; <Link to="/" className="text-base md:text-sm text-primary font-bold no-underline hover:underline">BACK TO BLOG</Link></p>
2828
<h1 className="font-bold font-sans break-normal text-gray-900 pt-6 pb-2 text-3xl md:text-4xl">
2929
<ReactMarkdown
3030
rehypePlugins={[rehypeRaw]}
3131
remarkPlugins={[[remarkGfm, { singleTilde: false }], remarkGfm, remarkMath, rehypeKatex, remarkExtendedTable]}
32-
children={postName} />
32+
children={postCategory + ' : ' + postName} />
3333
</h1>
3434
<p className="text-sm md:text-base font-normal text-gray-600">Category: {postCategory}</p>
3535
<p className="text-xs md:text-base font-normal text-gray-600 flex items-center">

0 commit comments

Comments
 (0)