From 41c3a730b56d73a2ed29b3ff6e3a833b43bc2c46 Mon Sep 17 00:00:00 2001 From: Helena Rasche Date: Wed, 15 Nov 2023 15:02:38 +0100 Subject: [PATCH 1/2] more expansive org jsonld --- _plugins/gtn/git.rb | 1 + _plugins/jekyll-jsonld.rb | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) diff --git a/_plugins/gtn/git.rb b/_plugins/gtn/git.rb index 85f6c04b442a63..8b58197b80b473 100644 --- a/_plugins/gtn/git.rb +++ b/_plugins/gtn/git.rb @@ -48,6 +48,7 @@ def self._discover 'git_tags' => tags, 'git_tags_recent' => tags.reverse[0..2], 'age' => (today - first_commit).to_f / 365.25, + 'founding_date' => first_commit, } end end diff --git a/_plugins/jekyll-jsonld.rb b/_plugins/jekyll-jsonld.rb index b4e033becb3448..2d2feddc537091 100644 --- a/_plugins/jekyll-jsonld.rb +++ b/_plugins/jekyll-jsonld.rb @@ -2,16 +2,32 @@ require 'json' require './_plugins/gtn' +require './_plugins/gtn/git' module Jekyll # Generate JSON-LD metadata for the GTN. module JsonldFilter GTN = { '@type': 'Organization', + 'http://purl.org/dc/terms/conformsTo': { + # Bioschemas profile + '@id': 'https://bioschemas.org/profiles/Organization/0.2-DRAFT-2019_07_19', + '@type': 'Organization' + }, email: 'galaxytrainingnetwork@gmail.com', name: 'Galaxy Training Network', + legalName: 'Galaxy Training Network', + alternateName: 'GTN', url: 'https://training.galaxyproject.org', logo: 'https://training.galaxyproject.org/training-material/assets/images/GTNLogo1000.png', + fundingModel: "The GTN's infrastructure relies on GitHub and the Galaxy Project for hosting costs. " \ + 'There are no full time paid staff members of the GTN. Individuals are occasionally funded on ' \ + 'GTN-adjacent projects.', + keywords: %w[galaxy bioinformatics training fair accessible], + status: 'active', + foundingDate: Gtn::Git.discover['founding_date'].to_s, + socialMedia: 'https://mstdn.science/@gtn', + type: 'project', }.freeze A11Y = { From e96d5fbde0dec595f9a2e928f18fa29be8ee3604 Mon Sep 17 00:00:00 2001 From: Helena Rasche Date: Wed, 15 Nov 2023 15:06:38 +0100 Subject: [PATCH 2/2] update erasmus+ funding --- FUNDERS.yaml | 2 +- bin/schema-funders.yaml | 2 +- .../tutorials/create-new-tutorial-content/tutorial.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/FUNDERS.yaml b/FUNDERS.yaml index 4e91bc17a6d711..e4f7db076aa7fa 100644 --- a/FUNDERS.yaml +++ b/FUNDERS.yaml @@ -34,7 +34,7 @@ gallantries: funding_id: 2020-1-NL01-KA203-064717 funding_system: erasmusplus funding_statement: | - This project ([`2020-1-NL01-KA203-064717`](https://ec.europa.eu/programmes/erasmus-plus/projects/eplus-project-details/#project/2020-1-NL01-KA203-064717)) is funded with the support of the Erasmus+ programme of the European Union. Their funding has supported a large number of tutorials within the GTN across a wide array of topics. + This project ([`2020-1-NL01-KA203-064717`](https://erasmus-plus.ec.europa.eu/projects/search/details/2020-1-NL01-KA203-064717)) is funded with the support of the Erasmus+ programme of the European Union. Their funding has supported a large number of tutorials within the GTN across a wide array of topics. ![eu flag with the text: with the support of the erasmus programme of the european union](https://gallantries.github.io/assets/images/logosbeneficaireserasmusright_en.jpg) ![erasmus plus logo](https://www.erasmusplus.nl/assets/images/logo.png) diff --git a/bin/schema-funders.yaml b/bin/schema-funders.yaml index e8de06f0950315..bcd8977c0abbad 100644 --- a/bin/schema-funders.yaml +++ b/bin/schema-funders.yaml @@ -125,4 +125,4 @@ mapping: type: str description: A short statement about the funder, markdown is supported. examples: - - This project ([`2020-1-NL01-KA203-064717`](https://ec.europa.eu/programmes/erasmus-plus/projects/eplus-project-details/#project/2020-1-NL01-KA203-064717)) is funded with the support of the Erasmus+ programme of the European Union. Their funding has supported a large number of tutorials within the GTN across a wide array of topics. + - This project ([`2020-1-NL01-KA203-064717`](https://erasmus-plus.ec.europa.eu/projects/search/details/2020-1-NL01-KA203-064717)) is funded with the support of the Erasmus+ programme of the European Union. Their funding has supported a large number of tutorials within the GTN across a wide array of topics. diff --git a/topics/contributing/tutorials/create-new-tutorial-content/tutorial.md b/topics/contributing/tutorials/create-new-tutorial-content/tutorial.md index f3ddf854f249fe..cd8afe60ab41f2 100644 --- a/topics/contributing/tutorials/create-new-tutorial-content/tutorial.md +++ b/topics/contributing/tutorials/create-new-tutorial-content/tutorial.md @@ -201,7 +201,7 @@ All tutorials and slides must give credit to all contributors. This can be any t funder: true funding_id: 2020-1-NL01-KA203-064717 funding_statement: | - This project ([`2020-1-NL01-KA203-064717`](https://ec.europa.eu/programmes/erasmus-plus/projects/eplus-project-details/#project/2020-1-NL01-KA203-064717)) is funded with the support of the Erasmus+ programme of the European Union. Their funding has supported a large number of tutorials within the GTN across a wide array of topics. + This project ([`2020-1-NL01-KA203-064717`](https://erasmus-plus.ec.europa.eu/projects/search/details/2020-1-NL01-KA203-064717)) is funded with the support of the Erasmus+ programme of the European Union. Their funding has supported a large number of tutorials within the GTN across a wide array of topics. ![eu flag with the text: with the support of the erasmus programme of the european union](https://gallantries.github.io/assets/images/logosbeneficaireserasmusright_en.jpg) ```