elixir-toolkit-theme 2.0.0 → 2.1.0

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: d91cddf69b140287160ff9a1f638bce7e8b416abba6d619c7e8f4f0e1bc0d973
4
- data.tar.gz: ec0aafd09178d0268b5f46d3c7bc3263b6a13d8cd26de8468c35029d5c12b8bb
3
+ metadata.gz: 50a883750f43ede5fd36322883070d37f2412df14e49a8f33f583a22db9754e5
4
+ data.tar.gz: 3f1b7a3e937a1e8ca8d9cd0a5574091123f79683cb62754331a962f257465383
5
5
  SHA512:
6
- metadata.gz: 0cc43b9750b9c2f3e0b4f5bc3d1e2fb04956e0841e8ea934725d4ee7aa1d77e3066e9c168a1567aaf3cba48a5a8a43e58e237a6b142913287dfac9062c1ad6ba
7
- data.tar.gz: 687fd76b471bc58b39994daae3a63c23cd0efd52d49054a9f320d39a6933463b0384725b3c6203c3e5ac4c5fa85681433b6dc47c00266bd833ab590eadc19d9a
6
+ metadata.gz: 137897f2f78de213f470e7cc70b7b48919445bb7272566e73dfe43e0dc30b1dd7e43ede5b3d7d836a89dfb4cd955611bec4836a563ad6fba350cca16436a4f5f
7
+ data.tar.gz: 667a09391c125561515a0dc32cd0ce558a5615b6f47052769b70fbd088bada7303f70a1dc13e2a7d7d00623d2be0f21daa1551a79077f1a19542b6c07968c04a
data/README.md CHANGED
@@ -63,7 +63,7 @@ theme: elixir-toolkit-theme
63
63
 
64
64
  ### Via GitHub Actions
65
65
 
