jekyll-theme-neysa 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/_config.yml +15 -1
- data/_includes/baidu-analysis.html +9 -0
- data/_includes/footer.html +23 -10
- data/_includes/google-analytics.html +16 -10
- data/_includes/head.html +30 -0
- data/_layouts/default.html +1 -1
- data/_layouts/notebook.html +1 -1
- data/_layouts/project.html +1 -1
- data/_sass/jekyll-theme-neysa.scss +674 -638
- data/assets/images/github_64x64.png +0 -0
- data/assets/images/pdf_64x64.png +0 -0
- metadata +6 -6
- data/_includes/head-custom.html +0 -10
- data/_layouts/.DS_Store +0 -0
- data/_sass/.DS_Store +0 -0
- data/assets/.DS_Store +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9c0caa49e9734f1a1afc12125d5ba43b141e057b688d058a6f10d52c2e49ee1e
|
4
|
+
data.tar.gz: '058cd72167bbbf6c148cd1cf4c47198ca6f15f8a48604ca72629cfa9a9d7bcad'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 566f4bd6ec7ca8a49b70a01b4dc58510e748ede65b2ae770af8e7a53a087cc74c2905aee403932c1874ed87c03f9308da855ca1e6f3f064aa05e65e28b1c5b08
|
7
|
+
data.tar.gz: fd741dff6679683bc9d3947824033af629329801dc27c4bfafb684fad4651690bd87186070c02626b5b518f36a091583e0ab431040b55d2948d8d71cf2328d01
|
data/_config.yml
CHANGED
@@ -1,11 +1,12 @@
|
|
1
1
|
# Hide title of repository
|
2
|
-
name: ""
|
2
|
+
name: " "
|
3
3
|
title: null
|
4
4
|
description:
|
5
5
|
show_downloads: false
|
6
6
|
theme: jekyll-theme-neysa
|
7
7
|
|
8
8
|
# Build settings
|
9
|
+
|
9
10
|
markdown: kramdown # to show TOC
|
10
11
|
kramdown:
|
11
12
|
input: GFM
|
@@ -18,6 +19,14 @@ kramdown:
|
|
18
19
|
enable_coderay: false
|
19
20
|
parse_block_html: true # default for kramdown is false. This will enable using Markdown links
|
20
21
|
|
22
|
+
|
23
|
+
toc:
|
24
|
+
min_level: 2
|
25
|
+
max_level: 6
|
26
|
+
|
27
|
+
|
28
|
+
|
29
|
+
|
21
30
|
## => Markdown Enhancements
|
22
31
|
## Mathjax
|
23
32
|
mathjax: true # false (default), true
|
@@ -32,6 +41,11 @@ parse:
|
|
32
41
|
sass:
|
33
42
|
sass_dir: _sass
|
34
43
|
|
44
|
+
|
45
|
+
exclude:
|
46
|
+
- script
|
47
|
+
|
48
|
+
|
35
49
|
# -----------------------------------------------------------------------------
|
36
50
|
# 统计
|
37
51
|
# -----------------------------------------------------------------------------
|
@@ -0,0 +1,9 @@
|
|
1
|
+
<script>
|
2
|
+
var _hmt = _hmt || [];
|
3
|
+
(function() {
|
4
|
+
var hm = document.createElement("script");
|
5
|
+
hm.src = "//hm.baidu.com/hm.js?{{ site.baidu-analyisis }}";
|
6
|
+
var s = document.getElementsByTagName("script")[0];
|
7
|
+
s.parentNode.insertBefore(hm, s);
|
8
|
+
})();
|
9
|
+
</script>
|
data/_includes/footer.html
CHANGED
@@ -1,10 +1,23 @@
|
|
1
|
-
<footer class="inner">
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
1
|
+
<footer class="inner">
|
2
|
+
<!-- For checkbox setting -->
|
3
|
+
<script type="text/javascript">
|
4
|
+
var inputs = document.getElementsByTagName('input');
|
5
|
+
for (var i=0; i<inputs.length; i++) {
|
6
|
+
if (inputs[i].type == 'checkbox') {
|
7
|
+
if (inputs[i].checked == false){
|
8
|
+
inputs[i].disabled = false;
|
9
|
+
}
|
10
|
+
}
|
11
|
+
}
|
12
|
+
</script>
|
13
|
+
|
14
|
+
<!-- Foot note -->
|
15
|
+
{% if site.github.is_project_page %}
|
16
|
+
<p class="copyright">{{ site.title | default: site.github.repository_name }} maintained by <a href="https://ni-chen.github.io">Ni Chen</a> | Last updated: {{ "now" | date: '%B %d, %Y' }} </p>
|
17
|
+
{% else %}
|
18
|
+
<p> © Copyright {{ site.time | date: '%Y' }} <a href="https://ni-chen.github.io">Ni Chen</a> | Last updated: {{ "now" | date: '%B %d, %Y' }} </p>
|
19
|
+
{% endif %}
|
20
|
+
|
21
|
+
</footer>
|
22
|
+
|
23
|
+
|
@@ -1,10 +1,16 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
1
|
+
<script>
|
2
|
+
(function (i, s, o, g, r, a, m) {
|
3
|
+
i['GoogleAnalyticsObject'] = r;
|
4
|
+
i[r] = i[r] || function () {
|
5
|
+
(i[r].q = i[r].q || []).push(arguments)
|
6
|
+
}, i[r].l = 1 * new Date();
|
7
|
+
a = s.createElement(o),
|
8
|
+
m = s.getElementsByTagName(o)[0];
|
9
|
+
a.async = 1;
|
10
|
+
a.src = g;
|
11
|
+
m.parentNode.insertBefore(a, m)
|
12
|
+
})(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');
|
13
|
+
|
14
|
+
ga('create', 'UA-56515654-4', 'auto');
|
15
|
+
ga('send', 'pageview');
|
16
|
+
</script>
|
data/_includes/head.html
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
<!-- start custom head snippets, customize with your own _includes/head-custom.html file -->
|
2
|
+
<!-- Global site tag (gtag.js) - Google Analytics -->
|
3
|
+
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-56515654-4"></script>
|
4
|
+
<script>
|
5
|
+
window.dataLayer = window.dataLayer || [];
|
6
|
+
function gtag(){dataLayer.push(arguments);}
|
7
|
+
gtag('js', new Date());
|
8
|
+
|
9
|
+
gtag('config', 'UA-56515654-4');
|
10
|
+
</script>
|
11
|
+
|
12
|
+
<!-- Baidu Analytics -->
|
13
|
+
<script>
|
14
|
+
var _hmt = _hmt || [];
|
15
|
+
(function() {
|
16
|
+
var hm = document.createElement("script");
|
17
|
+
hm.src = "https://hm.baidu.com/hm.js?0662740a0d2368cc5cfaa508dd843362";
|
18
|
+
var s = document.getElementsByTagName("script")[0];
|
19
|
+
s.parentNode.insertBefore(hm, s);
|
20
|
+
})();
|
21
|
+
</script>
|
22
|
+
|
23
|
+
<!-- Setup Google Analytics -->
|
24
|
+
{% include google-analytics.html %}
|
25
|
+
{% include baidu-analysis.html %}
|
26
|
+
|
27
|
+
<!-- You can set your favicon here -->
|
28
|
+
<!-- link rel="shortcut icon" type="image/x-icon" href="{{ '/favicon.ico' | relative_url }}" -->
|
29
|
+
|
30
|
+
<!-- end custom head snippets -->
|
data/_layouts/default.html
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
<meta name="viewport" content="width=device-width,maximum-scale=2">
|
8
8
|
<link rel="stylesheet" type="text/css" media="screen" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
|
9
9
|
|
10
|
-
{% include head
|
10
|
+
{% include head.html %}
|
11
11
|
</head>
|
12
12
|
|
13
13
|
<body>
|
data/_layouts/notebook.html
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
<meta name="viewport" content="width=device-width,maximum-scale=2">
|
8
8
|
<link rel="stylesheet" type="text/css" media="screen" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
|
9
9
|
|
10
|
-
{% include head
|
10
|
+
{% include head.html %}
|
11
11
|
</head>
|
12
12
|
|
13
13
|
<body>
|
data/_layouts/project.html
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
<meta name="viewport" content="width=device-width,maximum-scale=2">
|
8
8
|
<link rel="stylesheet" type="text/css" media="screen" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
|
9
9
|
|
10
|
-
{% include head
|
10
|
+
{% include head.html %}
|
11
11
|
</head>
|
12
12
|
|
13
13
|
<body>
|