Skip to content

Commit

Permalink
fix:head
Browse files Browse the repository at this point in the history
  • Loading branch information
DelaraGi committed Nov 7, 2023
1 parent c4cfd0c commit d10e818
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Binary file added src/assets/images/social-media-image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 4 additions & 3 deletions src/components/head/BaseHead.astro
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ const {
description = "The Morello platform is supported by a number of evolving RTOS/OS environments at different stages of maturity. CheriBSD is implemented and hosted separately by the University of Cambridge and SRI International and includes a memory-safe kernel, userspace and various example frameworks. The CHERI OS-feature matrix includes more information on features implemented by Morello Linux and CheriBSD operating systems.",
type = "website",
} = Astro.props;
const social_image = "../../assets/images/social-media-image.png";
---

<head>
Expand All @@ -34,7 +36,7 @@ const {
basic: {
title: title,
type: type,
image: "",
image: "../../assets/images/social-media-image.png",
},
}}
twitter={{
Expand All @@ -51,8 +53,7 @@ const {
meta: [
{
name: "twitter:image",
content:
"https://www.openampproject.org/images/openAMP_share_image.png",
content: { social_image },
},
{ name: "twitter:title", content: title },
{ name: "twitter:description", content: description },
Expand Down

0 comments on commit d10e818

Please sign in to comment.