66
- 1. Make sure you have a GitHub workflow file setup similar to the one in this repo at [.github/workflows/jekyll.yml](https://github.com/ELIXIR-Belgium/elixir-toolkit-theme/.github/workflows/jekyll.yml).
66
+ 1. Make sure you have a GitHub workflow file setup similar to the one in this repo at [.github/workflows/jekyll.yml](https://github.com/ELIXIR-Belgium/elixir-toolkit-theme/blob/main/.github/workflows/jekyll.yml).
67
67
 
68
68
  2. Go to Settings > Pages and enable GitHub Actions as a source
69
69
  3. Go to Environments > github-pages and remove the rule under Deployment branches if you want to deploy other branches than master or main via Workflow Dispatch (manually triggered action)
@@ -174,7 +174,6 @@ If you like our work, you can add following badge to the readme of your project:
174
174
 
175
175
 
176
176
 
177
-
178
177
  ## License
179
178
 
180
179
  The theme is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
@@ -70,7 +70,7 @@
70
70
  {%- for tag in tool.related_pages %}
71
71
  {%- unless tag == page.page_id %}
72
72
  {%- assign related_page = site.pages | where:"page_id",tag | first %}
73
- <a href="{{related_page.url | relative_url }}" data-bs-toggle="tooltip" title="{{related_page.type | replace: '_', ' ' | capitalize}}"><span class="badge default-badge">{{related_page.title}}</span></a>
73
+ <a href="{{related_page.url | relative_url }}" data-bs-toggle="tooltip" title="{{related_page.type | replace: '_', ' ' | capitalize}}"><span class="badge default-badge">{{ related_page.title | truncate: 25 }}</span></a>
74
74
  {%- endunless %}
75
75
  {%- endfor %}
76
76
  {%- endcapture %}
@@ -88,6 +88,9 @@
88
88
  {%- if tool.registry.tess %}
89
89
  <a data-bs-toggle="tooltip" data-bs-original-title="TeSS" href="https://tess.elixir-europe.org/search?q={{tool.registry.tess}}"><span class="badge bg-dark text-white hover-primary"><i class="fa-solid fa-graduation-cap me-2"></i>Training</span></a>
90
90
  {%- endif %}
91
+ {%- if tool.registry.europmc %}
92
+ <a data-bs-toggle="tooltip" data-bs-original-title="EuroPMC" href="https://europepmc.org/article/MED/{{tool.registry.europmc}}"><span class="badge bg-dark text-white hover-primary"><i class="fa-solid fa-book me-2"></i>Publication</span></a>
93
+ {%- endif %}
91
94
  </td>
92
95
  </tr>
93
96
  {%- endfor %}
@@ -132,7 +135,7 @@
132
135
  {%- for tag in section[1] %}
133
136
  {%- unless tag == page.page_id %}
134
137
  {%- assign related_page = site.pages | where:"page_id",tag | first %}
135
- <a class="nohover" href="{{related_page.url | relative_url }}" data-bs-toggle="tooltip" title="{{related_page.type | replace: '_', ' ' | capitalize}}"><span class="badge default-badge">{{related_page.title}}</span></a>
138
+ <a class="nohover" href="{{related_page.url | relative_url }}" data-bs-toggle="tooltip" title="{{related_page.type | replace: '_', ' ' | capitalize}}"><span class="badge default-badge">{{ related_page.title | truncate: 25 }}</span></a>
136
139
  {%- endunless %}
137
140
  {%- endfor %}
138
141
  {%- endunless %}
@@ -155,6 +158,9 @@
155
158
  {%- if tool.registry.tess %}
156
159
  <a data-bs-toggle="tooltip" data-bs-original-title="TeSS" href="https://tess.elixir-europe.org/search?q={{tool.registry.tess}}"><span class="badge bg-dark text-white hover-primary"><i class="fa-solid fa-graduation-cap me-2"></i>Training</span></a>
157
160
  {%- endif %}
161
+ {%- if tool.registry.europmc %}
162
+ <a data-bs-toggle="tooltip" data-bs-original-title="EuroPMC" href="https://europepmc.org/article/MED/{{tool.registry.europmc}}"><span class="badge bg-dark text-white hover-primary"><i class="fa-solid fa-book me-2"></i>Publication</span></a>
163
+ {%- endif %}
158
164
  </td>
159
165
  </tr>
160
166
  {%- endfor %}
@@ -47,7 +47,7 @@
47
47
  {%- for tag in section[1] %}
48
48
  {%- unless tag == page.page_id %}
49
49
  {%- assign related_page = site.pages | where:"page_id",tag | first %}
50
- <a class="nohover" href="{{related_page.url | relative_url }}" data-bs-toggle="tooltip" title="{{related_page.type | replace: '_', ' ' | capitalize}}"><span class="badge default-badge">{{related_page.title}}</span></a>
50
+ <a class="nohover" href="{{related_page.url | relative_url }}" data-bs-toggle="tooltip" title="{{related_page.type | replace: '_', ' ' | capitalize}}"><span class="badge default-badge">{{ related_page.title | truncate: 25 }}</span></a>
51
51
  {%- endunless %}
52
52
  {%- endfor %}
53
53
  {%- endunless %}
@@ -70,6 +70,9 @@
70
70
  {%- if tool.registry.tess %}
71
71
  <a data-bs-toggle="tooltip" data-bs-original-title="TeSS" href="https://tess.elixir-europe.org/search?q={{tool.registry.tess}}"><span class="badge bg-dark text-white hover-primary"><i class="fa-solid fa-graduation-cap me-2"></i>Training</span></a>
72
72
  {%- endif %}
73
+ {%- if tool.registry.europmc %}
74
+ <a data-bs-toggle="tooltip" data-bs-original-title="EuroPMC" href="https://europepmc.org/article/MED/{{tool.registry.europmc}}"><span class="badge bg-dark text-white hover-primary"><i class="fa-solid fa-book me-2"></i>Publication</span></a>
75
+ {%- endif %}
73
76
  </td>
74
77
  </tr>
75
78
  {%- endfor %}
@@ -123,7 +126,7 @@
123
126
  {%- for tag in tool.related_pages %}
124
127
  {%- unless tag == page.page_id %}
125
128
  {%- assign related_page = site.pages | where:"page_id",tag | first %}
126
- <a href="{{related_page.url | relative_url }}" data-bs-toggle="tooltip" title="{{related_page.type | replace: '_', ' ' | capitalize}}"><span class="badge default-badge">{{related_page.title}}</span></a>
129
+ <a href="{{related_page.url | relative_url }}" data-bs-toggle="tooltip" title="{{related_page.type | replace: '_', ' ' | capitalize}}"><span class="badge default-badge">{{ related_page.title | truncate: 25 }}</span></a>
127
130
  {%- endunless %}
128
131
  {%- endfor %}
129
132
  {%- endcapture %}
@@ -141,6 +144,9 @@
141
144
  {%- if tool.registry.tess %}
142
145
  <a data-bs-toggle="tooltip" data-bs-original-title="TeSS" href="https://tess.elixir-europe.org/search?q={{tool.registry.tess}}"><span class="badge bg-dark text-white hover-primary"><i class="fa-solid fa-graduation-cap me-2"></i>Training</span></a>
143
146
  {%- endif %}
147
+ {%- if tool.registry.europmc %}
148
+ <a data-bs-toggle="tooltip" data-bs-original-title="EuroPMC" href="https://europepmc.org/article/MED/{{tool.registry.europmc}}"><span class="badge bg-dark text-white hover-primary"><i class="fa-solid fa-book me-2"></i>Publication</span></a>
149
+ {%- endif %}
144
150
  </td>
145
151
  </tr>
146
152
  {%- endfor %}
@@ -148,4 +154,4 @@
148
154
  </table>
149
155
  </div>
150
156
  <div id="skip-tool-table-2"></div>
151
- {%- endif %}
157
+ {%- endif %}
data/assets/css/main.scss CHANGED
@@ -382,6 +382,7 @@ header .navbar {
382
382
 
383
383
  #sidebar > nav .btn.sidebar-title {
384
384
  color: $sidebar-color;
385
+ border: 0;
385
386
  }
386
387
 
387
388
  .sidebar-collapse {
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: 2.0.0
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - bedroesb
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-23 00:00:00.000000000 Z
11
+ date: 2023-07-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll