Skip to content

Commit

Permalink
Merge pull request #4605 from galaxyproject/porgy-qilin
Browse files Browse the repository at this point in the history
misc e+/metadata
  • Loading branch information
mtekman authored Dec 20, 2023
2 parents 2756411 + e96d5fb commit 4995efe
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 3 deletions.
2 changes: 1 addition & 1 deletion FUNDERS.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions _plugins/gtn/git.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
16 changes: 16 additions & 0 deletions _plugins/jekyll-jsonld.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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: '[email protected]',
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 = {
Expand Down
2 changes: 1 addition & 1 deletion bin/schema-funders.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
```

Expand Down

0 comments on commit 4995efe

Please sign in to comment.