diff options
author | 2021-08-25 11:51:04 -0700 | |
---|---|---|
committer | 2021-08-25 11:51:04 -0700 | |
commit | affcd04f0f89de6268e7e359b2ddb8e07ef760d9 (patch) | |
tree | b79877a7fb9a1ca4aec3439191daa7bfd8ececbc /www | |
parent | c819b3dadea02a614e4bbc891f1ab4a99d8ab017 (diff) | |
download | astro-affcd04f0f89de6268e7e359b2ddb8e07ef760d9.tar.gz astro-affcd04f0f89de6268e7e359b2ddb8e07ef760d9.tar.zst astro-affcd04f0f89de6268e7e359b2ddb8e07ef760d9.zip |
stop building, bundling, and transforming public/ files (#1210)
* stop bundling public/ files
* update www and examples
Diffstat (limited to 'www')
-rw-r--r-- | www/src/components/BlogHead.astro | 2 | ||||
-rw-r--r-- | www/src/pages/blog/index.astro | 2 | ||||
-rw-r--r-- | www/src/pages/blog/introducing-astro.astro | 2 | ||||
-rw-r--r-- | www/src/pages/index.astro | 2 | ||||
-rw-r--r-- | www/src/scss/blog.scss (renamed from www/public/blog.scss) | 0 | ||||
-rw-r--r-- | www/src/scss/code.scss (renamed from www/public/code.scss) | 0 | ||||
-rw-r--r-- | www/src/scss/global.scss (renamed from www/public/global.scss) | 0 |
7 files changed, 4 insertions, 4 deletions
diff --git a/www/src/components/BlogHead.astro b/www/src/components/BlogHead.astro index 30dc2f4ed..57168a494 100644 --- a/www/src/components/BlogHead.astro +++ b/www/src/components/BlogHead.astro @@ -4,4 +4,4 @@ import BaseHead from './BaseHead.astro'; const { title, description, canonicalURL } = Astro.props; --- <BaseHead title={title} description={description} canonicalURL={canonicalURL} /> -<link rel="stylesheet" href="/blog.css" />
\ No newline at end of file +<link rel="stylesheet" href={Astro.resolve('../../scss/blog.css')} />
\ No newline at end of file diff --git a/www/src/pages/blog/index.astro b/www/src/pages/blog/index.astro index 41f4d3f77..22a22cdb2 100644 --- a/www/src/pages/blog/index.astro +++ b/www/src/pages/blog/index.astro @@ -12,7 +12,7 @@ let lang = 'en'; <html lang={ lang ?? 'en' }> <head> <BaseHead title={title} description={description} permalink={permalink} /> - <link rel="stylesheet" href="/blog.css" /> + <link rel="stylesheet" href={Astro.resolve('../../scss/blog.css')} /> <style> body { diff --git a/www/src/pages/blog/introducing-astro.astro b/www/src/pages/blog/introducing-astro.astro index 8cf6a9eb6..3f7e13f4c 100644 --- a/www/src/pages/blog/introducing-astro.astro +++ b/www/src/pages/blog/introducing-astro.astro @@ -19,7 +19,7 @@ let lang = 'en'; <html lang={ lang ?? 'en' }> <head> <BaseHead title={title} description={description} permalink={permalink} /> - <link rel="stylesheet" href="/blog.css" /> + <link rel="stylesheet" href={Astro.resolve('../../scss/blog.css')} /> </head> <body> diff --git a/www/src/pages/index.astro b/www/src/pages/index.astro index 6ef6ad710..ea4f8b38b 100644 --- a/www/src/pages/index.astro +++ b/www/src/pages/index.astro @@ -18,7 +18,7 @@ let lang = 'en'; <html lang={ lang ?? 'en' }> <head> <BaseHead title={title} description={description} permalink={permalink} /> - <link rel="stylesheet" href="/global.css" /> + <link rel="stylesheet" href={Astro.resolve('../scss/global.css')} /> </head> <body> diff --git a/www/public/blog.scss b/www/src/scss/blog.scss index 3be4f48ec..3be4f48ec 100644 --- a/www/public/blog.scss +++ b/www/src/scss/blog.scss diff --git a/www/public/code.scss b/www/src/scss/code.scss index ec0e8dea2..ec0e8dea2 100644 --- a/www/public/code.scss +++ b/www/src/scss/code.scss diff --git a/www/public/global.scss b/www/src/scss/global.scss index 111e5bac3..111e5bac3 100644 --- a/www/public/global.scss +++ b/www/src/scss/global.scss |