Skip to content

Commit

Permalink
Merge pull request #169 from elixir-europe-training/162-links
Browse files Browse the repository at this point in the history
update and display links to resources
  • Loading branch information
abotzki authored Dec 20, 2024
2 parents 9aa84c8 + 7c2af73 commit 0a369e8
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 9 deletions.
12 changes: 9 additions & 3 deletions _layouts/resource_page.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<main id="main" class="order-1">
<div id="intro">
{%- if page.title %}
{%- if page.type %}
{%- if page.id %}
{%- assign subtitle = page.type | replace: "_", " " | capitalize %}
<h1 class="has-subtitle"><span class="d-block text-secondary fs-4 ff-body">{{subtitle}}</span><span class="visually-hidden">:</span> {%- if page.resourceUrl %}<a target="_blank" href={{ page.resourceUrl }}>{{page.title }}</a>{%- else %}{{page.title }}{%- endif %}
{%- else %}
Expand All @@ -23,9 +23,15 @@ <h1>{{ page.title }}
<!-- STICKY RIGHT SIDEBAR -->
<div id="toc" class="text-muted sticky-xl-top">
{%- unless page.logo == nil or page.logo == false %}
<div class="text-center mb-3">
<div class="text-center mb-3">
{%- if page.resourceUrl %}
<a href="{{ page.resourceUrl }}" target="_blank">
<img src="assets/img/logos/{{ page.logo }}">
</a>
{%- else %}
<img src="assets/img/logos/{{ page.logo }}">
</div>
{%- endif %}
</div>
{%- endunless %}

{%- unless page.toc == false %}
Expand Down
2 changes: 1 addition & 1 deletion pages/resources/elearning.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# MANDATORY FIELDS
id: elearning # This id should match with the user-stories ToolId
title: E-learning Interest Group
resourceUrl: https://elixir-europe.org/
resourceUrl:
description: |
Once every month, the ELIXIR e-learning interest group meets to discuss best practises about e-learning content creation, curation of e-learning material in TeSS and controlled vocabulary about training activities.
objective: |
Expand Down
8 changes: 4 additions & 4 deletions pages/resources/learning-paths.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# MANDATORY FIELDS
id: lps # This id should match with the testimonial ToolId
title: Learning Paths
resourceUrl: https://elixir-europe.org/
resourceUrl: https://elixir-europe.org/focus-groups/learning-paths
description: |
Learning Paths are pathways that guide the learner through a set of learning courses or materials to be undertaken progressively to acquire the desired knowledge and skills on a subject. Establishing and implementing Learning Paths will facilitate the learning process in any professional trajectory and career path.
objective: |
Expand All @@ -25,18 +25,18 @@ coordinators:
contacts:
- name: Learning Paths
email: [email protected]
publications:
#publications:
- title: Publication example 1
url: https://elixir-europe.org/
- title: Publication example 2
url: https://elixir-europe.org/
video: https://www.youtube.com/embed/Jd0e8_jPxik?si=RtMoHJc9k84kMQQ # ONLY YOUTUBE SUPPORTED AT THIS MOMENT
#video: https://www.youtube.com/embed/Jd0e8_jPxik?si=RtMoHJc9k84kMQQ # ONLY YOUTUBE SUPPORTED AT THIS MOMENT
mailingList: https://signup.aai.lifescience-ri.eu/registrar/?vo=elixir&group=Community%3ATraining
funding:
- name: ELIXIR
logo: funder_example_1_logo.png
url: https://elixir-europe.org/
logo: logo_example.png
logo:
---

## Activities and resources related to Learning Paths
Expand Down
2 changes: 1 addition & 1 deletion pages/resources/tmd.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# MANDATORY FIELDS
id: tmd # This id should match with the user-stories ToolId
title: TMD
resourceUrl: https://tango.elixir-hpc.si/
resourceUrl: https://tmd.elixir-europe.org
description: |
The Training Metrics Database was developed in an effort to streamline data collection, storage, and visualisation for the ELIXIR Training Platform.
objective: |
Expand Down

0 comments on commit 0a369e8

Please sign in to comment.