mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
Add theme-color
meta tag to sites (#1777)
This both lets browsers reflect this color + provides Discord embeds a nice accent color
This commit is contained in:
parent
27200e379f
commit
6e3b11ec22
2 changed files with 2 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
<!-- Global Metadata -->
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<meta name="theme-color" content="#ff5e00"/>
|
||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg"/>
|
||||
<link rel="alternate icon" type="image/x-icon" href="/favicon.ico" />
|
||||
<link rel="sitemap" href="/sitemap.xml"/>
|
||||
|
|
|
@ -11,6 +11,7 @@ const { title, description, image = 'https://astro.build/social.jpg?v=1', canoni
|
|||
<!-- Global Metadata -->
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
<meta name="theme-color" content="#ff5e00"/>
|
||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
||||
<link rel="alternate icon" type="image/x-icon" href="/favicon.ico" />
|
||||
<link rel="sitemap" href="/sitemap.xml"/>
|
||||
|
|
Loading…
Reference in a new issue