Skip to content

Commit e08d206

Browse files
authored
Update default.html
1 parent a2b8522 commit e08d206

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

_layouts/default.html

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,11 @@
1818
<link rel="icon" media="(prefers-color-scheme:light)" href="{{ site.favicon }}" type="image/png" />
1919
<script src="{{ '/assets/js/favicon-switcher.js' | relative_url }}" type="application/javascript"></script>
2020

21+
<!-- External Stylesheets -->
2122
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/academicons/1.8.6/css/academicons.min.css" integrity="sha256-uFVgMKfistnJAfoCUQigIl+JfUaP47GrRKjf6CTPVmw=" crossorigin="anonymous">
2223
<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" />
2324

25+
<!-- Internal Stylesheets -->
2426
{% if site.font == "Sans Serif" %}
2527
<link rel="stylesheet" href="{{ '/assets/css/font_sans_serif.css' | relative_url }}">
2628
{% else %}
@@ -36,7 +38,6 @@
3638
{% endif %}
3739

3840
<link rel="stylesheet" href="{{ '/assets/css/nav.css' | relative_url }}">
39-
4041
</head>
4142
<body>
4243

@@ -46,35 +47,38 @@
4647
{% include navigation.md %}
4748
</div>
4849
</div>
49-
50+
51+
<!-- Main Content Wrapper -->
5052
<div class="wrapper">
5153
<header>
5254
{% if site.avatar %}
5355
<a class="image avatar"><img src="{{ site.avatar }}" alt="avatar" /></a>
5456
{% endif %}
5557

56-
<h1>{{ site.title }}</h1>
58+
<h1>{{ page.title }}</h1>
5759

5860
{% if site.position %}
5961
<position style="font-size:1.10rem;">{{ site.position }}</position>
6062
<br>
6163
{% endif %}
62-
64+
6365
{% if site.affiliation %}
6466
<a href="{{ site.affiliation_link }}" rel="noopener"><autocolor>{{ site.affiliation }}</autocolor></a>
6567
<br>
6668
{% endif %}
67-
69+
6870
{% if site.email %}
6971
<email>{{ site.email }}</email>
7072
{% endif %}
7173

7274
<br><br>
75+
76+
<!-- Social Icons -->
7377
<div class="social-icons">
7478
{% if site.google_scholar %}
7579
<a style="margin: 0 5px 0 0" href="{{ site.google_scholar }}">
7680
<i class="ai ai-google-scholar" style="font-size:1.2rem"></i>
77-
</a>
81+
</a>
7882
{% endif %}
7983
{% if site.cv_link %}
8084
<a style="margin: 0 5px 0 0" href="{{ site.cv_link }}">
@@ -97,21 +101,22 @@ <h1>{{ site.title }}</h1>
97101
</a>
98102
{% endif %}
99103
</div>
100-
<br>
101104
</header>
102105

106+
<!-- Page Content -->
103107
<section>
104108
{{ content }}
105-
<br>
106109
</section>
107110

111+
<!-- Footer -->
108112
<footer>
109113
{% if site.enable_footnote %}
110114
<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>
111115
{% endif %}
112116
</footer>
113117
</div>
114118

119+
<!-- JavaScript -->
115120
<script src="{{ '/assets/js/scale.fix.js' | relative_url }}"></script>
116121
{% if site.google_analytics %}
117122
<script>

0 commit comments

Comments
 (0)