Commit 7bfb9a8 1 parent e54ab43 commit 7bfb9a8 Copy full SHA for 7bfb9a8
File tree 2 files changed +10
-3
lines changed
2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
interface Props {
3
3
title: string ;
4
+ description: string ;
4
5
}
5
6
6
- const { title } = Astro .props ;
7
+ const { title, description } = Astro .props ;
7
8
---
8
9
9
10
<!doctype html >
10
11
<html lang =" en" >
11
12
<head >
12
13
<meta charset =" UTF-8" />
13
- <meta name =" description" content =" Astro description" />
14
+ <meta name =" description" content ={ description } />
14
15
<meta name =" viewport" content =" width=device-width" />
15
16
<link rel =" icon" type =" image/x-icon" href =" /favicon.ico" />
16
17
<meta name =" generator" content ={ Astro .generator } />
Original file line number Diff line number Diff line change @@ -4,6 +4,12 @@ import Experience from "../components/Experience.astro";
4
4
import SocialMedia from " ../components/SocialMedia.astro" ;
5
5
import { Icon } from " astro-icon" ;
6
6
7
+ const metadata = {
8
+ title: " Lucas Machado" ,
9
+ description:
10
+ " Lucas Machado is a software engineer who builds accessible and interactive user experiences for the web." ,
11
+ };
12
+
7
13
const socialMedia = [
8
14
{
9
15
label: " GitHub" ,
@@ -23,7 +29,7 @@ const socialMedia = [
23
29
];
24
30
---
25
31
26
- <Layout title = " Lucas Machado " >
32
+ <Layout { ... metadata } >
27
33
<div
28
34
class =" mx-auto min-h-screen max-w-screen-xl px-6 py-12 md:px-12 md:py-20 lg:px-24 lg:py-0 lg:flex lg:justify-between lg:gap-4"
29
35
>
You can’t perform that action at this time.
0 commit comments