From 5973cc763d2b09a0f6c540f381688fed1d247d3f Mon Sep 17 00:00:00 2001 From: "Fred K. Schott" Date: Tue, 8 Jun 2021 14:28:29 -0700 Subject: [PATCH] add anayltics script --- packages/astro/README.md | 4 ++-- www/package.json | 4 ++-- www/src/pages/blog/introducing-astro.astro | 10 ++++++++++ www/src/pages/index.astro | 10 ++++++++++ 4 files changed, 24 insertions(+), 4 deletions(-) diff --git a/packages/astro/README.md b/packages/astro/README.md index ede32d397..a4082a15b 100644 --- a/packages/astro/README.md +++ b/packages/astro/README.md @@ -30,8 +30,8 @@ The default Astro project has the following `scripts` in the `/package.json` fil ```json { "scripts": { - "start": "astro dev .", - "build": "astro build ." + "start": "astro dev", + "build": "astro build" } } ``` diff --git a/www/package.json b/www/package.json index 04fa10dcc..e9426b700 100644 --- a/www/package.json +++ b/www/package.json @@ -2,8 +2,8 @@ "name": "www", "version": "1.1.0", "scripts": { - "start": "astro dev .", - "build": "astro build ." + "start": "astro dev", + "build": "astro build" }, "devDependencies": { "astro": "^0.12.10" diff --git a/www/src/pages/blog/introducing-astro.astro b/www/src/pages/blog/introducing-astro.astro index 2e768c780..bc87a41bc 100644 --- a/www/src/pages/blog/introducing-astro.astro +++ b/www/src/pages/blog/introducing-astro.astro @@ -115,6 +115,16 @@ npm start + + + + diff --git a/www/src/pages/index.astro b/www/src/pages/index.astro index eaa88702f..e2d07691e 100644 --- a/www/src/pages/index.astro +++ b/www/src/pages/index.astro @@ -78,5 +78,15 @@ let permalink = 'https://astro.build/'; + + + +