Skip to content

Commit

Permalink
feat: title color
Browse files Browse the repository at this point in the history
  • Loading branch information
sunshineLixun committed Apr 1, 2024
1 parent 195c0c3 commit 47a73e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/homeLink.astro
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
import "@fontsource/montserrat/900.css";
import Link from "./link.astro";
const isActive = true;
const pathname = Astro.url.pathname;
const isActive = pathname === "/";
---

<Link
Expand Down

0 comments on commit 47a73e6

Please sign in to comment.