Skip to content

Commit

Permalink
Extract description
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke-Oldenburg committed Jan 7, 2025
1 parent 1ed401f commit f5a88ca
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions src/layouts/BackOnTrackLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ import Socials from "../components/Socials.astro";
const { page } = Astro.props;
const title = `Back on Track | ${page}`;
const description =
"Back on Track America is a 501(c)(3) nonprofit that helps coordinate student volunteers in their communities to help end homelessness and food insecurity.";
---

<html lang="en">
Expand All @@ -22,10 +24,7 @@ const title = `Back on Track | ${page}`;
<link rel="shortcut icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="apple-touch-icon" type="image/svg+xml" href="/favicon.svg" />
<title>{title}</title>
<meta
name="description"
content="Back on Track America is a 501c(3) nonprofit that helps coordinate student volunteers in their communities to help end homelessness and food insecurity."
/>
<meta name="description" content={description} />

<!-- font -->
<style>
Expand All @@ -34,10 +33,7 @@ const title = `Back on Track | ${page}`;

<!-- og tags -->
<meta property="og:title" content={title} />
<meta
property="og:description"
content="Back on Track America is a 501c(3) nonprofit that helps coordinate student volunteers in their communities to help end homelessness and food insecurity."
/>
<meta property="og:description" content={description} />
<meta property="og:type" content="website" />
<meta property="og:url" content={Astro.url.pathname} />
<meta property="og:locale" content="en_US" />
Expand Down

0 comments on commit f5a88ca

Please sign in to comment.