-
Notifications
You must be signed in to change notification settings - Fork 0
/
leap_day_customized_v5.1.html
124 lines (111 loc) · 4.96 KB
/
leap_day_customized_v5.1.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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
---
layout_name: leap_day_customized_v5.1
---
<!-- inherited_from: leap_day -->
<!-- inherited_from: leap_day_customized_v5 -->
<!doctype html>
<html lang="{{ site.lang | default: "en-US" }}">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
{% seo %}
<link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
<script src="https://code.jquery.com/jquery-3.3.0.min.js" integrity="sha256-RTQy8VOmNlT6b2PIRur37p6JEBZUE7o8wPgMvu18MC4=" crossorigin="anonymous"></script>
<script src="{{ '/assets/js/main.js' | relative_url }}"></script>
<!--[if lt IE 9]>
<script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js" integrity="sha256-3Jy/GbSLrg0o9y5Z5n1uw0qxZECH7C6OQpVBgNFYa0g=" crossorigin="anonymous"></script>
<![endif]-->
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
</head>
<body>
{%- if page.author == nil and page.allow_download_doc == nil -%}
{%- comment -%}
<p>should not download</p>
{%- endcomment -%}
{%- assign allow_download_doc = false -%}
{%- comment -%}
{%- capture page.author -%}
{{site.author}}
{%- endcapture -%}
{%- endcomment -%}
{%- else -%}
{%- assign allow_download_doc = true -%}
{%- endif -%}
<header>
<h1>{{ page.title | default: site.title | default: site.github.repository_name }}</h1>
<p>{{ page.description | default: site.description | default: site.github.project_tagline }}</p>
<p>Author: {{ page.author | default: site.author }}, Date: {{ page.date | default: "Unknown" }}, Categories: {{ page.categories }}, Tags: {{ page.tags }}</p>
</header>
<div id="banner">
{%- if site.allow_download_doc == true and allow_download_doc == true -%}
{%- if page.allow_download_doc != false -%}
<a href="{{site.github.repository_url}}/raw/{{site.github.source.branch}}/{{page.path}}">
<span id="logo" ></span>
</a>
{%- else -%}
<span id="logo" ></span>
{%- endif -%}
{%- else -%}
<span id="logo" ></span>
{%- endif -%}
<a href="{{site.github.url}}{{page.dir}}" class="button"><strong>Up</strong></a>
<a href="{{site.github.url}}" class="button"><strong>Home</strong></a>
<a href="{{site.github.url}}/pagemap.html" class="button">Page Map</a>
<a href="{{ site.github.repository_url }}/tree/{{site.github.source.branch}}/{{page.path}}" class="button fork"><strong>View On GitHub</strong></a>
{% if site.show_downloads %}
<div class="downloads">
<span>Downloads:</span>
<ul>
<li><a href="{{ site.github.zip_url }}" class="button">ZIP</a></li>
<li><a href="{{ site.github.tar_url }}" class="button">TAR</a></li>
</ul>
</div>
{% endif %}
</div><!-- end banner -->
<div class="wrapper">
<nav>
<ul></ul>
</nav>
<section>
<!-- <p>page.author: {{page.author}}</p>
<p>site.allow_download_doc: {{site.allow_download_doc}}</p>
<p>page.allow_download_doc: {{page.allow_download_doc}}</p>
<p>allow_download_doc: {{allow_download_doc}}</p> -->
{%- if page.redirect_from -%}
<section style="height:min-content; margin-top: 0px; padding-bottom: 30px;">
<b>Starring Links: </b>
<ol>
{%- for link in page.redirect_from -%}
<li><a style="color:rgb(228, 194, 0)" href="{{ site.github.url }}{{ link }}">{{ link }}</a></li>
{%- endfor -%}
</ol>
</section>
{%- endif -%}
{{ content }}
</section>
<footer>
{% if site.github.is_project_page %}
<p>Project maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a></p>
{% endif %}
<p><small>Hosted on GitHub Pages — Theme by <a href="https://twitter.com/mattgraham">mattgraham</a>,
customized by <a href="https://github.com/LiuJiewenTT">LiuJiewenTT</a>
as <a href="{{site.github.repository_url}}/blob/{{site.github.source.branch}}/_layouts/{{layout.layout_name}}.html">the layout</a>,
<a href="{{site.github.repository_url}}/blob/{{site.github.source.branch}}/_sass/jekyll-theme-leap-day.scss">the scss</a>.
</small></p>
</footer>
</div>
<!-- Support for Mermaid Graphs
The tutorial link(Under this website): /docs/Jekyll/Jekyll下Markdown的填坑技巧
-->
<script src="https://cdn.jsdelivr.net/npm/mermaid@9.4.0/dist/mermaid.min.js"></script>
<script>
var config = {
startOnLoad:true,
theme: 'forest'
};
mermaid.initialize(config);
// mermaid.initialize({ startOnLoad: true });
mermaid.init(undefined, document.querySelectorAll('.language-mermaid'));
</script>
</body>
</html>