Skip to content

Commit

Permalink
Merge pull request #5 from hamza-m-masood/merge-portfolio
Browse files Browse the repository at this point in the history
fixed more links
  • Loading branch information
hamza-m-masood authored Aug 18, 2024
2 parents fc92a98 + 1218865 commit 8aa45f5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/layouts/PostSingle.astro
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const { title, description, authors, categories, image, date, tags } =
categories.map((category: string, i: number) => (
<li class="inline-block">
<a
href={`/categories/${slugify(category)}`}
href={`/blog/categories/${slugify(category)}`}
class="mr-2 hover:text-primary font-medium"
>
{humanize(category)}
Expand Down
2 changes: 1 addition & 1 deletion src/layouts/Posts.astro
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const { className, posts, fluid } = Astro.props;
{post.data.categories.map((category: string, i: number) => (
<li class="inline-block">
<a
href={`/categories/${slugify(category)}`}
href={`/blog/categories/${slugify(category)}`}
class="mr-2 hover:text-primary font-medium"
>
{humanize(category)}
Expand Down
2 changes: 1 addition & 1 deletion src/layouts/SearchBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ export default function SearchBar({ searchList }: Props) {
{item.data.categories.map((category: string, i: number) => (
<li key={i} className="inline-block">
<a
href={`/categories/${slugify(category)}`}
href={`/blog/categories/${slugify(category)}`}
className="mr-2 hover:text-primary font-medium"
>
{humanize(category)}
Expand Down

0 comments on commit 8aa45f5

Please sign in to comment.