From f3193c3df25fa52027e5b1047624a36a5439566f Mon Sep 17 00:00:00 2001 From: Chris Swithinbank Date: Tue, 22 Nov 2022 16:22:57 +0100 Subject: [PATCH] =?UTF-8?q?Tweaks=20to=20improve=20=E2=80=9Clink=E2=80=9D?= =?UTF-8?q?=20search=20results=20(#2091)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Sarah Rainsberger --- src/pages/en/core-concepts/astro-pages.md | 6 ++++-- src/pages/en/tutorial/3-components/1.md | 2 +- src/pages/en/tutorial/3-components/2.md | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/pages/en/core-concepts/astro-pages.md b/src/pages/en/core-concepts/astro-pages.md index 289d761611518..3a72d32bc0c49 100644 --- a/src/pages/en/core-concepts/astro-pages.md +++ b/src/pages/en/core-concepts/astro-pages.md @@ -20,10 +20,12 @@ Astro supports the following file types in the `src/pages/` directory: Astro leverages a routing strategy called **file-based routing**. Each file in your `src/pages/` directory becomes an endpoint on your site based on its file path. -Write standard HTML [`` elements](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a) in your component template to link between pages. - 📚 Read more about [Routing in Astro](/en/core-concepts/routing/). +### Link between pages + +Write standard HTML [`` elements](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a) in your Astro pages to link to other pages on your site. + ## Astro Pages Astro pages use the `.astro` file extension and support the same features as [Astro components](/en/core-concepts/astro-components/). diff --git a/src/pages/en/tutorial/3-components/1.md b/src/pages/en/tutorial/3-components/1.md index 8737431755323..02ad891ac3702 100644 --- a/src/pages/en/tutorial/3-components/1.md +++ b/src/pages/en/tutorial/3-components/1.md @@ -1,6 +1,6 @@ --- layout: ~/layouts/TutorialLayout.astro -title: Refactor page links into a Navigation component +title: Make a reusable Navigation component description: "Tutorial: Build your first Astro blog —\nReplace elements repeated on multiple pages with a reusable component" setup: | import Badge from '~/components/Badge.astro'; diff --git a/src/pages/en/tutorial/3-components/2.md b/src/pages/en/tutorial/3-components/2.md index 65ba86323da8d..b8134936ca594 100644 --- a/src/pages/en/tutorial/3-components/2.md +++ b/src/pages/en/tutorial/3-components/2.md @@ -1,6 +1,6 @@ --- layout: ~/layouts/TutorialLayout.astro -title: Create a Footer with social media links +title: Create a social media footer description: "Tutorial: Build your first Astro blog —\nBuild a new component from scratch, then add it to your pages" setup: | import Checklist from '~/components/Checklist.astro';