Skip to content

Commit

Permalink
Change the base to /sfcivictech-site-explorations/
Browse files Browse the repository at this point in the history
On a personal repo, the repo name is the first part of the path.
And use ./ for the home link in the nav header, so it respects the base.
  • Loading branch information
fwextensions committed Jan 14, 2024
1 parent 6791b2f commit 06fb313
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/astro/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { defineConfig } from "astro/config";
// https://astro.build/config
export default defineConfig({
// site: "https://sfbrigade.github.io",
base: "/",
// base: "/sfcivictech-site-explorations/packages/astro/",
// base: "/",
base: "/sfcivictech-site-explorations/",
// site: "https://www.sfcivictech.org/"
});
2 changes: 1 addition & 1 deletion packages/astro/src/components/HeaderNav.astro
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const currentPath = fullPath.slice(fullPath.lastIndexOf("/") + 1);
<nav class="container-fluid">
<ul>
<li>
<a href="/" class="contrast">
<a href="./" class="contrast">
<strong>SF Civic Tech</strong>
</a>
</li>
Expand Down

0 comments on commit 06fb313

Please sign in to comment.