diff options
author | 2022-01-18 08:34:12 -0500 | |
---|---|---|
committer | 2022-01-18 08:34:12 -0500 | |
commit | bcc617f9dc560bd61535c136297e97fb11013d6f (patch) | |
tree | adbc508939ea66350d08533f3745a146ea455473 /examples/blog-multiple-authors/src | |
parent | 672b831940dd90687da71225e5ca1d8326d42556 (diff) | |
download | astro-bcc617f9dc560bd61535c136297e97fb11013d6f.tar.gz astro-bcc617f9dc560bd61535c136297e97fb11013d6f.tar.zst astro-bcc617f9dc560bd61535c136297e97fb11013d6f.zip |
Update examples to move away from Astro.resolve on styles (#2393)
* Update examples to move away from Astro.resolve on styles
* Prepend the subpath
* Adds a changeset
* Switch to @import for the starter
Diffstat (limited to 'examples/blog-multiple-authors/src')
-rw-r--r-- | examples/blog-multiple-authors/src/components/MainHead.astro | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/blog-multiple-authors/src/components/MainHead.astro b/examples/blog-multiple-authors/src/components/MainHead.astro index ffdc0f1c7..81fad3672 100644 --- a/examples/blog-multiple-authors/src/components/MainHead.astro +++ b/examples/blog-multiple-authors/src/components/MainHead.astro @@ -18,7 +18,9 @@ const { title, description, image, type, next, prev, canonicalURL } = Astro.prop <meta name="description" content={description} /> <link rel="preconnect" href="https://fonts.gstatic.com" /> <link href="https://fonts.googleapis.com/css2?family=Spectral:ital,wght@0,400;0,700;1,400;1,700&display=swap" rel="stylesheet" /> -<link rel="stylesheet" href={Astro.resolve('../styles/global.css')} /> +<style global> + @import "../styles/global.css"; +</style> <!-- Sitemap --> <link rel="sitemap" href="/sitemap.xml" /> <!-- RSS --> |