Skip to content

Commit

Permalink
add description
Browse files Browse the repository at this point in the history
  • Loading branch information
asturur committed Nov 23, 2024
1 parent 90ea395 commit c2e92ea
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ interface Props {
title: string;
}
const { title } = Astro.props;
const { title, description } = Astro.props;
---

<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="description" content="Astro description" />
<meta name="description" content={description} />
<meta name="viewport" content="width=device-width" />
<link rel="icon" type="image/svg+xml" href="/favicon.ico" />
<meta name="generator" content={Astro.generator} />
Expand Down
2 changes: 1 addition & 1 deletion src/pages/demos.astro
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const collectionName = 'demo';
const demoEntries = await getCollection(collectionName);
const images = import.meta.glob<{ default: ImageMetadata }>('/src/content/demo/**/*.{jpeg,jpg,png,gif}');
---
<Layout title="FabricJS Demos">
<Layout title="FabricJS Demos" description="Simple features showcase">
<main class="darkBg">
<h1>FabricJS Demos</h1>
<ThumbnailList>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import Features from '../components/Features/Features.astro';
import ContributorsList from '../components/ContributorsList/ContributorsList.astro';
---

<Layout title="FabricJS">
<Layout title="FabricJS Javascript Library" description="A simple and powerful canvas library" >
<main>
<FeaturedBanner />
<Features />
Expand Down

0 comments on commit c2e92ea

Please sign in to comment.