forked from withastro/astro
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve blog template (withastro#217)
- Loading branch information
Showing
43 changed files
with
419 additions
and
283 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,30 @@ | ||
# Astro Blog Example | ||
|
||
Features: | ||
|
||
- ✅ SEO-friendly setup with canonical URLs and OpenGraph data | ||
- ✅ Full Markdown support | ||
- ✅ RSS 2.0 generation | ||
- ✅ Sitemap.xml generation | ||
|
||
## Setup | ||
|
||
``` | ||
npm install | ||
yarn | ||
``` | ||
|
||
## Dev | ||
|
||
``` | ||
npm start | ||
yarn start | ||
``` | ||
|
||
Preview at `http://localhost:3000` | ||
|
||
## Build | ||
|
||
``` | ||
npm build | ||
yarn build | ||
``` | ||
|
||
Will output static site at `./dist` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,10 @@ | ||
{ | ||
"animal": { | ||
"name": "Animal", | ||
"email": "[email protected]", | ||
"img": "/images/animal.jpg" | ||
"don": { | ||
"name": "Don Quixote", | ||
"image": "/authors/don.jpg" | ||
}, | ||
"kermit": { | ||
"name": "Kermit the Frog", | ||
"email": "[email protected]", | ||
"img": "/images/kermit.jpg" | ||
}, | ||
"ms-piggy": { | ||
"name": "Animal", | ||
"email": "[email protected]", | ||
"img": "/images/ms-piggy.jpg" | ||
}, | ||
"gonzo": { | ||
"name": "Gonzo", | ||
"email": "[email protected]", | ||
"img": "/images/gonzo.jpg" | ||
}, | ||
"rizzo": { | ||
"name": "Rizzo the Rat", | ||
"email": "[email protected]", | ||
"img": "/images/rizzo.jpg" | ||
"sancho": { | ||
"name": "Sancho Panza", | ||
"image": "/authors/sancho.jpg" | ||
} | ||
} |
Oops, something went wrong.