Skip to content

Commit

Permalink
fix(blog): remove link from year display in YearPost component, mark …
Browse files Browse the repository at this point in the history
…Spark GitHub Actions post as featured (#558)
  • Loading branch information
duyet authored Nov 23, 2024
2 parents 06e0ef3 + 093c3c7 commit 1d0b75f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions apps/blog/_posts/2023/05/spark-github-actions.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Running Spark in GitHub Actions
date: '2023-05-07'
featured: true
author: Duyet
category: Data
tags:
Expand Down
4 changes: 1 addition & 3 deletions apps/blog/components/year-post.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@ export function YearPost({ year, posts, className }: YearPostProps) {
'md:mb-10 md:text-8xl md:font-black',
)}
>
<Link as={`/${year}`} href="/[year]">
{year}
</Link>
{year}
</h1>

<div className="flex flex-col gap-3">
Expand Down

1 comment on commit 1d0b75f

@vercel
Copy link

@vercel vercel bot commented on 1d0b75f Nov 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.