Skip to content

Commit

Permalink
fixed favicon path
Browse files Browse the repository at this point in the history
  • Loading branch information
deeenes committed Jan 29, 2024
1 parent 2a9ac4a commit cc61ae1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
9 changes: 0 additions & 9 deletions public/favicon.svg

This file was deleted.

3 changes: 2 additions & 1 deletion src/layouts/BaseLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@
import Header from "../components/Header.astro";
import Footer from "../components/Footer.astro";
import "../styles/global.css";
import favicon from "../images/favicon.ico";
const baseurl = import.meta.env.BASE_URL;
const { title, pageTitle = title } = Astro.props;
---

<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" type="image/svg+xml" href=`${baseurl}/favicon.svg` />
<link rel="icon" type="image/svg+xml" href=`${favicon}` />
<meta name="viewport" content="width=device-width" />
<meta name="generator" content={Astro.generator} />
<title>Saez Lab - {title}</title>
Expand Down

0 comments on commit cc61ae1

Please sign in to comment.