elixir-toolkit-theme 1.5.0 → 1.5.3

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: c9113509af0feda31ad43b4cf16f4ffa1839c0a5bcd025edf63f67c3b4569734
4
- data.tar.gz: d7297aab677033a90bae39b58ade2f133e07608c8eac5b319c807841f92ceb01
3
+ metadata.gz: 00da0a5b7d0bc3ddd51214265e2f9da0537c1b08410b0981ab371a796c5e90f7
4
+ data.tar.gz: 7ddf435b57d0680929dd4007e6c1ba67bb33ba0fb9cd8829fb0d93547775eef0
5
5
  SHA512:
6
- metadata.gz: 61744a08b1d9b2ad0197377c9ed0fc74ab5496e6719142c2f9583a9c316e67e0ae57518072cf613331bcf308945707c77ff2e3c2655f7b5f0cfb88bb99ccc54d
7
- data.tar.gz: 19c9fd5eb4d5fce67948ca536d63391201b0fcf0382b6063ec3ea46aac749a8ae2b3a790bef5b2212c6ce379cb4ac38500bc541aa540e7661bb38454568c9993
6
+ metadata.gz: b7c081a6dff79c4c2b79b90380f6f8703314320d567a528457f234a51accae26184e6354f3d8e6ae19d3f8f06a6e927150d30ca2cf49106eda01b0b30a715a08
7
+ data.tar.gz: 72a5c00a0b0b705b7c65a0e37547dcd51c7f8cd757604d14f4e4503d61f75892fda720b5ef9f2f299ff06381c12c0b73e6b473a37c0ec852e819d5a9abd7a91f
data/README.md CHANGED
@@ -1,3 +1,5 @@
1
+ [![Gem Version](https://badge.fury.io/rb/elixir-toolkit-theme.svg)](https://badge.fury.io/rb/elixir-toolkit-theme)
2
+
1
3
  # ELIXIR toolkit theme
2
4
 
3
5
  This repository is used to build a flexible Jekyll theme using bootstrap 5 as CSS framework.
@@ -18,7 +18,7 @@
18
18
  {%- assign nav_title = item.title | downcase | replace: "-", "_" | replace: " ", "_" %}
19
19
  {%- if item.external_url %}
20
20
  <a class="nav-link ps-2" href="{{item.external_url}}" target="_blank" rel="noopener">{{item.title}}</a>
21
- {%- elsif page.url contains item.url or page_sidebar == nav_title %}
21
+ {%- elsif page.url == item.url or page_sidebar == nav_title %}
22
22
  <a class="nav-link ps-2 active" aria-current="page" href="{{item.url | relative_url }}">{{item.title}}</a>
23
23
  {%- elsif item.subitems %}
24
24
  <a class="nav-link ps-2 dropdown-toggle" href="#" id="Dropdown{{item.title | jsonify }}" role="button" data-bs-toggle="dropdown" aria-expanded="false">{{item.title}}</a>
@@ -46,7 +46,7 @@
46
46
  <li class="nav-item ms-0 ms-lg-3 mt-2 mt-lg-0 nav-break"></li>
47
47
  {%- endif %}
48
48
  <li class="nav-item ms-0 ms-lg-3 mt-2 mt-lg-0">
49
- <a class="nav-link ps-2 d-flex align-items-center" href="{{site.github.repository_url}}"><i class="fab fa-github me-2"></i>GitHub</a>
49
+ <a class="nav-link ps-2 d-flex align-items-center" href="{{site.github.repository_url}}"><i class="fab fa-github me-2"></i>{{site.theme_variables.git_host | default: 'GitHub' }}</a>
50
50
  </li>
51
51
  <!--start search-->
52
52
  <li class="nav-item ms-0 ms-lg-3 my-2 my-lg-0">
data/_layouts/page.html CHANGED
@@ -11,9 +11,9 @@ layout: default
11
11
  {%- endif %}
12
12
  <div class="btn-group">
13
13
  {%- if page.custom-editme %}
14
- <a role="button" data-bs-toggle="tooltip" title="Propose changes to the content of this page on GitHub" href="{{site.github.repository_url}}/blob/{{site.github.source.branch}}/{{page.custom-editme}}" class="btn btn-sm hover-primary text-primary"><i class="fas fa-pencil-alt"></i></a>
14
+ <a role="button" data-bs-toggle="tooltip" title="Propose changes to the content of this page on {{site.theme_variables.git_host | default: 'GitHub' }}" href="{{site.github.repository_url}}/blob/{{site.github.source.branch}}/{{page.custom-editme}}" class="btn btn-sm hover-primary text-primary"><i class="fas fa-pencil-alt"></i></a>
15
15
  {%- else %}
16
- <a role="button" data-bs-toggle="tooltip" title="Propose changes to this page on GitHub" href="{{site.github.repository_url}}/blob/{{site.github.source.branch}}/{{page.path}}" class="btn btn-sm hover-primary text-primary"><i class="fas fa-pencil-alt"></i></a>
16
+ <a role="button" data-bs-toggle="tooltip" title="Propose changes to this page on {{site.theme_variables.git_host | default: 'GitHub' }}" href="{{site.github.repository_url}}/blob/{{site.github.source.branch}}/{{page.path}}" class="btn btn-sm hover-primary text-primary"><i class="fas fa-pencil-alt"></i></a>
17
17
  {%- endif %}
18
18
  <a role="button" data-bs-toggle="tooltip" title="Check out the history of this page" href="{{site.github.repository_url}}/commits/{{site.github.source.branch}}/{{page.path}}" class="btn btn-sm hover-primary text-primary"><i class="fas fa-history"></i></a>
19
19
  </div>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elixir-toolkit-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - bedroesb
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-01 00:00:00.000000000 Z
11
+ date: 2022-03-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -28,16 +28,16 @@ dependencies:
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '1.16'
33
+ version: 2.2.16
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: '1.16'
40
+ version: 2.2.16
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -507,7 +507,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
507
507
  - !ruby/object:Gem::Version
508
508
  version: '0'
509
509
  requirements: []
510
- rubygems_version: 3.1.2
510
+ rubygems_version: 3.1.6
511
511
  signing_key:
512
512
  specification_version: 4
513
513
  summary: Flexible Jekyll theme using bootstrap 5 as CSS framework.