From cd11bd6677b93ad8873a163b976814515f47e9ef Mon Sep 17 00:00:00 2001 From: Helena Rasche Date: Mon, 29 Jan 2024 15:59:05 +0100 Subject: [PATCH] Implement stellar nursery To help new contributors discover tutorials they may be interested in contributing to --- _plugins/jekyll-topic-filter.rb | 4 ++++ utils/stellar-nursery.md | 35 +++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 utils/stellar-nursery.md diff --git a/_plugins/jekyll-topic-filter.rb b/_plugins/jekyll-topic-filter.rb index cf4fde2f0618e4..7b0ff575593965 100644 --- a/_plugins/jekyll-topic-filter.rb +++ b/_plugins/jekyll-topic-filter.rb @@ -963,6 +963,10 @@ def identify_contributors(materials, site) def identify_funders(materials, site) TopicFilter.identify_funders(materials, site) end + + def list_draft_materials(site) + TopicFilter.list_all_materials(site).select { |k, _v| k['draft'] } + end end end diff --git a/utils/stellar-nursery.md b/utils/stellar-nursery.md new file mode 100644 index 00000000000000..1ee6ac6071920d --- /dev/null +++ b/utils/stellar-nursery.md @@ -0,0 +1,35 @@ +--- +layout: page +title: GTN Stellar Nursery +--- + +Welcome to the Stellar Nursery where brand new baby tutorials and other stellar objects are being born every day. Some of these would like to grow up to be full fledged Galactic Tutorials, no longer the *dark matter* hiding in our Galaxy. + +## You can help! + +Are you a new contributor who wants to learn more about how the GTN works? Are you looking for a Hacktoberfest contribution? + +Some of these tutorials might be good ones to work on; please reach out to us and we can suggest one for you, and guide you through the changes that are required to bring it up to GTN standards. + +## Dark Matter + +{% assign draft_tutorials = site | list_draft_materials %} + + + + + + + + + + +{% for tutorial in draft_tutorials %} + + + + + +{% endfor %} + +
TopicTitleLinks
{{ tutorial.topic_name }}{{ tutorial.title }}{{ tutorial.url }}