Skip to content

Commit

Permalink
Implement Open Graph data and include metadata globally
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrus21337 committed Jun 25, 2024
1 parent 419db71 commit c43a69c
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"name": "cyrus01337.co.uk",
"description": "My personal site for you to ogle, or a way for you to determine how you can contact me",
"type": "module",
"version": "0.1.0",
"version": "1.0.0",
"scripts": {
"dev": "astro dev",
"start": "astro dev",
Expand Down
17 changes: 17 additions & 0 deletions src/layouts/base.astro
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,23 @@ const { class: className = null } = Astro.props;
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="generator" content={Astro.generator} />

<meta property="og:title" content="Cyrus's Personal Site" />
<meta property="og:type" content="website" />
<meta
property="og:description"
content="My personal site for you to ogle, or a way for you to determine how you can contact me"
/>
<meta
property="og:image"
content="https://image.thum.io/get/fit/1200x400/allowJPG/https://cyrus01337.co.uk"
/>
<meta property="og:locale" content="en_GB" />
<meta property="og:locale:alternate" content="en_US" />
<meta property="og:locale:alternate" content="en_AU" />
<meta property="og:locale:alternate" content="en_IE" />
<meta property="og:site_name" content="Cyrus's Personal Site" />
<meta property="og:url" content="https://cyrus01337.co.uk/" />

<!-- <link rel="icon" type="image/svg+xml" href="/favicon.svg" /> -->

<title>Cyrus's Personal Site</title>
Expand Down

0 comments on commit c43a69c

Please sign in to comment.