Update html metadata
- Add global `lang` attribute - Add metadata: `author`, `color-scheme` and `theme-color`.
This commit is contained in:
parent
7de0e1def5
commit
ab2099a44b
1 changed files with 6 additions and 2 deletions
|
@ -1,11 +1,15 @@
|
|||
export default function({ title, description, children, comp }) {
|
||||
return (
|
||||
<html>
|
||||
<html lang="en-CA">
|
||||
<head>
|
||||
<meta charSet="utf-8"/>
|
||||
<title>{title}</title>
|
||||
<meta charSet="utf-8"/>
|
||||
<meta name="description" content={description}/>
|
||||
<meta name="author" content="Foster Hangdaan"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
||||
<meta name="color-scheme" content="dark light"/>
|
||||
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="#1a1b26"/>
|
||||
<meta name="theme-color" media="(prefers-color-scheme: light)" content="#d5d6db"/>
|
||||
<link rel="stylesheet" href="/styles/main.css"/>
|
||||
<link rel="icon" type="image/png" href="/icons/tabicon-16.png" sizes="16x16" />
|
||||
<link rel="icon" type="image/png" href="/icons/tabicon-32.png" sizes="32x32" />
|
||||
|
|
Loading…
Reference in a new issue