mirror of
https://github.com/d0zingcat/BroadcastChannel.git
synced 2026-05-13 23:16:46 +00:00
feat: add meta charset in head for SEO improvement
This commit is contained in:
@@ -47,6 +47,7 @@ const FOOTER_INJECT = getEnv(import.meta.env, Astro, 'FOOTER_INJECT')
|
||||
<!doctype html>
|
||||
<html lang={locale ?? 'en'}>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta name="theme-color" content="#f4f1ec" />
|
||||
<link
|
||||
@@ -61,7 +62,6 @@ const FOOTER_INJECT = getEnv(import.meta.env, Astro, 'FOOTER_INJECT')
|
||||
}
|
||||
</style>
|
||||
<SEO
|
||||
charset="utf-8"
|
||||
titleTemplate={`%s | ${channel?.title}`}
|
||||
titleDefault={[channel?.title, seoParams.description]
|
||||
.filter(Boolean)
|
||||
|
||||
Reference in New Issue
Block a user