-
Notifications
You must be signed in to change notification settings - Fork 0
/
base.astro
27 lines (25 loc) · 931 Bytes
/
base.astro
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---
import "../site.scss"
const props = Astro.props.frontmatter || Astro.props
---
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="utf-8" />
<title>{props.title ? `${props.title} - ` : ""}StaticSiteTemplate</title>
{props.description ?
<meta name="Description" content={props.description} /> : ""
}
<meta name="theme-color" content="#4f9adc" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta property="og:image" content={new URL(props.image || "/images/social/banner-v1.jpg", Astro.site)} />
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Inconsolata&display=swap" />
<link rel="icon" href="/images/app/logo.svg" />
<link rel="mask-icon" href="/images/app/logo-mask.svg" color="#4f9adc" />
<link rel="apple-touch-icon" href="/images/app/logo-solid180.png" />
<link rel="manifest" href="/app.webmanifest" />
</head>
<body>
<slot></slot>
</body>
</html>