From 560721cbaabfd12fbfe43c9c105923dc8675aa80 Mon Sep 17 00:00:00 2001 From: Matthew Phillips Date: Wed, 20 Oct 2021 13:07:11 -0400 Subject: [PATCH] [next] blog example fully working (#1610) --- examples/blog/src/components/BlogHeader.astro | 66 +++++++++---------- examples/blog/src/pages/posts/index.md | 1 + packages/astro/package.json | 2 +- yarn.lock | 8 +-- 4 files changed, 39 insertions(+), 38 deletions(-) diff --git a/examples/blog/src/components/BlogHeader.astro b/examples/blog/src/components/BlogHeader.astro index 347ce3a05..35ea272b7 100644 --- a/examples/blog/src/components/BlogHeader.astro +++ b/examples/blog/src/components/BlogHeader.astro @@ -1,36 +1,3 @@ -
- -
- + +
+ +
\ No newline at end of file diff --git a/examples/blog/src/pages/posts/index.md b/examples/blog/src/pages/posts/index.md index 34ab17a8b..fe1df30bb 100644 --- a/examples/blog/src/pages/posts/index.md +++ b/examples/blog/src/pages/posts/index.md @@ -4,6 +4,7 @@ setup: | import Cool from '../../components/Author.astro' name: Nate Moore value: 128 +description: Just a Hello World Post! --- # Hello world! diff --git a/packages/astro/package.json b/packages/astro/package.json index 945ed5bab..de7133b15 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -53,7 +53,7 @@ "test": "mocha --parallel --timeout 15000" }, "dependencies": { - "@astrojs/compiler": "^0.2.0", + "@astrojs/compiler": "^0.2.3", "@astrojs/language-server": "^0.7.16", "@astrojs/markdown-remark": "^0.3.1", "@astrojs/markdown-support": "0.3.1", diff --git a/yarn.lock b/yarn.lock index 258943b76..5bf3c159b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -106,10 +106,10 @@ "@algolia/logger-common" "4.10.5" "@algolia/requester-common" "4.10.5" -"@astrojs/compiler@^0.2.0": - version "0.2.0" - resolved "https://registry.yarnpkg.com/@astrojs/compiler/-/compiler-0.2.0.tgz#79a8ec89d9a2d8089fbdb5515010e1bcdc949035" - integrity sha512-i3bxVI+gSql9Yb1YAMAJODdZ40vvDNtfxJWcidZ243R04BQXVG5X5URzmQz69AuKZTJb6ZGoFZlEle3sw1DK6w== +"@astrojs/compiler@^0.2.3": + version "0.2.3" + resolved "https://registry.yarnpkg.com/@astrojs/compiler/-/compiler-0.2.3.tgz#5e56444e999985f553de4a60e3838a918d4968e3" + integrity sha512-OBoiu3RxdpKPRV6ETJMWZH/EcxEtxswJA0iEqL490cMNkv9TqbOo0dc27jUVQz6CY6opIotZf+j9ajWUQJvX4g== dependencies: typescript "^4.3.5"