From f37ebc3094ee3654bddd4a728b263168cc040cd9 Mon Sep 17 00:00:00 2001 From: Dan Jutan Date: Tue, 14 Jun 2022 20:06:13 -0400 Subject: [PATCH] Update README.md - Fix the tree to reflect the actual example contents - Remove RSS and Sitemap bullet points, since they aren't in the project --- examples/blog/README.md | 41 +++++++++++++++++++++++++++++------------ 1 file changed, 29 insertions(+), 12 deletions(-) diff --git a/examples/blog/README.md b/examples/blog/README.md index f04b055293aa..7d7183a9f94c 100644 --- a/examples/blog/README.md +++ b/examples/blog/README.md @@ -12,24 +12,41 @@ Features: - ✅ SEO-friendly setup with canonical URLs and OpenGraph data - ✅ Full Markdown support -- ✅ RSS 2.0 generation -- ✅ Sitemap.xml generation ## 🚀 Project Structure Inside of your Astro project, you'll see the following folders and files: ``` -/ -├── public/ -│ ├── robots.txt -│ └── favicon.ico -├── src/ -│ ├── components/ -│ │ └── Tour.astro -│ └── pages/ -│ └── index.astro -└── package.json +├── README.md +├── astro.config.mjs +├── package.json +├── public +│   ├── assets +│   │   └── blog +│   │   └── introducing-astro.jpg +│   ├── favicon.ico +│   ├── social.jpg +│   └── social.png +├── sandbox.config.json +├── src +│   ├── components +│   │   ├── Author.astro +│   │   ├── BaseHead.astro +│   │   ├── BlogHeader.astro +│   │   ├── BlogPost.astro +│   │   ├── BlogPostPreview.astro +│   │   ├── Heading.astro +│   │   └── Logo.astro +│   ├── layouts +│   │   └── BlogPost.astro +│   ├── pages +│   │   ├── index.astro +│   │   └── posts +│   │   └── index.md +│   └── styles +│   └── blog.css +└── tsconfig.json ``` Astro looks for `.astro` or `.md` files in the `src/pages/` directory. Each page is exposed as a route based on its file name.