-
Notifications
You must be signed in to change notification settings - Fork 36
/
page.html
207 lines (206 loc) · 7.38 KB
/
page.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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Evan Chen • {{ page["title"] }}</title>
<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=JetBrains+Mono:ital,wght@0,700;1,400&family=Mate&family=Noto+Serif+TC:wght@500&family=PT+Sans&family=Roboto+Slab:wght@400;500;600&display=swap"
rel="stylesheet"
/>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
/>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
<script type="text/javascript">
MathJax = {
tex: {
inlineMath: [["$", "$"]],
displayMath: [["\\[", "\\]"]],
},
};
</script>
<script
type="text/javascript"
id="MathJax-script"
async
src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"
></script>
<meta content="text/html;charset=UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="keywords" content="evan chen, math, olympiad, IMO, education" />
<!--%
print('<meta description="Evan Chen | %s">' % page.get('description', page['title']))
%-->
<link
rel="apple-touch-icon"
sizes="180x180"
href="icons/apple-touch-icon.png"
/>
<link
rel="icon"
type="image/png"
href="icons/favicon-32x32.png"
sizes="32x32"
/>
<link
rel="icon"
type="image/png"
href="icons/favicon-16x16.png"
sizes="16x16"
/>
<link rel="manifest" href="icons/manifest.json" />
<link rel="mask-icon" href="icons/safari-pinned-tab.svg" color="#5bbad5" />
<link rel="shortcut icon" href="icons/favicon.ico" />
<meta name="msapplication-config" content="icons/browserconfig.xml" />
<meta name="theme-color" content="#ffffff" />
<link type="text/css" rel="stylesheet" href="css/simple-53544.css" />
<link type="text/css" rel="stylesheet" href="css/extras.css" />
</head>
<body>
<div class="container">
<div class="row align-items-center">
<div class="col-12">
<div id="header">
<a href="/">
<h1 id="sitetitle">
Evan Chen《陳誼廷》
<img
height="54"
src="icons/android-chrome-192x192.png"
style="vertical-align: text-bottom"
alt="Logo"
/>
</h1>
</a>
</div>
</div>
</div>
<div class="row">
<div class="col-12">
<div id="feed" class="px-1 pt-1 pb-0">
<iframe
src="https://cdn.lightwidget.com/widgets/90dc888fdd63572186f83253c9a50415.html"
scrolling="no"
allowtransparency="true"
class="lightwidget-widget"
style="width: 100%; height: 96px; border: 0; overflow: hidden"
></iframe>
</div>
</div>
<div class="col-10 col-sm-6 col-md-7">
<div id="latest_blog" class="badge px-2 pt-2 pb-1 mx-0 mt-1 mb-0">
<a id="latest_blog_anchor"></a>
<span class="badge bg-success" id="latest_blog_date"></span>
</div>
</div>
<div class="col-10 col-sm-6 col-md-5 text-sm-end">
<div id="email_box">
<a class="emoji-link" href="contact.html"
><img height="24" src="icons/social-mail.png" alt="Email"
/></a>
<a class="emoji-link" href="https://blog.evanchen.cc/"
><img height="24" src="icons/social-wordpress.png" alt="Blog"
/></a>
<a class="emoji-link" href="https://www.instagram.com/evanchen.cc/"
><img
height="24"
src="icons/social-instagram.png"
alt="Instagram"
/></a>
<a class="emoji-link" href="https://youtube.com/c/vEnhance"
><img height="24" src="icons/social-youtube.png" alt="YouTube"
/></a>
<a class="emoji-link" href="https://twitch.tv/vEnhance"
><img height="24" src="icons/social-twitch.png" alt="Twitch"
/></a>
<a class="emoji-link" href="discord.html"
><img height="24" src="icons/social-discord.png" alt="Discord"
/></a>
<a class="emoji-link" href="https://www.github.com/vEnhance/"
><img height="24" src="icons/social-github.png" alt="Github"
/></a>
</div>
</div>
</div>
<div id="content" class="row">
<div class="col-12 col-md-3 order-md-last">
<div id="side" class="col-12 pl-md-1">
<nav class="navbar-light d-md-none navbar">
<div class="navbar-brand" id="navtitle">
<code>web.evanchen.cc</code>
</div>
<button
class="navbar-toggler"
type="button"
data-bs-toggle="collapse"
data-bs-target="#collapsedContent"
aria-controls="collapsedContent"
aria-expanded="false"
aria-label="Toggle navigation"
>
<span class="navbar-light navbar-toggler-icon"></span>
</button>
</nav>
<div class="collapse d-md-block" id="collapsedContent">
<!--%
mpages = [p for p in pages if "menu-position" in p]
mpages.sort(key=lambda p: int(p["menu-position"]))
for p in mpages:
if "indent" in p:
open_tag = r'<h5> • '
close_tag = r'</h5>'
else:
open_tag = '<h4>'
close_tag = '</h4>'
if p["title"] == page["title"]:
entry = open_tag + '<strong>%s</strong>' + close_tag
print(entry % (hx(p["title"])))
else:
entry = open_tag + '<a href="%s">%s</a>' + close_tag
print(entry % (p["url"], hx(p["title"])))
%-->
<br />
<p>
<a href="https://ko-fi.com/evanchen" target="_blank"
><img
height="28"
style="border: 0px; height: 28px"
src="//az743702.vo.msecnd.net/cdn/kofi4.png?v=0"
border="0"
alt="Buy Me a Coffee at ko-fi.com"
/></a>
</p>
</div>
</div>
</div>
<div class="col-12 col-md-9 order-md-1 pr-md-2">
<div id="main">
<div class="entry">
<h1 id="pagetitle">
<a href="{{page['url']}}">{{ page["header"] }}</a>
</h1>
<div class="entrywrap">{{ __content__ }}</div>
</div>
<div>{{ page_footer(page) }}</div>
</div>
</div>
</div>
</div>
<!-- end container -->
<script src="https://cdn.lightwidget.com/widgets/lightwidget.js"></script>
<script src="js/blog.js"></script>
<script src="js/ga.js"></script>
<script src="js/k.js"></script>
</body>
</html>