Skip to content

Commit

Permalink
Fixing Navbar
Browse files Browse the repository at this point in the history
  • Loading branch information
petrovicz committed Apr 4, 2024
1 parent 55250a6 commit 012a4c3
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/components/Navbar.astro
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
---
const baseUrl = import.meta.env.BASE_URL;
const hrefHome = `${baseUrl}`;
const hrefSub = `${baseUrl}/subpage/`;
// const baseUrl = import.meta.env.BASE_URL;
// const hrefHome = `${baseUrl}`;
// const hrefSub = `${baseUrl}/subpage/`;
const hrefHome = "/";
const hrefSub = "/subpage/";
const currentPath = Astro.url.pathname;
console.log("");
Expand Down

0 comments on commit 012a4c3

Please sign in to comment.