Skip to content

Commit f97dadd

Browse files
committed
Add custom header and update CDN
1 parent f3242d1 commit f97dadd

3 files changed

Lines changed: 20 additions & 2 deletions

File tree

_config.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1-
theme: jekyll-theme-minimal
1+
theme: jekyll-theme-minimal
2+
markdown: kramdown
3+
kramdown:
4+
math_engine: mathjax

_includes/default.html

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
6+
{%- include head.html -%}
7+
8+
<title>{{ page.title }}</title>
9+
<link rel="stylesheet" href="{{ '/assets/css/style.css' | relative_url }}">
10+
</head>
11+
12+
<body>
13+
{{ content }}
14+
</body>
15+
</html>

_includes/head.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@
2222
},
2323
});
2424
</script>
25-
<script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script>
25+
<script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>

0 commit comments

Comments
 (0)