-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhead_custom.html
More file actions
27 lines (24 loc) · 1.61 KB
/
head_custom.html
File metadata and controls
27 lines (24 loc) · 1.61 KB
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
{% comment %} Access to the EB Garamond font. The parameters after wght is the normal and bold weights.
Note: we used to use google fonts for this like this:
But for privacy reasons, we now self-host the fonts.
We use the google-webfonts-helper https://gwfh.mranftl.com/fonts/eb-garamond?subsets=latin
for this.
Garamond is used for text, and fondamento for the sidebar.
<!-- <link href="https://fonts.googleapis.com/css2?family=EB+Garamond:wght@403;700&display=swap" rel="stylesheet"> -->
<!-- <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Fondamento:wght@400&display=swap"> -->
{% endcomment %}
<link href="/assets/fonts/fonts.css" rel="stylesheet">
{% comment %} <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=IM+Fell+DW+Pica:wght@400&display=swap"> {% endcomment %}
{% comment %} <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Modern+Antiqua:wght@400&display=swap"> {% endcomment %}
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.0/css/all.css" integrity="sha384-aOkxzJ5uQz7WBObEZcHvV5JvRW3TUc2rNPA7pe3AwnsUohiw1Vj2Rgx2KSOkF5+h" crossorigin="anonymous">
<!-- {{ page.css }} -->
{% for css in layout.css %}
<link rel="stylesheet" href="/assets/css/{{ css }}.css">
{% endfor %}
{% for css in page.css %}
<link rel="stylesheet" href="/assets/css/{{ css }}.css">
{% endfor %}
{% if page.katex %}
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.12.0/dist/katex.min.css" integrity="sha384-AfEj0r4/OFrOo5t7NnNe46zW/tFgW6x/bCJG8FqQCEo3+Aro6EYUG4+cU+KJWu/X" crossorigin="anonymous">
<style>.katex { font-size: 1rem; }</style>
{% endif %}