-
Notifications
You must be signed in to change notification settings - Fork 531
/
homepage.html
123 lines (104 loc) · 4.37 KB
/
homepage.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
<!DOCTYPE html>
<html lang="{{ site.lang | default: "en-US" }}">
<head>
<title>{{ site.title }} | {{site.affiliation}}</title>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="{{ site.description }}">
{% if site.keywords %}
<meta name="keywords" content="{{ site.keywords }}">
{% endif %}
{% if site.canonical %}
<link rel="canonical" href="{{ site.canonical }}"/>
{% endif %}
<link rel="icon" media="(prefers-color-scheme:dark)" href="{{ site.favicon_dark }}" type="image/png" />
<link rel="icon" media="(prefers-color-scheme:light)" href="{{ site.favicon }}" type="image/png" />
<script src="./assets/js/favicon-switcher.js" type="application/javascript"></script>
<link rel=stylesheet href=https://cdnjs.cloudflare.com/ajax/libs/academicons/1.8.6/css/academicons.min.css integrity="sha256-uFVgMKfistnJAfoCUQigIl+JfUaP47GrRKjf6CTPVmw=" crossorigin=anonymous>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css" integrity="sha512-z3gLpd7yknf1YoNbCzqRKc4qyor8gaKU1qmn+CShxbuBusANI9QpRohGBreCFkKxLhei6S9CQXFEbbKuqLg0DA==" crossorigin="anonymous" referrerpolicy="no-referrer" />
{% if site.font == "Sans Serif" %}
<link rel="stylesheet" href="./assets/css/font_sans_serif.css">
{% else %}
<link rel="stylesheet" href="./assets/css/font.css">
{% endif %}
{% if site.auto_dark_mode %}
<link rel="stylesheet" href="./assets/css/style.css">
<link rel="stylesheet" href="./assets/css/publications.css">
{% else %}
<link rel="stylesheet" href="./assets/css/style-no-dark-mode.css">
<link rel="stylesheet" href="./assets/css/publications-no-dark-mode.css">
{% endif %}
</head>
<body>
<div class="wrapper">
<header>
{% if site.avatar %}
<a class="image avatar"><img src="{{ site.avatar }}" alt="avatar" /></a>
{% endif %}
<h1>{{ site.title }}</h1>
{% if site.position %}
<position style="font-size:1.10rem;">{{ site.position }}</position>
<br>
{% endif %}
{% if site.affiliation %}
<a href="{{ site.affiliation_link }}" rel="noopener"><autocolor>{{ site.affiliation }}</autocolor></a>
<br>
{% endif %}
{% if site.email %}
<email>{{ site.email }}</email>
{% endif %}
<br>
<br>
<div class="social-icons">
{% if site.google_scholar %}
<a style="margin: 0 5px 0 0" href="{{ site.google_scholar }}">
<i class="ai ai-google-scholar" style="font-size:1.2rem"></i>
</a>
{% endif %}
{% if site.cv_link %}
<a style="margin: 0 5px 0 0" href="{{ site.cv_link }}">
<i class="ai ai-cv" style="font-size:1.3rem;"></i>
</a>
{% endif %}
{% if site.github_link %}
<a style="margin: 0 5px 0 0" href="{{ site.github_link }}">
<i class="fab fa-github"></i>
</a>
{% endif %}
{% if site.linkedin %}
<a style="margin: 0 5px 0 0" href="{{ site.linkedin }}">
<i class="fab fa-linkedin"></i>
</a>
{% endif %}
{% if site.twitter %}
<a style="margin: 0 0 0 0" href="{{ site.twitter }}">
<i class="fab fa-x-twitter"></i>
</a>
{% endif %}
</div>
<br>
</header>
<section>
{{ content }}
<br>
{% if site.enable_footnote %}
<p><small>Powered by Jekyll and <a href="https://github.com/yaoyao-liu/minimal-light" target="_blank" rel="noopener">Minimal Light</a> theme.</small></p>
{% endif %}
</section>
<footer>
</footer>
</div>
<script src="{{ "/assets/js/scale.fix.js" | relative_url }}"></script>
{% if site.google_analytics %}
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', '{{ site.google_analytics }}', 'auto');
ga('send', 'pageview');
</script>
{% endif %}
</body>
</html>