Skip to content

Commit

Permalink
Update ELIXIR toolkit theme to 2.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
fbacall committed Jun 17, 2024
1 parent 59ec980 commit 17cec84
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 40 deletions.
14 changes: 5 additions & 9 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: >
Project pages for developing and running WorkflowHub,
a registry of scientific workflows.
remote_theme: ELIXIR-Belgium/elixir-toolkit-theme@1.23.0
remote_theme: ELIXIR-Belgium/elixir-toolkit-theme@2.5.0

permalink: pretty

Expand All @@ -14,26 +14,22 @@ defaults:
type: "pages"
values:
layout: "page"
-
scope:
- scope:
path: "project"
type: "pages"
values:
sidebar: about
-
scope:
- scope:
path: "docs"
type: "pages"
values:
sidebar: documentation
-
scope:
- scope:
path: "developer"
type: "pages"
values:
sidebar: documentation
-
scope:
- scope:
path: "Workflow-RO-Crate"
type: "pages"
values:
Expand Down
61 changes: 31 additions & 30 deletions _layouts/default.html
Original file line number Diff line number Diff line change
@@ -1,35 +1,36 @@
<!doctype html>
<html lang="en">
{% include head.html %}
<body>
{% include topnav.html %}
<!-- Page Content -->
<div class="container min-vh-100">
<!-- Content Row -->
<div class="row gx-0 gx-lg-5">
<!-- Sidebar Column -->
<div class="col-lg-3 {% if page.hide_sidebar %}sidebar-col{% endif %}">
{%- unless page.hide_sidebar %}
{% include sidebar.html %}
{%- else %}
{%- if page.path == "index.md" %}
{% include sidebar-news.html %}
{% include sidebar-events.html %}
{%- endif %}
{%- endunless %}
</div>
<!-- Content Column -->
<div class="col-lg-9 {% if page.hide_sidebar %}content-col{% endif %}">
{{content}}
</div>
</div>
<body class="d-flex flex-column min-vh-100"{% unless page.toc == false %} data-bs-spy="scroll" data-bs-target="#toc-contents" data-bs-smooth-scroll="true" tabindex="0"{% endunless %}>
{% if jekyll.environment == "development" %}{% include dev-info.html %}{% endif %}
{% include topnav.html %}
<!-- Page Content -->
<div class="container flex-grow-1">
<!-- Content Row -->
<div {% unless page.sidebar == nil or page.sidebar == false %}id="layout" class="gap-5"{% endunless %}>
<!-- Sidebar -->
{%- unless page.sidebar == nil or page.sidebar == false %}
<aside id="sidebar">
{%- unless page.hide_sidebar %}
{% include sidebar.html %}
{%- else %}
{%- if page.path == "index.md" %}
{% include sidebar-news.html %}
{% include sidebar-events.html %}
{%- endif %}
{%- endunless %}
</aside>
{% endunless %}
<!-- Content -->
{{content}}
</div>
{%- if site.theme_variables.back_to_top or site.theme_variables.back_to_top == nil %}
<button id="back-to-top" class="btn btn-primary text-white" type="button" aria-hidden="true" onclick="topFunction()">
<i class="fa-solid fa-arrow-up"></i>
</button>
{%- endif %}
{% include footer.html %}
{% include cookie-popup.html %}
</div>
{%- if site.theme_variables.back_to_top or site.theme_variables.back_to_top == nil %}
<button id="back-to-top" class="btn btn-primary rounded-3" type="button" aria-hidden="true" onclick="topFunction()">
<i class="fa-solid fa-arrow-up"></i>
</button>
{%- endif %}
{% include footer.html %}
{% include cookie-popup.html %}
</body>
</html>
</html>
4 changes: 3 additions & 1 deletion index.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
---
title: WorkflowHub project
hide_sidebar: true
toc: false
permalink: /
# There are special sidebar rules for the index page in layouts/default.html
hide_sidebar: true
sidebar: true
---

[WorkflowHub](https://workflowhub.eu/) is a FAIR **workflow registry** sponsored by the European RI Cluster EOSC-Life, the European Research Infrastructure ELIXIR and [multiple EU-wide projects](/project/acknowledgements/#funding). It is workflow management system agnostic: workflows may remain in their native repositories in their native forms.
Expand Down

0 comments on commit 17cec84

Please sign in to comment.