generated from ParametricPress/issue-02-article-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_index.html
85 lines (81 loc) · 2.97 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<!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" />
{{#favicon}}
<link rel="shortcut icon" type="image/x-icon" href="{{favicon}}" />
{{/favicon}} {{#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:height" 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}} {{#googleFontsUrl}}
<link rel="stylesheet" href="{{googleFontsUrl}}" />
{{/googleFontsUrl}}
<link rel="stylesheet" href="static/idyll_styles.css" />
<script>
if (!Object.assign) {
Object.defineProperty(Object, 'assign', {
enumerable: false,
configurable: true,
writable: true,
value: function(target) {
'use strict';
if (target === undefined || target === null) {
throw new TypeError('Cannot convert first argument to object');
}
var to = Object(target);
for (var i = 1; i < arguments.length; i++) {
var nextSource = arguments[i];
if (nextSource === undefined || nextSource === null) {
continue;
}
nextSource = Object(nextSource);
var keysArray = Object.keys(Object(nextSource));
for (var nextIndex = 0, len = keysArray.length; nextIndex < len; nextIndex++) {
var nextKey = keysArray[nextIndex];
var desc = Object.getOwnPropertyDescriptor(nextSource, nextKey);
if (desc !== undefined && desc.enumerable) {
to[nextKey] = nextSource[nextKey];
}
}
}
return to;
}
});
}
</script>
</head>
<body>
<div id="idyll-mount">{{{idyllContent}}}</div>
<script src="static/idyll_index.js"></script>
</body>
</html>