Open diamond-fish opened 9 months ago
Thanks for reporting this! This looks like a regression in the compiler, I'll investigate this further early next week.
In the meantime, you could wrap the title
element in an expression as a workaround.
{<title>{title}</title>}
Sorry for the trouble!
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
Steps to reproduce:
npm run dev
)</title>
tag is missingFrom what I can see, if you remove
<GoogleAnalytics />
insideBaseHead.astro
, then it fixes the issue, which suggests this issue only crops up when a component is added. This issue still exists even ifGoogleAnalytics.astro
is empty.What's the expected result?
The
</title>
tag should be present. Because it's missing, it's causing some side effects, such as the Google Fonts not loading. The H1 font should look like this:https://astro-theme-creek.netlify.app/
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-2bvud4-crhr4g
Participation