Skip to content

Commit cd06936

Browse files
author
Jan Stevens
committed
fix: add social meta tags
1 parent 8802b23 commit cd06936

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed

src/components/Container.astro

-2
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@ const works = await Astro.glob('../pages/works/*.md');
88
const projects = await Astro.glob('../pages/projects/*.md');
99
const studies = await Astro.glob('../pages/studies/*.md');
1010
const publications = await Astro.glob('../pages/publications/*.md');
11-
const blogs = await Astro.glob('../pages/blogs/*.md');
1211
const contact = await Astro.glob('../pages/contact/*.md');
13-
const PDF = '/cv-20240219.pdf';
1412
---
1513

1614
<div class="join join-vertical gap-1">

src/pages/index.astro

+20
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,26 @@ import { Icon } from 'astro-icon/components';
2727
<link rel="apple-touch-icon" href="/apple-touch-icon.png" /><!-- 180×180 -->
2828
<link rel="manifest" href="/manifest.webmanifest" />
2929

30+
<meta property="og:url" content="https://janstevens.dev/" />
31+
<meta property="og:type" content="website" />
32+
<meta property="og:title" content="Jan Stevens" />
33+
<meta
34+
property="og:description"
35+
content="Senior Software Engineer React | Rails | Elixir / Food & Beer lover / Dad"
36+
/>
37+
<meta property="og:image" content="/profile.webp" />
38+
39+
<!-- Twitter Meta Tags -->
40+
<meta name="twitter:card" content="summary_large_image" />
41+
<meta property="twitter:domain" content="janstevens.dev" />
42+
<meta property="twitter:url" content="https://janstevens.dev/" />
43+
<meta name="twitter:title" content="Jan Stevens" />
44+
<meta
45+
name="twitter:description"
46+
content="Senior Software Engineer React | Rails | Elixir / Food & Beer lover / Dad"
47+
/>
48+
<meta name="twitter:image" content="/profile.webp" />
49+
3050
<meta name="viewport" content="width=device-width, initial-scale=1" />
3151
<meta name="generator" content={Astro.generator} />
3252
<title>Jan Stevens - Fritz</title>

0 commit comments

Comments
 (0)