-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemplate.html
76 lines (69 loc) · 2.31 KB
/
template.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
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="$lang$" xml:lang="$lang$"$if(dir)$ dir="$dir$"$endif$>
<head>
<meta charset="utf-8" />
<title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title>
<meta name="description" content="$description$">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no" />
$for(author-meta)$
<meta name="author" content="$author-meta$" />
$endfor$
$if(date-meta)$
<meta name="dcterms.date" content="$date-meta$" />
$endif$
$if(keywords)$
<meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$" />
$endif$
$if(math)$
$math$
$endif$
<!--[if lt IE 9]>
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
<![endif]-->
$for(header-includes)$
$header-includes$
$endfor$
<link href="$depth$tc.ico" rel="shortcut icon" >
<link href="$depth$css/main.css" rel="stylesheet" type="text/css" media="screen" />
<link href="$depth$css/print.css" rel="stylesheet" type="text/css" media="print"/>
<link rel="stylesheet" href="$depth$font/lato/stylesheet.css" type="text/css" charset="utf-8" />
<link rel="stylesheet" href="$depth$font/vollkorn/stylesheet.css" type="text/css" charset="utf-8" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@700&family=Noto+Serif+TC:wght@700&display=swap" rel="stylesheet">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-50592837-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-50592837-1');
</script>
</head>
<body>
$for(include-before)$
$include-before$
$endfor$
<div id="contentContainer">
$if(title)$
<h1>$title$</h1>
$if(subtitle)$
<p class="subtitle">$subtitle$</p>
$endif$
$for(author)$
<p class="author">$author$</p>
$endfor$
$endif$
$body$
$for(include-after)$
$include-after$
$endfor$
$footer$
<div class="menu">
<p>
<a href="https://chen.pw">home</a> / <a href="https://courses.chen.pw">teaching</a> / <a href="https://research.chen.pw">research</a>
</p>
</div>
</div>
</body>
</html>