-
Notifications
You must be signed in to change notification settings - Fork 81
/
post.html
64 lines (64 loc) · 2.63 KB
/
post.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
<!DOCTYPE html>
<html lang="en">
<head>
{% include head.html %}
{% if page.mathjax %}
{% include markdown-enhancements/mathjax.html %}
{% endif %}
{% include theme-vue.html%}
<!-- change font -->
<link href="https://fonts.googleapis.com/css?family=Roboto+Mono:400,400i,700|Source+Sans+Pro|Ubuntu+Mono" rel="stylesheet">
{% if page.numbering %}
<!-- link to counter.css -->
<link rel="stylesheet" href="{{site.url}}{{site.baseurl}}/assets/css/counter.css">
{% endif %}
{% if page.commentable %}
<link rel="stylesheet" href="{{site.url}}{{site.baseurl}}/assets/css/commentit.css">
{% endif %}
<!-- link to responsive post.css -->
<link rel="stylesheet" href="{{site.url}}{{site.baseurl}}/assets/css/post.css">
</head>
<body>
<input type="checkbox" class="sidebar-checkbox" id="sidebar-checkbox">
<!-- this is side bar -->
<div class="sidebar" id="sidebar">
<nav class="sidebar-nav">
{% include navitem.html %}
</nav>
{% if page.toc %}
<div class="toc">
<div class='toc-container'>
{% include toc.html html=content %}
</div>
</div>
{% endif %}
</div>
<!-- Add all page content inside this div if you want the side nav to push page content to the right
(not used if you only want the sidenav to sit on top of the page -->
<div class="wrap">
<div class="content-container">
<div class="page">
{% include frontmatter.html %}
<div id="content-container" style="text-align:justify">
{% if page.type == "mdpdf" %}
<p>Due to github updates on markdown engine, my mathjax got scrambled. So I am providing the link to both the md source file as well as here in the <a href="https://github.com/{{site.github_username}}/{{site.github_username}}.github.io/tree/master/_posts/{{ page.repopath }}" > repo</a> </p>
{% else %}
{{ content }}
{% endif %}
</div>
<!-- <div id="comment-session"> -->
<!-- {% include commentit.html %} -->
<!-- </div> -->
</div>
</div>
</div>
<label for="sidebar-checkbox" class="sidebar-toggle"></label>
{% include footer.html %}
</body>
{% if page.mermaid %}
{% include markdown-enhancements/mermaid.html %}
{% endif %}
{% if page.highlight %}
{% include markdown-enhancements/highlight.html %}
{% endif %}
</html>