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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a12e67932cfe2e811f10cbe9a3e7bf276f47b06cbd21f37e6975689b9ed2bf65
4
- data.tar.gz: 40448cc7793251a98c3d0e22f7d5a7d9534be8ebf7df216ef246f8529a433cf3
3
+ metadata.gz: d728e9dd369e1b9eb77dafc805c93c0be0df3f261ff0e2da35e392ba392e0c22
4
+ data.tar.gz: 488693e13df30b47b639bef32bf20c72407a0524c2ad5c285b983b0de20fc908
5
5
  SHA512:
6
- metadata.gz: 8fde10bac64b04ce72638df78452ee1b5fdb35fe9abd8041899f12a6a417471712af7ec79462eb8406b6fbbe4101a6101e1e1ca2ecad3ce962fab8e6ac76a205
7
- data.tar.gz: ffd8272abdb7b7079803171cfffe4814e54b553ad620ba3e441565c392c75c1556773c35404f5009ba0f0f769179a68fd262a07aea78f7c8f2d26a5787bad027
6
+ metadata.gz: f947fe21c94458a4ffaa47159f90e606e14596b95edb3063f98fa0a00f51416d03b372f53b1a4dba1e8708129913d8792c8b3429477a263105a418cd49768cfa
7
+ data.tar.gz: f094f2fff9cb6d9adc0184997d7bd07273e623dbf2a0ca80848faf7b9f13a997cc8f78a2e04ee8c095ac12bfa00723c01bdfc34033b9ca4b60fc2d33755cc358
@@ -1,12 +1,6 @@
1
1
  <dl>
2
2
  <dt>{{ __github }}</dt>
3
- {%- if jekyll.environment == "production" -%}
4
- <dd><a href="{{ site.github.repository_url }}"><i class="fa fa-github"></i> {{ __homepage }}</a></dd>
5
- <dd><a href="{{ site.github.zip_url }}"><i class="fa fa-download"></i> {{ __download }}</a></dd>
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
- {%- if jekyll.environment == "production" -%}
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>
@@ -18,7 +18,7 @@
18
18
  <p>
19
19
  <i class="fa fa-copyright"></i> {{ __copyright }}
20
20
  {{ site.time | date: "%Y" }},
21
- {{ site.copyright | default: site.github.owner_name }}
21
+ {{ author }}
22
22
  <span class="commit">
23
23
  {{ __revision }} <code>{{ commit }}</code>
24
24
  </span>
@@ -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 -%}
@@ -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.png">
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>
@@ -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.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-22 00:00:00.000000000 Z
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.png
72
+ - assets/favicon.svg
74
73
  - assets/robots.txt
75
74
  - assets/search.md
76
75
  - assets/sitemap.xml
@@ -1,2 +0,0 @@
1
- ---
2
- ---
Binary file