summaryrefslogtreecommitdiff
path: root/examples/blog
diff options
context:
space:
mode:
Diffstat (limited to 'examples/blog')
-rw-r--r--examples/blog/README.md2
-rw-r--r--examples/blog/package.json8
-rw-r--r--examples/blog/sandbox.config.json2
-rw-r--r--examples/blog/src/content/blog/markdown-style-guide.md4
-rw-r--r--examples/blog/src/pages/blog/[...slug].astro2
5 files changed, 9 insertions, 9 deletions
diff --git a/examples/blog/README.md b/examples/blog/README.md
index 11bc070ef..67d0cfc2e 100644
--- a/examples/blog/README.md
+++ b/examples/blog/README.md
@@ -53,7 +53,7 @@ All commands are run from the root of the project, from a terminal:
| Command | Action |
| :------------------------ | :----------------------------------------------- |
| `npm install` | Installs dependencies |
-| `npm run dev` | Starts local dev server at `localhost:3000` |
+| `npm run dev` | Starts local dev server at `localhost:4321` |
| `npm run build` | Build your production site to `./dist/` |
| `npm run preview` | Preview your build locally, before deploying |
| `npm run astro ...` | Run CLI commands like `astro add`, `astro check` |
diff --git a/examples/blog/package.json b/examples/blog/package.json
index feedfbe19..5e633254c 100644
--- a/examples/blog/package.json
+++ b/examples/blog/package.json
@@ -11,9 +11,9 @@
"astro": "astro"
},
"dependencies": {
- "@astrojs/mdx": "^0.19.7",
- "@astrojs/rss": "^2.4.4",
- "@astrojs/sitemap": "^2.0.1",
- "astro": "^2.10.7"
+ "@astrojs/mdx": "^1.0.0-beta.0",
+ "@astrojs/rss": "^3.0.0-beta.0",
+ "@astrojs/sitemap": "^3.0.0-beta.0",
+ "astro": "^3.0.0-beta.2"
}
}
diff --git a/examples/blog/sandbox.config.json b/examples/blog/sandbox.config.json
index 9178af77d..8e476b8cc 100644
--- a/examples/blog/sandbox.config.json
+++ b/examples/blog/sandbox.config.json
@@ -4,7 +4,7 @@
"view": "browser",
"template": "node",
"container": {
- "port": 3000,
+ "port": 4321,
"startScript": "start",
"node": "14"
}
diff --git a/examples/blog/src/content/blog/markdown-style-guide.md b/examples/blog/src/content/blog/markdown-style-guide.md
index 5775c88c0..877ec2f4a 100644
--- a/examples/blog/src/content/blog/markdown-style-guide.md
+++ b/examples/blog/src/content/blog/markdown-style-guide.md
@@ -99,7 +99,7 @@ we can use 3 backticks ``` in new line and write snippet and close with 3 backti
````markdown
```html
-<!DOCTYPE html>
+<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
@@ -115,7 +115,7 @@ we can use 3 backticks ``` in new line and write snippet and close with 3 backti
Output
```html
-<!DOCTYPE html>
+<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
diff --git a/examples/blog/src/pages/blog/[...slug].astro b/examples/blog/src/pages/blog/[...slug].astro
index 12436c2b2..07dbce26b 100644
--- a/examples/blog/src/pages/blog/[...slug].astro
+++ b/examples/blog/src/pages/blog/[...slug].astro
@@ -1,5 +1,5 @@
---
-import { CollectionEntry, getCollection } from 'astro:content';
+import { type CollectionEntry, getCollection } from 'astro:content';
import BlogPost from '../../layouts/BlogPost.astro';
export async function getStaticPaths() {