elixir-belgium / elixir-toolkit-theme Goto Github PK
View Code? Open in Web Editor NEWFlexible Jekyll theme using bootstrap 5 as CSS framework.
Home Page: https://elixir-belgium.github.io/elixir-toolkit-theme/
License: MIT License
Flexible Jekyll theme using bootstrap 5 as CSS framework.
Home Page: https://elixir-belgium.github.io/elixir-toolkit-theme/
License: MIT License
Hi there,
Thanks for the cool theme
I wanted to check whether it is possible to configure the filename that is used for the main_logo image? It seems like at the moment it is hard coded to be /REPO_NAME/assets/img/main_logo.svg
, however I'd like to use a png so this doesn't work. Let me know if there is a way to configure it in the _config.yml
for example.
A side question is whether there is a way you'd like it acknowledged that we are using this theme at all?
Thanks!
This shoudl be more GDPR compliant than GA
I noticed that the page content is set to render at minimum 100% vh, which results in extra whitespace when the content is shorter than the window height.
My suggestion is to the body as a flex layout with min-vh-100
, then allowing the page content container to grow. (PR coming soon)
It should be possible to implement the sidebar using collapse/accordion elements in bootstrap. The difficult part will be to detect when a child is the active page so the parent objects expand
Normally the repositories that make use of a remote theme, don't need Gemfiles.
Adding support for https://plausible.io/
The Icon in the topnav should not be from GitHub in case of GitLab deployment
Powered by ELIXIR Toolkit Theme
Conversion error: Jekyll::Converters::Scss encountered an error while converting 'assets/css/main.scss':
nil can't be coerced into Integer
jekyll 3.9.0 | Error: nil can't be coerced into Integer
Traceback (most recent call last):
100: from /home/bedro/gems/bin/jekyll:23:in `<main>'
99: from /home/bedro/gems/bin/jekyll:23:in `load'
98: from /home/bedro/gems/gems/jekyll-3.9.0/exe/jekyll:15:in `<top (required)>'
97: from /home/bedro/gems/gems/mercenary-0.3.6/lib/mercenary.rb:19:in `program'
96: from /home/bedro/gems/gems/mercenary-0.3.6/lib/mercenary/program.rb:42:in `go'
95: from /home/bedro/gems/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `execute'
94: from /home/bedro/gems/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `each'
93: from /home/bedro/gems/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `block in execute'
92: from /home/bedro/gems/gems/jekyll-3.9.0/lib/jekyll/commands/serve.rb:75:in `block (2 levels) in init_with_program'
91: from /home/bedro/gems/gems/jekyll-3.9.0/lib/jekyll/commands/serve.rb:93:in `start'
90: from /home/bedro/gems/gems/jekyll-3.9.0/lib/jekyll/commands/serve.rb:93:in `each'
89: from /home/bedro/gems/gems/jekyll-3.9.0/lib/jekyll/commands/serve.rb:93:in `block in start'
88: from /home/bedro/gems/gems/jekyll-3.9.0/lib/jekyll/commands/build.rb:36:in `process'
87: from /home/bedro/gems/gems/jekyll-3.9.0/lib/jekyll/commands/build.rb:65:in `build'
86: from /home/bedro/gems/gems/jekyll-3.9.0/lib/jekyll/command.rb:28:in `process_site'
85: from /home/bedro/gems/gems/jekyll-3.9.0/lib/jekyll/site.rb:71:in `process'
84: from /home/bedro/gems/gems/jekyll-3.9.0/lib/jekyll/site.rb:192:in `render'
83: from /home/bedro/gems/gems/jekyll-3.9.0/lib/jekyll/site.rb:471:in `render_pages'
82: from /home/bedro/gems/gems/jekyll-3.9.0/lib/jekyll/site.rb:471:in `each'
81: from /home/bedro/gems/gems/jekyll-3.9.0/lib/jekyll/site.rb:472:in `block in render_pages'
80: from /home/bedro/gems/gems/jekyll-3.9.0/lib/jekyll/site.rb:479:in `render_regenerated'
79: from /home/bedro/gems/gems/jekyll-3.9.0/lib/jekyll/renderer.rb:62:in `run'
78: from /home/bedro/gems/gems/jekyll-3.9.0/lib/jekyll/renderer.rb:83:in `render_document'
77: from /home/bedro/gems/gems/jekyll-3.9.0/lib/jekyll/renderer.rb:99:in `convert'
76: from /home/bedro/gems/gems/jekyll-3.9.0/lib/jekyll/renderer.rb:99:in `reduce'
75: from /home/bedro/gems/gems/jekyll-3.9.0/lib/jekyll/renderer.rb:99:in `each'
74: from /home/bedro/gems/gems/jekyll-3.9.0/lib/jekyll/renderer.rb:101:in `block in convert'
73: from /home/bedro/gems/gems/jekyll-sass-converter-1.5.2/lib/jekyll/converters/scss.rb:119:in `convert'
72: from /home/bedro/gems/gems/sass-3.7.4/lib/sass.rb:57:in `compile'
71: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/engine.rb:290:in `render'
70: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/tree/root_node.rb:20:in `render'
69: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/tree/root_node.rb:36:in `css_tree'
68: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:10:in `visit'
67: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:157:in `visit'
66: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/tree/visitors/base.rb:36:in `visit'
65: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:186:in `visit_root'
64: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/tree/visitors/base.rb:36:in `block in visit'
63: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:166:in `visit_children'
62: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:179:in `with_environment'
61: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:167:in `block in visit_children'
60: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/tree/visitors/base.rb:52:in `visit_children'
59: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/tree/visitors/base.rb:52:in `map'
58: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/tree/visitors/base.rb:52:in `block in visit_children'
57: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:158:in `visit'
56: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/stack.rb:79:in `with_base'
55: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/stack.rb:135:in `with_frame'
54: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/stack.rb:79:in `block in with_base'
53: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:158:in `block in visit'
52: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/tree/visitors/base.rb:36:in `visit'
51: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:322:in `visit_import'
50: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/stack.rb:88:in `with_import'
49: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/stack.rb:135:in `with_frame'
48: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/stack.rb:88:in `block in with_import'
47: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:325:in `block in visit_import'
46: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:325:in `map'
45: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:325:in `block (2 levels) in visit_import'
44: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:158:in `visit'
43: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/stack.rb:79:in `with_base'
42: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/stack.rb:135:in `with_frame'
41: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/stack.rb:79:in `block in with_base'
40: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:158:in `block in visit'
39: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/tree/visitors/base.rb:36:in `visit'
38: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:322:in `visit_import'
37: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/stack.rb:88:in `with_import'
36: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/stack.rb:135:in `with_frame'
35: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/stack.rb:88:in `block in with_import'
34: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:325:in `block in visit_import'
33: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:325:in `map'
32: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:325:in `block (2 levels) in visit_import'
31: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:158:in `visit'
30: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/stack.rb:79:in `with_base'
29: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/stack.rb:135:in `with_frame'
28: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/stack.rb:79:in `block in with_base'
27: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:158:in `block in visit'
26: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/tree/visitors/base.rb:36:in `visit'
25: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb:478:in `visit_variable'
24: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/script/tree/node.rb:50:in `perform'
23: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/script/tree/funcall.rb:129:in `_perform'
22: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/script/tree/funcall.rb:129:in `map'
21: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/script/tree/funcall.rb:129:in `each'
20: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/script/tree/funcall.rb:129:in `each_with_index'
19: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/script/tree/funcall.rb:129:in `each'
18: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/script/tree/funcall.rb:129:in `block in _perform'
17: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/script/tree/funcall.rb:182:in `perform_arg'
16: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/script/tree/node.rb:50:in `perform'
15: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/script/tree/map_literal.rb:52:in `_perform'
14: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/script/tree/map_literal.rb:52:in `map'
13: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/script/tree/map_literal.rb:53:in `block in _perform'
12: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/script/tree/node.rb:50:in `perform'
11: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/script/tree/map_literal.rb:52:in `_perform'
10: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/script/tree/map_literal.rb:52:in `map'
9: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/script/tree/map_literal.rb:53:in `block in _perform'
8: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/script/tree/node.rb:50:in `perform'
7: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/script/tree/map_literal.rb:52:in `_perform'
6: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/script/tree/map_literal.rb:52:in `map'
5: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/script/tree/map_literal.rb:54:in `block in _perform'
4: from /usr/lib/ruby/2.7.0/set.rb:244:in `include?'
3: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/script/value/number.rb:226:in `eql?'
2: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/script/value/number.rb:403:in `basically_equal?'
1: from /home/bedro/gems/gems/sass-3.7.4/lib/sass/script/value/number.rb:409:in `basically_equal?'
/home/bedro/gems/gems/sass-3.7.4/lib/sass/script/value/number.rb:409:in `-': nil can't be coerced into Integer (TypeError)
Currently one has to list contributors separately.
When no tool stable is given, but a page links to DSW, an empty Tools and resources table is listed at the bottom of the page
instance_of
and how_to_access
Affiliations in the page metadata are currently only used to filter on or to display in the section overview tiles. It might be nice to visualize these affiliation in a similar way we visualize the contributors.
Since people expect there to be a search result page, they tend to ENTER after filling in the search query, making the dropdown disappear, making them think the search does not work
Set width to 100% of img to fix this
These buttons would be generated using the sidebar yaml
When table is given using markdown, the correct classes are not added to make it responsive
Index page can now contain a duplicate like How-to-Guides | How-to-Guides
.
Exception for the title if the url is /
If the news and events page is served on a different url than /news.html and //events.html, the links don't work
Feature request
THe more information tile does not support RDMkit yet
Hiya
I asked recently about whether there is any advice on using academic citations with the theme. Bert directed me to jekyll-scholar which I was excited to try but unfortunately when I try to set it up, the theme and the plugin have conflicting jekyll dependencies:
Bundler could not find compatible versions for gem "jekyll":
In Gemfile:
elixir-toolkit-theme was resolved to 1.20.2, which depends on
jekyll (~> 3.9)
jekyll-scholar was resolved to 7.1.1, which depends on
jekyll (~> 4.0)
I was wondering if there is any plan to upgrade the dependency for the them to the next major version?
Thanks
Because of GDPR reasons it is advised to serve the fonts locally if needed
Contributors on a page are linked to github using the CONTRIBUTORS.yml file, if not, a github placeholder is used
Currently when the locally stored image is not square, if will appear oval
Jekyll complains if variables are used that are not declared in the repo making use of the remote theme.
Add max-width parameter
It would be nice if people enter in the search box they land on a page with the search results and the query being in the url
THis is a feature that is needed for workflowhub about and FAIRDOM
There is an increasing interest for the reuse of the RDMkit landing page. I could be possible to add a custom layout that builds this similar landing page automatically by adding the layout:landingpage
attribute to the metadata of the page.
if images are given the markdown way, make them fluid
Hi there, thanks for the super cool theme!
I have just started building a website that I am adapting from https://github.com/elixir-europe/infectious-diseases-toolkit . I am trying to have sub-section URLs but I can't seem to get the urls working properly.
for example, I would like each sub-item under the about sidebar to have a url like about/contributors
and for the pages in the legal ethical section to have urls such as legal_ethical/australian_legal
etc. so I attempted to specify these in the relevant sidebar yamls. I noticed in the infectious disease toolbox that there is a trailing slash on the section url, but when I do this I get 404 errors for those urls. If I don't specify the slash, the main section link works,
e.g. https://australianbiocommons.github.io/human-omics-data-sharing-field-guide/data_standards
but the sublinks do not work
e.g. https://australianbiocommons.github.io/human-omics-data-sharing-field-guide/data_standards/ga4gh
but the link without the sublink does work
e.g. https://australianbiocommons.github.io/human-omics-data-sharing-field-guide/ga4gh
I'd like to take advantage of the navigation tiles within the main page within each section thus why I'd like them to be subitems.
I am not sure whether I also need to add each section to the defaults
section of the config.yml
? I haven't really understood what these scope
snippets are for as yet.
I am sure I am probably missing something silly so any guidance you can offer would be much appreciated.
Many thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.