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:
Caleb Jasik 2021-11-10 11:15:51 -06:00 committed by GitHub
parent 27200e379f
commit 6e3b11ec22
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View file

@ -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"/>

View file

@ -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"/>