jekyll-rtd-theme 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/addons/source/github.liquid +3 -9
- data/_includes/breadcrumbs.liquid +1 -5
- data/_includes/footer.liquid +1 -1
- data/_includes/reset/variables.liquid +16 -2
- data/_layouts/default.liquid +1 -1
- data/assets/favicon.svg +5 -0
- metadata +3 -4
- data/assets/css/style.scss +0 -2
- data/assets/favicon.png +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d728e9dd369e1b9eb77dafc805c93c0be0df3f261ff0e2da35e392ba392e0c22
|
4
|
+
data.tar.gz: 488693e13df30b47b639bef32bf20c72407a0524c2ad5c285b983b0de20fc908
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f947fe21c94458a4ffaa47159f90e606e14596b95edb3063f98fa0a00f51416d03b372f53b1a4dba1e8708129913d8792c8b3429477a263105a418cd49768cfa
|
7
|
+
data.tar.gz: f094f2fff9cb6d9adc0184997d7bd07273e623dbf2a0ca80848faf7b9f13a997cc8f78a2e04ee8c095ac12bfa00723c01bdfc34033b9ca4b60fc2d33755cc358
|
@@ -1,12 +1,6 @@
|
|
1
1
|
<dl>
|
2
2
|
<dt>{{ __github }}</dt>
|
3
|
-
{
|
4
|
-
|
5
|
-
|
6
|
-
<dd><a href="{{ site.github.issues_url }}"><i class="fa fa-question-circle-o"></i> {{ __issues }}</a></dd>
|
7
|
-
{%- else -%}
|
8
|
-
<dd><a href="#"><i class="fa fa-github"></i> {{ __homepage }}</a></dd>
|
9
|
-
<dd><a href="#"><i class="fa fa-download"></i> {{ __download }}</a></dd>
|
10
|
-
<dd><a href="#"><i class="fa fa-question-circle-o"></i> {{ __issues }}</a></dd>
|
11
|
-
{%- endif -%}
|
3
|
+
<dd><a href="{{ repository_url }}"><i class="fa fa-github"></i> {{ __homepage }}</a></dd>
|
4
|
+
<dd><a href="{{ zip_url }}"><i class="fa fa-download"></i> {{ __download }}</a></dd>
|
5
|
+
<dd><a href="{{ issues_url }}"><i class="fa fa-question-circle-o"></i> {{ __issues }}</a></dd>
|
12
6
|
</dl>
|
@@ -22,11 +22,7 @@
|
|
22
22
|
{% endfor %}
|
23
23
|
{% endcase %}
|
24
24
|
<li class="wy-breadcrumbs-aside">
|
25
|
-
{
|
26
|
-
<a href="{% github_edit_link %}" class="fa fa-github" target="_blank"> {{ __edit }}</a>
|
27
|
-
{%- else -%}
|
28
|
-
<a href="#" class="fa fa-github" target="_blank"> {{ __edit }}</a>
|
29
|
-
{%- endif -%}
|
25
|
+
<a href="{{ github_edit_link }}" class="fa fa-github" target="_blank"> {{ __edit }}</a>
|
30
26
|
</li>
|
31
27
|
</ul>
|
32
28
|
<hr>
|
data/_includes/footer.liquid
CHANGED
@@ -1,8 +1,22 @@
|
|
1
1
|
{%- assign description = content | strip_html | split: " " | join: " " | escape | truncate: 150 -%}
|
2
|
-
{%- assign author = site.github.owner_name -%}
|
3
|
-
{%- assign commit = site.github.build_revision | slice: 0, 7 -%}
|
4
2
|
{%- assign schema_url = page.url | absolute_url | xml_escape -%}
|
5
3
|
{%- assign schema_lastmod = site.time | date_to_xmlschema -%}
|
6
4
|
{%- assign npm = "https://cdn.jsdelivr.net/npm" -%}
|
7
5
|
{%- assign cdn = "https://cdn.jsdelivr.net/gh/rundocs/static" -%}
|
8
6
|
{%- assign rouge_style = site.rouge_style | default: "github" -%}
|
7
|
+
|
8
|
+
{%- unless jekyll.environment == "production" -%}
|
9
|
+
{%- assign author = site.author | default: "[author]" -%}
|
10
|
+
{%- assign commit = "[commit]" -%}
|
11
|
+
{%- assign repository_url = "[repository_url]" -%}
|
12
|
+
{%- assign zip_url = "[zip_url]" -%}
|
13
|
+
{%- assign issues_url = "[issues_url]" -%}
|
14
|
+
{%- assign github_edit_link = "[github_edit_link]" -%}
|
15
|
+
{%- else -%}
|
16
|
+
{%- assign author = site.author | default: site.github.owner_name -%}
|
17
|
+
{%- assign commit = site.github.build_revision | slice: 0, 7 -%}
|
18
|
+
{%- assign repository_url = site.github.repository_url -%}
|
19
|
+
{%- assign zip_url = site.github.zip_url -%}
|
20
|
+
{%- assign issues_url = site.github.issues_url -%}
|
21
|
+
{%- capture github_edit_link %}{% github_edit_link %}{% endcapture -%}
|
22
|
+
{%- endunless -%}
|
data/_layouts/default.liquid
CHANGED
@@ -40,7 +40,7 @@ layout: plugins/compress
|
|
40
40
|
<style>{{ site_fluid | scssify }}</style>
|
41
41
|
{%- endif %}
|
42
42
|
<!-- icon -->
|
43
|
-
<link rel="icon" href="{{ site.baseurl }}/assets/favicon.
|
43
|
+
<link rel="icon" type="image/svg+xml" href="{{ site.baseurl }}/assets/favicon.svg">
|
44
44
|
<!-- script -->
|
45
45
|
<script src="{{ npm }}/jquery/dist/jquery.min.js"></script>
|
46
46
|
<script src="{{ cdn }}/js/theme.js"></script>
|
data/assets/favicon.svg
ADDED
@@ -0,0 +1,5 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#2980b9" width="36px" height="36px">
|
2
|
+
<path d="M0 0h24v24H0z" fill="none"/>
|
3
|
+
<path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-5 14H7v-2h7v2zm3-4H7v-2h10v2zm0-4H7V7h10v2z"/>
|
4
|
+
</svg>
|
5
|
+
<!-- material-design-icons article -->
|
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: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- saowang
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-07-
|
11
|
+
date: 2020-07-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: github-pages
|
@@ -68,9 +68,8 @@ files:
|
|
68
68
|
- _sass/fluid.scss
|
69
69
|
- _sass/style.scss
|
70
70
|
- assets/404.md
|
71
|
-
- assets/css/style.scss
|
72
71
|
- assets/data.json
|
73
|
-
- assets/favicon.
|
72
|
+
- assets/favicon.svg
|
74
73
|
- assets/robots.txt
|
75
74
|
- assets/search.md
|
76
75
|
- assets/sitemap.xml
|
data/assets/css/style.scss
DELETED
data/assets/favicon.png
DELETED
Binary file
|