jekyll-rtd-theme 1.0.3 → 1.0.4
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/_includes/addons.liquid +1 -1
- data/_includes/addons/{source/analytics.liquid → analytics.liquid} +0 -0
- data/_includes/addons/{source/github.liquid → github.liquid} +0 -0
- data/_includes/addons/{source/i18n.liquid → i18n.liquid} +0 -0
- data/_includes/addons/{source/plugins.liquid → plugins.liquid} +0 -0
- data/_includes/album.liquid +1 -1
- data/_includes/extend/list.liquid +2 -2
- data/_includes/extend/toctree.liquid +6 -5
- data/_includes/footer.liquid +2 -2
- data/_includes/list.liquid +1 -1
- data/_includes/reset/defaults.liquid +19 -23
- data/_includes/toctree.liquid +1 -1
- data/_layouts/default.liquid +107 -36
- data/assets/robots.txt +1 -1
- data/assets/sitemap.liquid +17 -0
- metadata +8 -15
- data/_includes/addons/analytics/baidu.liquid +0 -18
- data/_includes/addons/analytics/cnzz.liquid +0 -4
- data/_includes/addons/analytics/google.liquid +0 -12
- data/_includes/addons/comments/disqus.liquid +0 -10
- data/_includes/addons/seo/og.liquid +0 -7
- data/_includes/addons/seo/schema.liquid +0 -10
- data/_includes/reset/schema.liquid +0 -6
- data/assets/sitemap.xml +0 -18
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cd0100e421bd3ccbc2da040ef98ccdbc657f8aad2224c6544f2baeded4761d5d
|
|
4
|
+
data.tar.gz: 6162401684e143cd3690c51dd1e8dcf4430dfe60c3fa670bd9b0928bbd134160
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 30acf708a39d44c221d0a01a74791df3ed94bf5384122ac472574ebd9196fcd25bfe1031c6ec32508e746f5c9444da6fdc2f0e02d896f94b521f627621bbf77a
|
|
7
|
+
data.tar.gz: 946c8bf42fb42359567acb26ab3c6ee2cd029d5a7ea5d412524d087081f83223b62bc24a1ba936bfbd4853c2e2cad09de7da1fc6cadceddd4bc49138bad6ae82
|
data/_includes/addons.liquid
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
data/_includes/album.liquid
CHANGED
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
{%- assign size_p1 = size | plus: 1 -%}
|
|
7
7
|
|
|
8
8
|
{%- assign dir = site_pages | where: "url", workdir | first %}
|
|
9
|
-
{% include extend/tabs.liquid size=size %}- [{{ dir.title | default: dir.url }}]({{
|
|
9
|
+
{% include extend/tabs.liquid size=size %}- [{{ dir.title | default: dir.url }}]({{ dir.url | relative_url }})
|
|
10
10
|
|
|
11
11
|
{%- for item in workdir_files %}
|
|
12
|
-
{% include extend/tabs.liquid size=size_p1 %}- [{{ item.title | default: item.url }}]({{
|
|
12
|
+
{% include extend/tabs.liquid size=size_p1 %}- [{{ item.title | default: item.url }}]({{ item.url | relative_url }})
|
|
13
13
|
{%- endfor -%}
|
|
14
14
|
|
|
15
15
|
{%- for workdir in workdir_dirs %}{% include extend/list.liquid %}{% endfor -%}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
{%- if workdir_level == 2 %}
|
|
8
8
|
<p class="caption"><span class="caption-text">{{ dir.title | default: dir.url }}</span></p>
|
|
9
9
|
{%- else %}
|
|
10
|
-
<a class="reference internal" href="{{
|
|
10
|
+
<a class="reference internal" href="{{ dir.url | relative_url }}">{{ dir.title | default: dir.url }}</a>
|
|
11
11
|
{%- endif -%}
|
|
12
12
|
|
|
13
13
|
<ul>
|
|
@@ -21,11 +21,12 @@
|
|
|
21
21
|
{%- endif -%}
|
|
22
22
|
|
|
23
23
|
<li class="toctree-l{{ level }} {{ current }}">
|
|
24
|
-
<a class="reference internal {{ current }}" href="{{
|
|
24
|
+
<a class="reference internal {{ current }}" href="{{ item.url | relative_url }}">
|
|
25
25
|
{%- if item.sort and site.show_sorted != false -%}
|
|
26
|
-
{{ item.sort }}.
|
|
27
|
-
{%-
|
|
28
|
-
|
|
26
|
+
{{ item.sort }}. {{ item.title | default: item.url }}
|
|
27
|
+
{%- else -%}
|
|
28
|
+
{{ item.title | default: item.url }}
|
|
29
|
+
{%- endif -%}
|
|
29
30
|
</a>
|
|
30
31
|
</li>
|
|
31
32
|
{%- endfor -%}
|
data/_includes/footer.liquid
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
{%- if next or prev -%}
|
|
3
3
|
<div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
|
|
4
4
|
{%- if next -%}
|
|
5
|
-
<a href="{{
|
|
5
|
+
<a href="{{ next.url | relative_url }}" class="btn btn-neutral float-right" title="{{ next.title }}" accesskey="n" rel="next">
|
|
6
6
|
{{- __next }} <span class="fa fa-arrow-circle-right"></span>
|
|
7
7
|
</a>
|
|
8
8
|
{%- endif -%}
|
|
9
9
|
{%- if prev -%}
|
|
10
|
-
<a href="{{
|
|
10
|
+
<a href="{{ prev.url | relative_url }}" class="btn btn-neutral float-left" title="{{ prev.title }}" accesskey="p" rel="prev">
|
|
11
11
|
<span class="fa fa-arrow-circle-left"></span> {{ __previous -}}
|
|
12
12
|
</a>
|
|
13
13
|
{%- endif -%}
|
data/_includes/list.liquid
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
{%- include reset/workdir.liquid workdir=page.dir -%}
|
|
3
3
|
|
|
4
4
|
{%- for item in workdir_files %}
|
|
5
|
-
- [{{ item.title | default: item.url }}]({{
|
|
5
|
+
- [{{ item.title | default: item.url }}]({{ item.url | relative_url }})
|
|
6
6
|
{%- endfor -%}
|
|
7
7
|
|
|
8
8
|
{%- if include.all -%}
|
|
@@ -1,10 +1,23 @@
|
|
|
1
1
|
{%- assign description = content | strip_html | split: " " | join: " " | escape | truncate: 150 -%}
|
|
2
|
-
{%- assign version = "1.0.
|
|
2
|
+
{%- assign version = "1.0.4" -%}
|
|
3
3
|
{%- assign addons = "github, i18n, plugins, analytics" | split: ", " -%}
|
|
4
4
|
|
|
5
|
-
{%-
|
|
6
|
-
{%-
|
|
7
|
-
|
|
5
|
+
{%- assign schema_lastmod = site.time | date_to_xmlschema -%}
|
|
6
|
+
{%- assign schema_url = page.url | absolute_url | replace: 'http://', 'https://' | xml_escape -%}
|
|
7
|
+
|
|
8
|
+
{% comment %} scss {% endcomment %}
|
|
9
|
+
{%- capture site_scss -%}
|
|
10
|
+
@import "site.scss";
|
|
11
|
+
{% if site.fluid %}@import "fluid.scss";{% endif %}
|
|
12
|
+
{% include assets/custom.scss %} {{ site.scss }}
|
|
13
|
+
{%- endcapture -%}
|
|
14
|
+
|
|
15
|
+
{% comment %} cdn {% endcomment %}
|
|
16
|
+
{%- if site.debug -%}
|
|
17
|
+
{%- assign cdn = site.baseurl -%}
|
|
18
|
+
{%- else -%}
|
|
19
|
+
{%- assign cdn = "https://cdn.jsdelivr.net/gh/rundocs/jekyll-rtd-theme@" | append: version -%}
|
|
20
|
+
{%- endif -%}
|
|
8
21
|
|
|
9
22
|
{% comment %} github-metadata {% endcomment %}
|
|
10
23
|
{%- if site.github_metadata != false -%}
|
|
@@ -36,25 +49,8 @@
|
|
|
36
49
|
{%- assign addons = "i18n, plugins, analytics" | split: ", " -%}
|
|
37
50
|
{%- endif -%}
|
|
38
51
|
|
|
39
|
-
{
|
|
40
|
-
{%-
|
|
41
|
-
@import "site.scss";
|
|
42
|
-
{%- if site.fluid %}
|
|
43
|
-
@import "fluid.scss";
|
|
44
|
-
{% endif -%}
|
|
45
|
-
{% include assets/custom.scss %} {{ site.scss }}
|
|
46
|
-
{%- endcapture -%}
|
|
47
|
-
|
|
48
|
-
{%- capture site_script %}
|
|
49
|
-
{% include assets/common.js %}
|
|
50
|
-
{% include assets/custom.js %} {{ site.script }}
|
|
51
|
-
{%- endcapture -%}
|
|
52
|
-
|
|
53
|
-
{%- if site.debug -%}
|
|
54
|
-
{%- assign cdn = site.baseurl -%}
|
|
55
|
-
{%- else -%}
|
|
56
|
-
{%- assign cdn = "https://cdn.jsdelivr.net/gh/rundocs/jekyll-rtd-theme@" | append: version -%}
|
|
57
|
-
{%- endif -%}
|
|
52
|
+
{%- include reset/site_pages.liquid %}
|
|
53
|
+
{%- include reset/i18n.liquid -%}
|
|
58
54
|
|
|
59
55
|
{% comment %} title {% endcomment %}
|
|
60
56
|
{%- case page.url -%}
|
data/_includes/toctree.liquid
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
{%- if page.url == item.url %}current{% endif -%}
|
|
8
8
|
{%- endcapture %}
|
|
9
9
|
<li class="toctree-l{{ level }} {{ current }}">
|
|
10
|
-
<a class="reference internal {{ current }}" href="{{
|
|
10
|
+
<a class="reference internal {{ current }}" href="{{ item.url | relative_url }}">
|
|
11
11
|
{{ item.title | default: item.url }}
|
|
12
12
|
</a>
|
|
13
13
|
</li>
|
data/_layouts/default.liquid
CHANGED
|
@@ -14,13 +14,13 @@ layout: plugins/compress
|
|
|
14
14
|
{%- endif %}
|
|
15
15
|
-->
|
|
16
16
|
|
|
17
|
-
<html class="writer-html5" lang="{{ lang }}">
|
|
17
|
+
<html amp class="writer-html5" lang="{{ lang }}">
|
|
18
18
|
|
|
19
19
|
<head>
|
|
20
20
|
<meta charset="utf-8">
|
|
21
21
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
|
22
22
|
<meta content="IE=Edge" http-equiv="X-UA-Compatible">
|
|
23
|
-
<title>{{ title }}</title>
|
|
23
|
+
<title>{{ title | truncate: 110 }}</title>
|
|
24
24
|
<script>
|
|
25
25
|
window.dataLayer = window.dataLayer || [];
|
|
26
26
|
|
|
@@ -41,22 +41,49 @@ layout: plugins/compress
|
|
|
41
41
|
<meta name="author" content="{{ author }}">
|
|
42
42
|
<meta name="revised" content="{{ commit }}">
|
|
43
43
|
<meta name="generator" content="jekyll-rtd-theme v{{ version }}">
|
|
44
|
-
<!--
|
|
44
|
+
<!-- meta-og -->
|
|
45
|
+
<meta property="og:title" content="{{ title }}">
|
|
46
|
+
<meta property="og:description" content="{{ description }}">
|
|
47
|
+
<meta property="og:locale" content="{{ lang }}">
|
|
48
|
+
<meta property="og:url" content="{{ schema_url }}">
|
|
49
|
+
<meta property="og:type" content="article">
|
|
50
|
+
<meta property="article:author" content="{{ author }}">
|
|
51
|
+
<meta property="article:modified_time" content="{{ schema_lastmod }}">
|
|
52
|
+
<!-- meta-custom -->
|
|
45
53
|
{% for meta in site.meta -%}
|
|
46
54
|
<meta name="{{ meta.first }}" content="{{ meta.last }}">
|
|
47
55
|
{% endfor -%}
|
|
48
|
-
<!-- og -->
|
|
49
|
-
{% include addons/seo/og.liquid %}
|
|
50
56
|
<!-- schema -->
|
|
51
|
-
|
|
57
|
+
<script type="application/ld+json">
|
|
58
|
+
{
|
|
59
|
+
"@context": "https://schema.org",
|
|
60
|
+
"@type": "Article",
|
|
61
|
+
"mainEntityOfPage": {
|
|
62
|
+
"@type": "WebPage",
|
|
63
|
+
"@id": "{{ schema_url }}"
|
|
64
|
+
},
|
|
65
|
+
"headline": "{{ title | truncate: 110 }}",
|
|
66
|
+
"image": [{% for image in page.images %}"{{ image }}"{% unless forloop.last %},{% endunless %}{% endfor %}],
|
|
67
|
+
"author": {
|
|
68
|
+
"@type": "Person",
|
|
69
|
+
"name": "{{ author }}"
|
|
70
|
+
},
|
|
71
|
+
"datePublished": "{{ page.date | default: site.time | date_to_xmlschema }}",
|
|
72
|
+
"dateModified": "{{ schema_lastmod }}",
|
|
73
|
+
"publisher": {
|
|
74
|
+
"@type": "Organization",
|
|
75
|
+
"name": "RunDocs",
|
|
76
|
+
"logo": {
|
|
77
|
+
"@type": "ImageObject",
|
|
78
|
+
"url": "https://rundocs.io/logo.png"
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
</script>
|
|
52
83
|
<!-- link -->
|
|
53
|
-
{% if prev -%}
|
|
54
|
-
<link rel="prev" href="{{ prev.url | absolute_url | xml_escape }}">
|
|
55
|
-
{%- endif -%}
|
|
56
|
-
{%- if next -%}
|
|
57
|
-
<link rel="next" href="{{ next.url | absolute_url | xml_escape }}">
|
|
58
|
-
{%- endif -%}
|
|
59
84
|
<link rel="canonical" href="{{ schema_url }}">
|
|
85
|
+
{% if prev %}<link rel="prev" href="{{ prev.url | absolute_url | replace: 'http://', 'https://' }}">{% endif %}
|
|
86
|
+
{% if next %}<link rel="next" href="{{ next.url | absolute_url | replace: 'http://', 'https://' }}">{% endif %}
|
|
60
87
|
<!-- theme -->
|
|
61
88
|
<link rel="stylesheet" href="{{ cdn }}/assets/css/theme.css">
|
|
62
89
|
<link rel="stylesheet" href="{{ cdn }}/assets/css/rougify/{{ site.rougify | default: 'github' }}.css">
|
|
@@ -64,9 +91,7 @@ layout: plugins/compress
|
|
|
64
91
|
<!-- icon -->
|
|
65
92
|
<link rel="icon" type="image/svg+xml" href="{{ site.baseurl }}/assets/favicon.svg">
|
|
66
93
|
<!-- script -->
|
|
67
|
-
<!--[if lt IE 9]
|
|
68
|
-
<script src="{{ cdn }}/assets/js/html5shiv.min.js"></script>
|
|
69
|
-
<![endif]-->
|
|
94
|
+
<!--[if lt IE 9]><script src="{{ cdn }}/assets/js/html5shiv.min.js"></script><![endif]-->
|
|
70
95
|
<script src="{{ cdn }}/assets/js/jquery.min.js"></script>
|
|
71
96
|
<script>
|
|
72
97
|
const ui = {
|
|
@@ -94,7 +119,7 @@ layout: plugins/compress
|
|
|
94
119
|
|
|
95
120
|
<body class="wy-body-for-nav">
|
|
96
121
|
<div class="wy-grid-for-nav">
|
|
97
|
-
<!--
|
|
122
|
+
<!-- NAV -->
|
|
98
123
|
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
|
|
99
124
|
<div class="wy-side-scroll">
|
|
100
125
|
<div class="wy-side-nav-search">
|
|
@@ -112,16 +137,13 @@ layout: plugins/compress
|
|
|
112
137
|
</form>
|
|
113
138
|
</div>
|
|
114
139
|
</div>
|
|
115
|
-
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
|
|
116
|
-
{% include toctree.liquid %}
|
|
117
|
-
</div>
|
|
140
|
+
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">{% include toctree.liquid %}</div>
|
|
118
141
|
{%- if site.embed -%}
|
|
119
|
-
|
|
120
|
-
<div class="wy-embed">{{ site.embed }}</div>
|
|
121
|
-
</div>
|
|
142
|
+
<div class="wy-embed-wrap"><div class="wy-embed">{{ site.embed }}</div></div>
|
|
122
143
|
{%- endif -%}
|
|
123
144
|
</div>
|
|
124
145
|
</nav>
|
|
146
|
+
|
|
125
147
|
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
|
|
126
148
|
<!-- MOBILE NAV -->
|
|
127
149
|
<nav class="wy-nav-top" aria-label="top navigation">
|
|
@@ -131,15 +153,24 @@ layout: plugins/compress
|
|
|
131
153
|
<div class="wy-nav-content">
|
|
132
154
|
<div class="rst-content">
|
|
133
155
|
{% include breadcrumbs.liquid %}
|
|
134
|
-
<div
|
|
135
|
-
|
|
136
|
-
{
|
|
137
|
-
|
|
138
|
-
{
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
{%
|
|
156
|
+
<div class="document" role="main">
|
|
157
|
+
{%- if page.url == "/search.html" -%}
|
|
158
|
+
{{ content }}
|
|
159
|
+
{%- else -%}
|
|
160
|
+
<div class="section">{{ content }}</div>
|
|
161
|
+
{%- endif -%}
|
|
162
|
+
|
|
163
|
+
{% comment %} comments {% endcomment %}
|
|
164
|
+
{% if site.disqus %}
|
|
165
|
+
<div id="disqus_thread" class="articleComments"></div>
|
|
166
|
+
<script>
|
|
167
|
+
(function(script) {
|
|
168
|
+
script.src = "https://{{ site.disqus }}.disqus.com/embed.js";
|
|
169
|
+
script.setAttribute("data-timestamp", +new Date());
|
|
170
|
+
document.head.appendChild(script);
|
|
171
|
+
})(document.createElement("script"));
|
|
172
|
+
</script>
|
|
173
|
+
{% endif %}
|
|
143
174
|
</div>
|
|
144
175
|
{% include footer.liquid %}
|
|
145
176
|
</div>
|
|
@@ -150,11 +181,51 @@ layout: plugins/compress
|
|
|
150
181
|
<!-- script -->
|
|
151
182
|
<script src="{{ cdn }}/assets/js/theme.js"></script>
|
|
152
183
|
<script src="{{ cdn }}/assets/js/anchor.min.js"></script>
|
|
153
|
-
<script>
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
184
|
+
<script>
|
|
185
|
+
{% include assets/common.js %}
|
|
186
|
+
{% include assets/custom.js %} {{ site.script }}
|
|
187
|
+
</script>
|
|
188
|
+
|
|
189
|
+
{% comment %} Baidu link submit {% endcomment %}
|
|
190
|
+
{%- if site.baidu.linksubmit -%}
|
|
191
|
+
<script>
|
|
192
|
+
(function(script) {
|
|
193
|
+
script.src = "https://zz.bdstatic.com/linksubmit/push.js";
|
|
194
|
+
document.head.appendChild(script);
|
|
195
|
+
})(document.createElement("script"));
|
|
196
|
+
</script>
|
|
197
|
+
{%- endif -%}
|
|
198
|
+
|
|
199
|
+
{% comment %} Baidu Analytics {% endcomment %}
|
|
200
|
+
{%- if site.baidu.hm -%}
|
|
201
|
+
<script>
|
|
202
|
+
var _hmt = _hmt || [];
|
|
203
|
+
(function(script) {
|
|
204
|
+
script.src = "https://hm.baidu.com/hm.js?{{ site.baidu.hm }}";
|
|
205
|
+
document.head.appendChild(script);
|
|
206
|
+
})(document.createElement("script"));
|
|
207
|
+
</script>
|
|
208
|
+
{%- endif -%}
|
|
209
|
+
|
|
210
|
+
{% comment %} CNZZ Analytics {% endcomment %}
|
|
211
|
+
{%- if site.cnzz -%}
|
|
212
|
+
<span id="cnzz_stat_icon_{{ site.cnzz }}" style="display: none;"></span>
|
|
213
|
+
<script async src="https://v1.cnzz.com/z_stat.php?id={{ site.cnzz }}"></script>
|
|
214
|
+
{%- endif -%}
|
|
215
|
+
|
|
216
|
+
{% comment %} Google Analytics {% endcomment %}
|
|
217
|
+
{%- if site.google.gtag -%}
|
|
218
|
+
<!-- -->
|
|
219
|
+
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.google.gtag }}"></script>
|
|
220
|
+
<script>
|
|
221
|
+
gtag("config", "{{ site.google.gtag }}");
|
|
222
|
+
</script>
|
|
223
|
+
{%- endif -%}
|
|
224
|
+
|
|
225
|
+
{% comment %} Google AdSense {% endcomment %}
|
|
226
|
+
{%- if site.google.adsense -%}
|
|
227
|
+
<script data-ad-client="{{ site.google.adsense }}" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
|
|
228
|
+
{%- endif -%}
|
|
158
229
|
</body>
|
|
159
230
|
|
|
160
231
|
</html>
|
data/assets/robots.txt
CHANGED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: plugins/compress
|
|
3
|
+
permalink: /sitemap.xml
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
{%- include reset/site_pages.liquid -%}
|
|
7
|
+
|
|
8
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
9
|
+
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
|
10
|
+
{%- for page in site_pages -%}
|
|
11
|
+
<url>
|
|
12
|
+
<loc>{{ page.url | absolute_url | replace: "http://", "https://" | xml_escape }}</loc>
|
|
13
|
+
<priority>{{ page.content | size | divided_by: 2048.0 | times: 10 | ceil | divided_by: 10.0 | at_least: 0.1 | at_most: 1.0 }}</priority>
|
|
14
|
+
<lastmod>{{ site.time | date_to_xmlschema }}</lastmod>
|
|
15
|
+
</url>
|
|
16
|
+
{%- endfor %}
|
|
17
|
+
</urlset>
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jekyll-rtd-theme
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- saowang
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-08-
|
|
11
|
+
date: 2020-08-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: github-pages
|
|
@@ -34,16 +34,10 @@ files:
|
|
|
34
34
|
- LICENSE
|
|
35
35
|
- README.md
|
|
36
36
|
- _includes/addons.liquid
|
|
37
|
-
- _includes/addons/analytics
|
|
38
|
-
- _includes/addons/
|
|
39
|
-
- _includes/addons/
|
|
40
|
-
- _includes/addons/
|
|
41
|
-
- _includes/addons/seo/og.liquid
|
|
42
|
-
- _includes/addons/seo/schema.liquid
|
|
43
|
-
- _includes/addons/source/analytics.liquid
|
|
44
|
-
- _includes/addons/source/github.liquid
|
|
45
|
-
- _includes/addons/source/i18n.liquid
|
|
46
|
-
- _includes/addons/source/plugins.liquid
|
|
37
|
+
- _includes/addons/analytics.liquid
|
|
38
|
+
- _includes/addons/github.liquid
|
|
39
|
+
- _includes/addons/i18n.liquid
|
|
40
|
+
- _includes/addons/plugins.liquid
|
|
47
41
|
- _includes/album.liquid
|
|
48
42
|
- _includes/assets/common.js
|
|
49
43
|
- _includes/assets/custom.js
|
|
@@ -65,7 +59,6 @@ files:
|
|
|
65
59
|
- _includes/reset/defaults.liquid
|
|
66
60
|
- _includes/reset/i18n.liquid
|
|
67
61
|
- _includes/reset/languages.liquid
|
|
68
|
-
- _includes/reset/schema.liquid
|
|
69
62
|
- _includes/reset/site_pages.liquid
|
|
70
63
|
- _includes/reset/workdir.liquid
|
|
71
64
|
- _includes/toctree.liquid
|
|
@@ -125,7 +118,7 @@ files:
|
|
|
125
118
|
- assets/pages.json
|
|
126
119
|
- assets/robots.txt
|
|
127
120
|
- assets/search.liquid
|
|
128
|
-
- assets/sitemap.
|
|
121
|
+
- assets/sitemap.liquid
|
|
129
122
|
homepage: https://github.com/rundocs/jekyll-rtd-theme
|
|
130
123
|
licenses:
|
|
131
124
|
- MIT
|
|
@@ -148,5 +141,5 @@ requirements: []
|
|
|
148
141
|
rubygems_version: 3.1.2
|
|
149
142
|
signing_key:
|
|
150
143
|
specification_version: 4
|
|
151
|
-
summary: Just another
|
|
144
|
+
summary: Just another jekyll docs theme compatible with GitHub Pages, based on sphinx_rtd_theme
|
|
152
145
|
test_files: []
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
{%- if site.baidu.linksubmit -%}
|
|
2
|
-
<script>
|
|
3
|
-
(function(script) {
|
|
4
|
-
script.src = "https://zz.bdstatic.com/linksubmit/push.js";
|
|
5
|
-
document.head.appendChild(script);
|
|
6
|
-
})(document.createElement("script"));
|
|
7
|
-
</script>
|
|
8
|
-
{%- endif -%}
|
|
9
|
-
|
|
10
|
-
{%- if site.baidu.hm -%}
|
|
11
|
-
<script>
|
|
12
|
-
var _hmt = _hmt || [];
|
|
13
|
-
(function(script) {
|
|
14
|
-
script.src = "https://hm.baidu.com/hm.js?{{ site.baidu.hm }}";
|
|
15
|
-
document.head.appendChild(script);
|
|
16
|
-
})(document.createElement("script"));
|
|
17
|
-
</script>
|
|
18
|
-
{%- endif -%}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
{%- if site.google.gtag -%}
|
|
2
|
-
<!-- Google Analytics -->
|
|
3
|
-
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.google.gtag }}"></script>
|
|
4
|
-
<script>
|
|
5
|
-
gtag("config", "{{ site.google.gtag }}");
|
|
6
|
-
</script>
|
|
7
|
-
{%- endif -%}
|
|
8
|
-
|
|
9
|
-
{%- if site.google.adsense -%}
|
|
10
|
-
<!-- Google AdSense -->
|
|
11
|
-
<script data-ad-client="{{ site.google.adsense }}" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
|
|
12
|
-
{%- endif -%}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
{% if site.disqus %}
|
|
2
|
-
<div id="disqus_thread" class="articleComments"></div>
|
|
3
|
-
<script>
|
|
4
|
-
(function(script) {
|
|
5
|
-
script.src = "https://{{ site.disqus }}.disqus.com/embed.js";
|
|
6
|
-
script.setAttribute("data-timestamp", +new Date());
|
|
7
|
-
document.head.appendChild(script);
|
|
8
|
-
})(document.createElement("script"));
|
|
9
|
-
</script>
|
|
10
|
-
{% endif %}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
<meta property="og:title" content="{{ title }}">
|
|
2
|
-
<meta property="og:description" content="{{ description }}">
|
|
3
|
-
<meta property="og:locale" content="{{ lang }}">
|
|
4
|
-
<meta property="og:url" content="{{ schema_url }}">
|
|
5
|
-
<meta property="og:type" content="article">
|
|
6
|
-
<meta property="article:author" content="{{ author }}">
|
|
7
|
-
<meta property="article:modified_time" content="{{ schema_lastmod }}">
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
{%- assign schema_url = page.url | absolute_url | xml_escape -%}
|
|
2
|
-
{%- assign schema_lastmod = page.date | default: site.time | date_to_xmlschema -%}
|
|
3
|
-
|
|
4
|
-
{%- assign schema_weight_title = page.title | size | divided_by: 200.0 -%}
|
|
5
|
-
{%- assign schema_weight_content = page.content | size | divided_by: 1024.0 -%}
|
|
6
|
-
{%- assign schema_priority = schema_weight_content | plus: schema_weight_title | times: 10 | ceil | divided_by: 10.0 | at_least: 0.1 | at_most: 1.0 -%}
|
data/assets/sitemap.xml
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
layout: plugins/compress
|
|
3
|
-
permalink: /sitemap.xml
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
{%- include reset/site_pages.liquid -%}
|
|
7
|
-
|
|
8
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
9
|
-
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
|
10
|
-
{%- for page in site_pages -%}
|
|
11
|
-
{% include reset/schema.liquid %}
|
|
12
|
-
<url>
|
|
13
|
-
<loc>{{ schema_url }}</loc>
|
|
14
|
-
<priority>{{ schema_priority }}</priority>
|
|
15
|
-
<lastmod>{{ schema_lastmod }}</lastmod>
|
|
16
|
-
</url>
|
|
17
|
-
{%- endfor %}
|
|
18
|
-
</urlset>
|