Skip to content

Commit 0fdb5db

Browse files
committed
latex and images
1 parent 5218a8a commit 0fdb5db

File tree

3 files changed

+40
-0
lines changed

3 files changed

+40
-0
lines changed

_includes/head.html

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
<head>
2+
3+
<meta charset="utf-8">
4+
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
5+
6+
<title>
7+
{% if page.title %}{{ page.title | escape }} - {{ site.title | escape }}
8+
{% else %}{{ site.title | escape }}{% endif %}
9+
</title>
10+
11+
<meta name="description" content="{{ page.excerpt | default: site.description | strip_html | normalize_whitespace | truncate: 160 | escape }}">
12+
13+
<link href='https://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
14+
<link href='https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800' rel='stylesheet' type='text/css'>
15+
16+
<script src="https://use.fontawesome.com/releases/v5.15.3/js/all.js" crossorigin="anonymous"></script>
17+
18+
<link rel="stylesheet" href="{{"/assets/main.css" | relative_url }}">
19+
<link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}">
20+
<link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}" href="{{ "/feed.xml" | relative_url }}">
21+
22+
<!-- MathJax Configuration and Script -->
23+
<script type="text/javascript">
24+
window.MathJax = {
25+
tex: {
26+
inlineMath: [['$', '$'], ['\\(', '\\)']],
27+
displayMath: [['$$', '$$'], ['\\[', '\\]']],
28+
processEscapes: true,
29+
processEnvironments: true
30+
},
31+
options: {
32+
skipHtmlTags: ['script', 'noscript', 'style', 'textarea', 'pre', 'code']
33+
}
34+
};
35+
</script>
36+
<script type="text/javascript" id="MathJax-script" async
37+
src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js">
38+
</script>
39+
40+
</head>

img/home-bg.jpg

2.18 MB
Loading

img/posts/welcome.jpg

40.6 KB
Loading

0 commit comments

Comments
 (0)