File tree Expand file tree Collapse file tree 3 files changed +444
-65
lines changed Expand file tree Collapse file tree 3 files changed +444
-65
lines changed Original file line number Diff line number Diff line change 1
- # [ Astro] ( https://astro.build ) Blog Template
2
-
3
- [ ![ Screenshot] ( screenshot.png )] ( https://astro-blog-template.netlify.app/ )
4
-
5
- ## 👉 Check out the ✨ [ Live Demo] ( https://astro-blog-template.netlify.app/ ) ✨
6
-
7
- ## 👩🚀 Getting Started
8
-
9
- ### Locally
10
-
11
- ```
12
- npm init astro -- --template Charca/astro-blog-template
13
- ```
14
-
15
- ### On StackBlitz
16
-
17
- [ ![ Open in StackBlitz] ( https://developer.stackblitz.com/img/open_in_stackblitz.svg )] ( https://stackblitz.com/github/charca/astro-blog-template )
18
-
19
- ## ✨ Features:
20
-
21
- - ✅ Astro 1.0
22
- - ✅ Dark Mode
23
- - ✅ Full Markdown support
24
- - ✅ SEO-friendly setup with canonical URLs and OpenGraph data
25
- - ✅ RSS 2.0 generation
26
- - ✅ Sitemap.xml generation
27
-
28
- ## 🚀 Project Structure
29
-
30
- Inside of your Astro project, you'll see the following folders and files:
31
-
32
- ```
33
- /
34
- ├── public/
35
- │ ├── robots.txt
36
- │ └── favicon.ico
37
- ├── src/
38
- │ ├── components/
39
- │ │ └── Tour.astro
40
- │ └── pages/
41
- │ └── index.astro
42
- └── package.json
43
- ```
44
-
45
- Astro looks for ` .astro ` or ` .md ` files in the ` src/pages/ ` directory. Each page is exposed as a route based on its file name.
46
-
47
- There's nothing special about ` src/components/ ` , but that's where we like to put any Astro/React/Vue/Svelte/Preact components.
48
-
49
- Any static assets, like images, can be placed in the ` public/ ` directory.
50
-
51
- ## 🧞 Commands
52
-
53
- All commands are run from the root of the project, from a terminal:
54
-
55
- | Command | Action |
56
- | :---------------- | :------------------------------------------- |
57
- | ` npm install ` | Installs dependencies |
58
- | ` npm run dev ` | Starts local dev server at ` localhost:3030 ` |
59
- | ` npm run build ` | Build your production site to ` ./dist/ ` |
60
- | ` npm run preview ` | Preview your build locally, before deploying |
61
-
62
- ## 👀 Want to learn more?
63
-
64
- Feel free to check [ Astro's documentation] ( https://github.com/withastro/astro ) or jump into Astro's [ Discord server] ( https://astro.build/chat ) .
1
+ # Becoming!
You can’t perform that action at this time.
0 commit comments