elixir-toolkit-theme 2.0.0 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -2
- data/_includes/resource-table-all.html +8 -2
- data/_includes/resource-table-page.html +9 -3
- data/assets/css/main.scss +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 50a883750f43ede5fd36322883070d37f2412df14e49a8f33f583a22db9754e5
|
4
|
+
data.tar.gz: 3f1b7a3e937a1e8ca8d9cd0a5574091123f79683cb62754331a962f257465383
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
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.
|
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-
|
11
|
+
date: 2023-07-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|