Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wip: add open graph meta tags for link previews #277

Merged
merged 1 commit into from
Jul 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added src/assets/images/SCSW_Logo_white_background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions src/layouts/BaseLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import CustomStyles from "../styles/CustomStyles.astro";

import Header from "../components/Header.astro";
import Footer from "../components/Footer.astro";

import scswLogo from "../assets/images/SCSW_Logo_white_background.png";
---

<html lang="en">
Expand All @@ -12,6 +14,13 @@ import Footer from "../components/Footer.astro";
<link rel="icon" type="image/svg+xml" href={`/favicon.ico`} />
<meta name="viewport" content="width=device-width" />
<meta name="generator" content={Astro.generator} />
<meta
property="og:title"
content="Janelia Open Science Software Intiative"
/>
<meta property="og:type" content="website" />
<meta property="og:image" content={scswLogo.src} />
<meta property="og:url" content={Astro.url} />
<title>OSSI@Janelia</title>
<CustomStyles />
<!-- Fathom - beautiful, simple website analytics -->
Expand Down