jekyll-rtd-theme 2.0.0.pre.beta → 2.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/README.md +68 -22
- data/_includes/addons/analytics.liquid +4 -4
- data/_includes/addons/github.liquid +10 -7
- data/_includes/assets/custom.js +0 -0
- data/_includes/assets/custom.scss +0 -0
- data/_includes/assets/sw.caches.js +3 -7
- data/_includes/{breadcrumbs.liquid → class/_breadcrumbs.liquid} +11 -5
- data/_includes/{footer.liquid → class/_footer.liquid} +14 -9
- data/_includes/{toctree.liquid → class/_toctree.liquid} +4 -4
- data/_includes/class/addons-wrap.liquid +26 -0
- data/_includes/class/content-wrap.liquid +20 -0
- data/_includes/class/sidebar-wrap.liquid +18 -0
- data/_includes/extend/list.liquid +2 -2
- data/_includes/extend/toctree.liquid +10 -6
- data/_includes/extra/footer.html +0 -0
- data/_includes/extra/head.html +0 -0
- data/_includes/list.liquid +1 -1
- data/_includes/node/links.liquid +24 -0
- data/_includes/node/metadata.liquid +21 -0
- data/_includes/node/script.extension.liquid +29 -0
- data/_includes/node/script.liquid +19 -0
- data/_includes/node/script.schema.liquid +27 -0
- data/_includes/node/title.liquid +1 -0
- data/_includes/reset/content.liquid +5 -0
- data/_includes/reset/defaults.liquid +8 -51
- data/_includes/reset/description.liquid +6 -0
- data/_includes/reset/i18n.liquid +1 -0
- data/_includes/reset/navigation.liquid +20 -0
- data/_includes/{extend → reset}/tabs.liquid +0 -0
- data/_includes/reset/title.liquid +18 -0
- data/_includes/reset/variables.liquid +31 -0
- data/_includes/reset/version.liquid +1 -0
- data/_includes/reset/workdir.liquid +0 -1
- data/_includes/shortcodes/danger.liquid +8 -6
- data/_includes/shortcodes/note.liquid +8 -6
- data/_includes/shortcodes/tip.liquid +8 -6
- data/_includes/shortcodes/warning.liquid +8 -6
- data/_layouts/default.liquid +20 -184
- data/_layouts/plugins/extension.liquid +4 -3
- data/_sass/@primer/forms/form-control.scss +6 -3
- data/_sass/@primer/loaders/index.scss +2 -0
- data/_sass/@primer/loaders/loaders.scss +21 -0
- data/_sass/@primer/markdown/lists.scss +1 -0
- data/_sass/@primer/support/variables/misc.scss +1 -0
- data/_sass/@primer/utilities/borders.scss +6 -3
- data/_sass/@primer/utilities/flexbox.scss +3 -0
- data/_sass/@primer/utilities/layout.scss +42 -25
- data/_sass/_font-face.scss +7 -6
- data/_sass/_icons.scss +4 -0
- data/_sass/_layout.scss +3 -4
- data/_sass/_reset.scss +0 -8
- data/_sass/_variables.scss +10 -7
- data/_sass/class/admonition.scss +47 -0
- data/_sass/class/container.scss +1 -1
- data/_sass/class/markdown-body.scss +28 -9
- data/_sass/class/sidebar-wrap.scss +50 -27
- data/_sass/class/title.scss +0 -1
- data/_sass/theme.scss +9 -7
- data/assets/404.liquid +3 -1
- data/assets/css/theme.min.css +1 -1
- data/assets/js/mermaid.min.js +0 -1
- data/assets/js/theme.js +242 -191
- data/assets/js/theme.min.js +1 -1
- data/assets/search.liquid +5 -14
- data/assets/sw.caches.liquid +1 -1
- metadata +33 -11
- data/_includes/safe/shortcodes.liquid +0 -9
- data/assets/js/search.js +0 -90
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 71e0be728a36e78ef8a38db4242292a0981347013258726fb82074c3d38fdc0d
|
4
|
+
data.tar.gz: e41c8381aa8cf0af5780449b0567f222d3a8959a00c5a73aa51daf028f99e1c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed35e6eff3b3b0ab73924527a16f52adea7f7ba95845f51e43def520b8136d3bc9c88594921a7b0b93875c75a0aa9c1b69efb3bba18e431ca344aac1c5574726
|
7
|
+
data.tar.gz: 40b26d3027d9f8f379a284cc3025c51c4740346921439aec81d4d87df114b633db7644badf7cc7ef2f90bb307aa52beb326495175ef797a0804da6ad78b0ce07
|
data/LICENSE
CHANGED
data/README.md
CHANGED
@@ -1,9 +1,23 @@
|
|
1
1
|
# jekyll-rtd-theme
|
2
2
|
|
3
|
-
|
4
|
-
|
3
|
+
![CI](https://github.com/rundocs/jekyll-rtd-theme/workflows/CI/badge.svg?branch=v2)
|
4
|
+
![jsDelivr](https://data.jsdelivr.com/v1/package/gh/rundocs/jekyll-rtd-theme/badge)
|
5
5
|
|
6
|
-
Opinionated github flavored
|
6
|
+
Opinionated github flavored standard document theme for open source projects, with few options, but everything!
|
7
|
+
|
8
|
+
## What it does?
|
9
|
+
|
10
|
+
This theme is inspired by [sphinx-rtd-theme](https://github.com/readthedocs/sphinx_rtd_theme) and refactored with:
|
11
|
+
|
12
|
+
- [github-pages](https://github.com/github/pages-gem)
|
13
|
+
- [@primer/css](https://github.com/primer/css)
|
14
|
+
|
15
|
+
Give you a native GitHub experience and solved the issue of open source project documentation site
|
16
|
+
|
17
|
+
- No need to learn other programming languages for building documentation
|
18
|
+
- No need to care about the site SEO
|
19
|
+
- Markdown syntax extended
|
20
|
+
- Native support for mermaid chart plugin
|
7
21
|
|
8
22
|
## Quick start
|
9
23
|
|
@@ -13,31 +27,63 @@ remote_theme: rundocs/jekyll-rtd-theme
|
|
13
27
|
|
14
28
|
You can [generate](https://github.com/rundocs/starter-slim/generate) with the same files and folders from [rundocs/starter-slim](https://github.com/rundocs/starter-slim/)
|
15
29
|
|
16
|
-
##
|
30
|
+
## Options
|
31
|
+
|
32
|
+
```yml
|
33
|
+
title: Your awesome title
|
34
|
+
lang: # default: en
|
35
|
+
description: Write an awesome description for your new site here
|
36
|
+
|
37
|
+
readme_index:
|
38
|
+
with_frontmatter: true
|
39
|
+
|
40
|
+
## optional settings ##
|
41
|
+
meta:
|
42
|
+
key1: value1
|
43
|
+
key2: value2
|
17
44
|
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
- Document search (RegExp supported)
|
22
|
-
- Support third-party comments
|
23
|
-
- Google, Baidu, CNZZ Analytics supported
|
24
|
-
- Just need one file `_config.yml` to configure site
|
45
|
+
google:
|
46
|
+
gtag:
|
47
|
+
adsense:
|
25
48
|
|
26
|
-
|
49
|
+
mermaid:
|
50
|
+
custom: # mermaid link
|
51
|
+
initialize: # mermaid options, default: {}
|
27
52
|
|
28
|
-
|
53
|
+
# also available via file: _include/assets/custom.scss
|
54
|
+
scss:
|
29
55
|
|
30
|
-
|
56
|
+
# also available via file: _include/assets/custom.js
|
57
|
+
script:
|
31
58
|
|
32
|
-
|
33
|
-
|
59
|
+
# also available via file: _data/translate.yml
|
60
|
+
translate:
|
61
|
+
# shortcodes
|
62
|
+
danger:
|
63
|
+
note:
|
64
|
+
tip:
|
65
|
+
warning:
|
66
|
+
# 404
|
67
|
+
not_found:
|
68
|
+
# search
|
69
|
+
searching:
|
70
|
+
search:
|
71
|
+
search_docs:
|
72
|
+
search_results:
|
73
|
+
search_results_found: # the "#" in this translate will replaced with results size!
|
74
|
+
search_results_not_found:
|
75
|
+
|
76
|
+
## optional plugins ##
|
77
|
+
plugins:
|
78
|
+
- jemoji
|
79
|
+
- jekyll-avatar
|
80
|
+
- jekyll-mentions
|
81
|
+
```
|
82
|
+
|
83
|
+
## Writing
|
84
|
+
|
85
|
+
Document writing specifications, please refer to [rundocs.io](https://rundocs.io) for details
|
34
86
|
|
35
87
|
## The license
|
36
88
|
|
37
89
|
The theme is available as open source under the terms of the MIT License
|
38
|
-
|
39
|
-
[repository]: https://github.com/rundocs/jekyll-rtd-theme
|
40
|
-
[rubygem]: https://rubygems.org/gems/jekyll-rtd-theme
|
41
|
-
[cdn]: https://cdn.jsdelivr.net/gh/rundocs/jekyll-rtd-theme/
|
42
|
-
[codefactor]: https://www.codefactor.io/repository/github/rundocs/jekyll-rtd-theme
|
43
|
-
[gitter]: https://gitter.im/rundocs/jekyll-rtd-theme?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge
|
@@ -1,10 +1,10 @@
|
|
1
1
|
<dl>
|
2
|
-
<dt>{{
|
2
|
+
<dt>{{ __.statistics | default: "Statistics" }}</dt>
|
3
3
|
<dd>
|
4
|
-
<a href="https://github.com/rundocs/analytics" target="_blank">
|
5
|
-
{{
|
4
|
+
<a href="https://github.com/rundocs/analytics" rel="noreferrer" target="_blank">
|
5
|
+
{{ __.total_visits | default: "Total visits" }}:
|
6
6
|
<span id="counter">
|
7
|
-
<span class="
|
7
|
+
<span class="AnimatedEllipsis"></span>
|
8
8
|
</span>
|
9
9
|
</a>
|
10
10
|
</dd>
|
@@ -1,18 +1,21 @@
|
|
1
1
|
<dl>
|
2
|
-
<dt>{{
|
2
|
+
<dt>{{ __.github | default: "GitHub" }}</dt>
|
3
3
|
<dd>
|
4
|
-
<a href="{{
|
5
|
-
<i class="fa fa-github"></i>
|
4
|
+
<a href="{{ docs.repository_url }}" title="{{ __.stars | default: 'Stars' }}: {{ rest.stargazers_count }}">
|
5
|
+
<i class="fa fa-github"></i>
|
6
|
+
{{ __.homepage | default: "Homepage" }}
|
6
7
|
</a>
|
7
8
|
</dd>
|
8
9
|
<dd>
|
9
|
-
<a href="{{
|
10
|
-
<i class="fa fa-question-circle-o"></i>
|
10
|
+
<a href="{{ docs.issues_url }}" title="{{ __.open_issues | default: 'Open issues' }}: {{ rest.open_issues }}">
|
11
|
+
<i class="fa fa-question-circle-o"></i>
|
12
|
+
{{ __.issues | default: "Issues" }}
|
11
13
|
</a>
|
12
14
|
</dd>
|
13
15
|
<dd>
|
14
|
-
<a href="{{
|
15
|
-
<i class="fa fa-download"></i>
|
16
|
+
<a href="{{ docs.zip_url }}" title="{{ __.size | default: 'Size' }}: {{ rest.size }} Kb">
|
17
|
+
<i class="fa fa-download"></i>
|
18
|
+
{{ __.download | default: "Download" }}
|
16
19
|
</a>
|
17
20
|
</dd>
|
18
21
|
</dl>
|
File without changes
|
File without changes
|
@@ -1,11 +1,11 @@
|
|
1
1
|
self.addEventListener("activate", function (event) {
|
2
|
-
|
2
|
+
const current = ["rundocs-{{ version }}"];
|
3
3
|
|
4
4
|
event.waitUntil(
|
5
5
|
caches.keys().then(function (keyList) {
|
6
6
|
return Promise.all(
|
7
7
|
keyList.map(function (key) {
|
8
|
-
if (
|
8
|
+
if (current.indexOf(key) === -1) {
|
9
9
|
return caches.delete(key);
|
10
10
|
}
|
11
11
|
})
|
@@ -15,11 +15,7 @@ self.addEventListener("activate", function (event) {
|
|
15
15
|
});
|
16
16
|
|
17
17
|
self.addEventListener("fetch", function (e) {
|
18
|
-
if (
|
19
|
-
/^https:\/\/cdn\.jsdelivr\.net\/gh\/rundocs\/jekyll-rtd-theme@.+/.exec(
|
20
|
-
e.request.url
|
21
|
-
)
|
22
|
-
) {
|
18
|
+
if (e.request.url.match("rundocs/jekyll-rtd-theme@{{ version }}")) {
|
23
19
|
e.respondWith(
|
24
20
|
caches.match(e.request).then(function (resp) {
|
25
21
|
if (resp !== undefined) {
|
@@ -1,17 +1,23 @@
|
|
1
1
|
<div class="navigation-top d-flex flex-justify-between">
|
2
2
|
<ul class="breadcrumb" role="navigation" aria-label="breadcrumbs navigation">
|
3
3
|
<li class="breadcrumb-item">
|
4
|
-
<a
|
4
|
+
<a class="no-underline" href="{{ site.baseurl }}/">
|
5
|
+
<i class="fa fa-home"></i>
|
6
|
+
</a>
|
5
7
|
</li>
|
6
8
|
{%- case page.url -%}
|
7
9
|
{%- when "/search.html" -%}
|
8
|
-
<li class="breadcrumb-item" aria-current="page">
|
10
|
+
<li class="breadcrumb-item" aria-current="page">
|
11
|
+
{{ __.search | default: "Search" }}
|
12
|
+
</li>
|
9
13
|
{%- when "/404.html" -%}
|
10
|
-
<li class="breadcrumb-item" aria-current="page">
|
14
|
+
<li class="breadcrumb-item" aria-current="page">
|
15
|
+
404
|
16
|
+
</li>
|
11
17
|
{%- else -%}
|
12
18
|
{%- assign blocks = page.path | split: "/" -%}
|
13
19
|
{%- for block in blocks -%}
|
14
|
-
<li class="breadcrumb-item" {% if forloop.last %}aria-current{% endif %}>
|
20
|
+
<li class="breadcrumb-item" {% if forloop.last %}aria-current="page"{% endif %}>
|
15
21
|
{%- if forloop.last -%}
|
16
22
|
{{ page.name }}
|
17
23
|
{%- else -%}
|
@@ -21,7 +27,7 @@
|
|
21
27
|
{%- endfor -%}
|
22
28
|
{%- endcase -%}
|
23
29
|
</ul>
|
24
|
-
<a class="edit" href="{% github_edit_link %}" title="{{
|
30
|
+
<a class="edit" href="{% github_edit_link %}" title="{{ __.edit | default: 'Edit on GitHub'}}" rel="noreferrer" target="_blank">
|
25
31
|
<i class="fa fa-edit"></i>
|
26
32
|
</a>
|
27
33
|
</div>
|
@@ -5,14 +5,14 @@
|
|
5
5
|
<div class="prev">
|
6
6
|
{%- if prev -%}
|
7
7
|
<a href="{{ prev.url | relative_url }}" class="btn" title="{{ prev.title }}" accesskey="p" rel="prev">
|
8
|
-
<i class="fa fa-arrow-circle-left"></i> {{
|
8
|
+
<i class="fa fa-arrow-circle-left"></i> {{ __.previous | default: "Previous" }}
|
9
9
|
</a>
|
10
10
|
{%- endif -%}
|
11
11
|
</div>
|
12
12
|
<div class="next">
|
13
13
|
{%- if next -%}
|
14
14
|
<a href="{{ next.url | relative_url }}" class="btn" title="{{ next.title }}" accesskey="n" rel="next">
|
15
|
-
{{
|
15
|
+
{{ __.next | default: "Next" }} <i class="fa fa-arrow-circle-right"></i>
|
16
16
|
</a>
|
17
17
|
{%- endif -%}
|
18
18
|
</div>
|
@@ -24,13 +24,18 @@
|
|
24
24
|
|
25
25
|
<div class="copyright text-center text-gray" role="contentinfo">
|
26
26
|
<i class="fa fa-copyright"></i>
|
27
|
-
{%-
|
28
|
-
{
|
29
|
-
|
30
|
-
{{
|
27
|
+
{%- assign created_time = rest_created_at | date: "%Y" -%}
|
28
|
+
{%- assign updated_time = rest_updated_at | date: "%Y" -%}
|
29
|
+
{%- if created_time == updated_time -%}
|
30
|
+
{{ created_time }},
|
31
|
+
{%- else -%}
|
32
|
+
{{ created_time }}-{{ updated_time }},
|
33
|
+
{%- endif %}
|
34
|
+
<a class="text-gray" href="{{ docs.owner_url }}" target="_blank">
|
35
|
+
{{ author }}
|
31
36
|
</a>
|
32
|
-
{{
|
33
|
-
<a class="text-gray" href="{{
|
34
|
-
{{
|
37
|
+
{{ __.revision | default: "Revision" }}
|
38
|
+
<a class="text-gray" href="{{ docs.repository_url }}/commit/{{ docs.build_revision }}" title="{{ docs.build_revision }}" target="_blank">
|
39
|
+
{{ docs.build_revision | slice: 0, 7 }}
|
35
40
|
</a>
|
36
41
|
</div>
|
@@ -8,11 +8,11 @@
|
|
8
8
|
{%- if page.url == item.url %}current{% endif -%}
|
9
9
|
{%- endcapture %}
|
10
10
|
<li class="toc level-{{ level }} {{ current }}" data-sort="{{ item.sort }}" data-level="{{ level }}">
|
11
|
-
<a class="d-flex {{ current }}" href="{{ item.url | relative_url }}">
|
12
|
-
{%- if item.sort
|
13
|
-
{{ item.sort }}. {{ item.title | default: item.
|
11
|
+
<a class="d-flex flex-items-baseline {{ current }}" href="{{ item.url | relative_url }}">
|
12
|
+
{%- if item.sort -%}
|
13
|
+
{{ item.sort }}. {{ item.title | default: item.name }}
|
14
14
|
{%- else -%}
|
15
|
-
{{ item.title | default: item.
|
15
|
+
{{ item.title | default: item.name }}
|
16
16
|
{%- endif -%}
|
17
17
|
</a>
|
18
18
|
</li>
|
@@ -0,0 +1,26 @@
|
|
1
|
+
<div class="addons-wrap d-flex flex-column overflow-y-auto">
|
2
|
+
<div class="status d-flex flex-justify-between p-2">
|
3
|
+
<div class="title p-1">
|
4
|
+
<i class="fa fa-book"></i> {{ site.title }}
|
5
|
+
</div>
|
6
|
+
<div class="branch p-1">
|
7
|
+
<span class="name">
|
8
|
+
{{ docs.source.branch }}
|
9
|
+
</span>
|
10
|
+
<i class="fa fa-caret-down"></i>
|
11
|
+
</div>
|
12
|
+
</div>
|
13
|
+
<div class="addons d-flex flex-column height-full p-2 d-none">
|
14
|
+
{%- assign items = "github, analytics" | split: ", " -%}
|
15
|
+
{% for item in items -%}
|
16
|
+
{% include addons/{{ item }}.liquid %}
|
17
|
+
{% endfor -%}
|
18
|
+
<hr>
|
19
|
+
<div class="generator f6 pb-2">
|
20
|
+
Built with
|
21
|
+
<a href="https://github.com/rundocs/jekyll-rtd-theme" target="_blank" title="{% if site.remote_theme %}remote{% endif %} theme v{{ version }}">jekyll-rtd-theme</a>
|
22
|
+
provided by
|
23
|
+
<a href="https://rundocs.io" target="_blank">RunDocs</a>
|
24
|
+
</div>
|
25
|
+
</div>
|
26
|
+
</div>
|
@@ -0,0 +1,20 @@
|
|
1
|
+
<div class="content-wrap">
|
2
|
+
<div class="header d-flex flex-justify-between p-2 hide-lg hide-xl" aria-label="top navigation">
|
3
|
+
<button id="toggle" class="btn-octicon p-2 m-0 text-white" type="button">
|
4
|
+
<i class="fa fa-bars"></i>
|
5
|
+
</button>
|
6
|
+
<div class="title flex-1 d-flex flex-justify-center">
|
7
|
+
<a class="h4 no-underline py-1 px-2 rounded-1" href="{{ site.baseurl }}/">{{ site.title }}</a>
|
8
|
+
</div>
|
9
|
+
</div>
|
10
|
+
<div class="content p-3 p-sm-5">
|
11
|
+
{% include class/_breadcrumbs.liquid %}
|
12
|
+
<hr>
|
13
|
+
<div role="main" itemscope="itemscope" itemtype="http://schema.org/Article">
|
14
|
+
<div class="markdown-body" itemprop="articleBody">
|
15
|
+
{{ content }}
|
16
|
+
</div>
|
17
|
+
</div>
|
18
|
+
{% include class/_footer.liquid %}
|
19
|
+
</div>
|
20
|
+
</div>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<div class="sidebar-wrap overflow-hidden">
|
2
|
+
<div class="sidebar height-full overflow-y-scroll overflow-x-hidden">
|
3
|
+
<div class="header d-flex flex-column p-3 text-center">
|
4
|
+
<div class="title pb-1">
|
5
|
+
<a class="h4 no-underline py-1 px-2 rounded-1" href="{{ site.baseurl }}/" title="{{ site.description }}">
|
6
|
+
<i class="fa fa-home"></i> {{ site.title }}
|
7
|
+
</a>
|
8
|
+
</div>
|
9
|
+
<span class="version">{{ docs.latest_release.name }}</span>
|
10
|
+
<form class="search pt-2" action="{{ site.baseurl }}/search.html" method="get" autocomplete="off">
|
11
|
+
<input class="form-control input-block input-sm" type="text" name="q" placeholder="{{ __.search_docs | default: 'Search docs...' }}">
|
12
|
+
</form>
|
13
|
+
</div>
|
14
|
+
<div class="toctree py-2" data-spy="affix" role="navigation" aria-label="main navigation">
|
15
|
+
{% include class/_toctree.liquid %}
|
16
|
+
</div>
|
17
|
+
</div>
|
18
|
+
</div>
|
@@ -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
|
9
|
+
{% include reset/tabs.liquid size=size %}- [{{ dir.title | default: dir.url }}]({{ dir.url | relative_url }})
|
10
10
|
|
11
11
|
{%- for item in workdir_files %}
|
12
|
-
{% include
|
12
|
+
{% include reset/tabs.liquid size=size_p1 %}- [{{ item.title | default: item.name }}]({{ item.url | relative_url }})
|
13
13
|
{%- endfor -%}
|
14
14
|
|
15
15
|
{%- for workdir in workdir_dirs %}{% include extend/list.liquid %}{% endfor -%}
|
@@ -5,9 +5,13 @@
|
|
5
5
|
|
6
6
|
{%- if workdir_level == 2 %}
|
7
7
|
{% comment %} display the root sub-directory as "p.caption" {% endcomment %}
|
8
|
-
<
|
8
|
+
<a class="caption d-block text-uppercase no-wrap px-2 py-0" href="{{ dir.url | relative_url }}">
|
9
|
+
{{ dir.title | default: dir.url }}
|
10
|
+
</a>
|
9
11
|
{%- else %}
|
10
|
-
<a class="d-flex" href="{{ dir.url | relative_url }}">
|
12
|
+
<a class="d-flex flex-items-baseline" href="{{ dir.url | relative_url }}">
|
13
|
+
{{ dir.title | default: dir.url }}
|
14
|
+
</a>
|
11
15
|
{%- endif -%}
|
12
16
|
|
13
17
|
<ul>
|
@@ -19,11 +23,11 @@
|
|
19
23
|
{%- endcapture %}
|
20
24
|
|
21
25
|
<li class="toc level-{{ level }} {{ current }}" data-sort="{{ item.sort }}" data-level="{{ level }}">
|
22
|
-
<a class="d-flex {{ current }}" href="{{ item.url | relative_url }}">
|
23
|
-
{%- if item.sort
|
24
|
-
{{ item.sort }}. {{ item.title | default: item.
|
26
|
+
<a class="d-flex flex-items-baseline {{ current }}" href="{{ item.url | relative_url }}">
|
27
|
+
{%- if item.sort -%}
|
28
|
+
{{ item.sort }}. {{ item.title | default: item.name }}
|
25
29
|
{%- else -%}
|
26
|
-
{{ item.title | default: item.
|
30
|
+
{{ item.title | default: item.name }}
|
27
31
|
{%- endif -%}
|
28
32
|
</a>
|
29
33
|
</li>
|
File without changes
|
File without changes
|
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.
|
5
|
+
- [{{ item.title | default: item.name }}]({{ item.url | relative_url }})
|
6
6
|
{%- endfor -%}
|
7
7
|
|
8
8
|
{%- if include.all -%}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
{%- comment %} dns-prefetch {% endcomment %}
|
2
|
+
<link rel="dns-prefetch" href="https://rundocs-analytics.glitch.me">
|
3
|
+
<link rel="dns-prefetch" href="https://cdn.jsdelivr.net">
|
4
|
+
|
5
|
+
{%- comment %} canonical link {% endcomment %}
|
6
|
+
<link rel="canonical" href="{{ schema_surl }}">
|
7
|
+
|
8
|
+
{%- if prev -%}
|
9
|
+
<link rel="prev" href="{{ prev.url | absolute_url }}">
|
10
|
+
{%- endif -%}
|
11
|
+
|
12
|
+
{%- if next -%}
|
13
|
+
<link rel="next" href="{{ next.url | absolute_url }}">
|
14
|
+
{%- endif -%}
|
15
|
+
|
16
|
+
{% comment %} theme {% endcomment %}
|
17
|
+
<link rel="stylesheet" href="{{ cdn }}/assets/css/theme{% if site.debug.dist != false %}.min{% endif %}.css">
|
18
|
+
|
19
|
+
{%- if custom_scss.size > 0 -%}
|
20
|
+
<style>{{ custom_scss | scssify | strip_newlines }}</style>
|
21
|
+
{%- endif -%}
|
22
|
+
|
23
|
+
{% comment %} icon {% endcomment %}
|
24
|
+
<link rel="icon" type="image/svg+xml" href="{{ site.baseurl }}/favicon.svg">
|