Added portfolio example meta description (#1625)
This commit is contained in:
parent
ae0e7210c7
commit
059aff923b
5 changed files with 6 additions and 5 deletions
|
@ -1,8 +1,9 @@
|
|||
---
|
||||
const { title = 'Jeanine White: Personal Site' } = Astro.props;
|
||||
const { title = 'Jeanine White: Personal Site', description = 'The personal site of Jeanine White' } = Astro.props;
|
||||
---
|
||||
|
||||
<meta charset="UTF-8">
|
||||
<meta name="description" property="og:description" content={description}>
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<title>{title}</title>
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ const { content } = Astro.props;
|
|||
---
|
||||
<html lang={ content.lang || 'en' }>
|
||||
<head>
|
||||
<MainHead title={content.title} />
|
||||
<MainHead title={content.title} description={content.description} />
|
||||
<style lang="scss">
|
||||
.hero {
|
||||
padding: 8rem;
|
||||
|
|
|
@ -7,7 +7,7 @@ import Nav from '../components/Nav/index.jsx';
|
|||
|
||||
<html lang="en">
|
||||
<head>
|
||||
<MainHead title="About | Jeanine White" />
|
||||
<MainHead title="About | Jeanine White" description="About Jeanine White Lorem Ipsum" />
|
||||
<style lang="scss">
|
||||
.heroImg {
|
||||
object-fit: cover;
|
||||
|
|
|
@ -15,7 +15,7 @@ const featuredProject = projects[0];
|
|||
---
|
||||
<html lang="en">
|
||||
<head>
|
||||
<MainHead title="Jeanine White: Personal Site" />
|
||||
<MainHead title="Jeanine White: Personal Site" description="Jeanine White: Developer, Speaker, and Writer..." />
|
||||
<style lang="scss">
|
||||
$w-s: 750px;
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ const projects = Astro.fetchContent<MarkdownFrontmatter>('./project/**/*.md')
|
|||
|
||||
<html lang="en">
|
||||
<head>
|
||||
<MainHead title="All Projects | Jeanine White" />
|
||||
<MainHead title="All Projects | Jeanine White" description="Learn about Jenine White's most recent projects" />
|
||||
<style lang="scss">
|
||||
.grid {
|
||||
display: grid;
|
||||
|
|
Loading…
Reference in a new issue