-
Notifications
You must be signed in to change notification settings - Fork 2
/
_index.html
52 lines (49 loc) · 1.75 KB
/
_index.html
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
{{#title}}
<title>
{{title}}
</title>
<meta property="og:title" content="{{title}}">
{{/title}}
{{^title}}
<title>Idyll</title>
<meta property="og:title" content="Idyll Project">
{{/title}}
<meta charset="utf-8">
{{#shareImageUrl}}
<meta property="og:image" content="{{shareImageUrl}}">
<meta name="twitter:image:src" content="{{shareImageUrl}}">
<meta name="twitter:card" content="summary_large_image">
{{/shareImageUrl}}
{{#shareImageWidth}}
<meta property="og:image:width" content="{{shareImageWidth}}">
{{/shareImageWidth}}
{{#shareImageHeight}}
<meta property="og:image:width" content="{{shareImageHeight}}">
{{/shareImageHeight}}
<meta property="og:type" content="article">
{{#description}}
<meta property="og:description" content="{{description}}">
<meta property="description" content="{{description}}">
{{/description}}
{{#url}}
<meta property="og:url" content="{{url}}">
{{/url}}
{{#twitterHandle}}
<meta property="twitter:creator" content="{{twitterHandle}}">
{{/twitterHandle}}
{{#usesTex}}
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/KaTeX/0.9.0/katex.min.css">
{{/usesTex}}
<link href="https://fonts.googleapis.com/css?family=Playfair+Display:400,700" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700,700i" rel="stylesheet">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div id="idyll-mount">{{{idyllContent}}}</div>
<script src="index.js"></script>
</body>
</html>