Skip to content

Commit c6b5951

Browse files
committed
Meta tags
1 parent 6628679 commit c6b5951

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/pages/index.astro

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,15 @@ import AboutMe from '../components/AboutMe.astro'
77
import Slider from '../components/slider/Slider.astro'
88
import Portfolio from '../components/portfolio/Portfolio.astro'
99
10-
let title = 'Danny Burrows • Software Engineer';
10+
const title = 'Danny Burrows • Software Engineer';
11+
const description = 'Hello, I'm Danny. I'm part of the HPC Engineering Team at Altos Labs and the Technical Director of Class 7 Consulting. I love writing efficient and robust software to solve complex and interesting problems. Get in touch if you need software expertise.';
1112
---
1213
<html lang="en">
1314
<head>
1415
<meta charset="UTF-8">
1516
<meta name="viewport" content="width=device-width, initial-scale=1">
1617
<title>{title}</title>
17-
<meta name="description" content="Hello, I'm Danny. I'm part of the HPC Engineering Team at Altos Labs and the Technical Director of Class 7 Consulting. I love writing efficient and robust software to solve complex and interesting problems. Get in touch if you need software expertise.">
18+
<meta name="description" content={description}>
1819
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
1920
<link rel="stylesheet" href="/style/global.css">
2021

@@ -25,6 +26,11 @@ let title = 'Danny Burrows • Software Engineer';
2526
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
2627
<link href="https://fonts.googleapis.com/css2?family=Lexend:wght@100;400;500;600&display=swap" rel="stylesheet">
2728

29+
<meta property="og:title" content={title}>
30+
<meta property="og:description" content={description}>
31+
<meta property="og:image" content="https://dannyburrows.com/favicon.svg">
32+
<meta property="og:url" content="https://dannyburrows.com">
33+
2834
<style>
2935
main {
3036
display: flex;

0 commit comments

Comments
 (0)