From 447192fd6e243cab1a8dd4e4dc719091d5eae672 Mon Sep 17 00:00:00 2001 From: Janine vN Date: Sun, 13 Jul 2025 16:50:24 -0400 Subject: Add new category and rename existing one --- pydis_site/apps/resources/resources/netbats_project_ideas.yaml | 2 +- pydis_site/apps/resources/templatetags/get_category_icon.py | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/pydis_site/apps/resources/resources/netbats_project_ideas.yaml b/pydis_site/apps/resources/resources/netbats_project_ideas.yaml index 80ba771c..967911e9 100644 --- a/pydis_site/apps/resources/resources/netbats_project_ideas.yaml +++ b/pydis_site/apps/resources/resources/netbats_project_ideas.yaml @@ -11,4 +11,4 @@ tags: - beginner - intermediate type: - - project ideas + - practice diff --git a/pydis_site/apps/resources/templatetags/get_category_icon.py b/pydis_site/apps/resources/templatetags/get_category_icon.py index 100ce386..747ce2a5 100644 --- a/pydis_site/apps/resources/templatetags/get_category_icon.py +++ b/pydis_site/apps/resources/templatetags/get_category_icon.py @@ -6,7 +6,9 @@ _ICONS = { "Algorithms And Data Structures": "fa-cogs", "Beginner": "fa-play-circle", "Book": "fa-book", + "Cheatsheet": "fa-solid fa-toolbox", "Community": "fa-users", + "Conference Talks": "fa-solid fa-film", "Course": "fa-chalkboard-teacher", "Data Science": "fa-flask", "Databases": "fa-server", @@ -20,7 +22,7 @@ _ICONS = { "Other": "fa-question-circle", "Paid": "fa-dollar-sign", "Podcast": "fa-microphone-alt", - "Project Ideas": "fa-lightbulb", + "Practice": "fa-lightbulb", "Security": "fa-solid fa-lock", "Software Design": "fa-paint-brush", "Subscription": "fa-credit-card", -- cgit v1.2.3 From 0a1a9f4310f0d255bd20bab9350e860d58b07b04 Mon Sep 17 00:00:00 2001 From: Janine vN Date: Sun, 13 Jul 2025 17:09:49 -0400 Subject: Fix filename --- .../apps/resources/resources/nedbat_project_ideas.yaml | 14 ++++++++++++++ .../apps/resources/resources/netbats_project_ideas.yaml | 14 -------------- 2 files changed, 14 insertions(+), 14 deletions(-) create mode 100644 pydis_site/apps/resources/resources/nedbat_project_ideas.yaml delete mode 100644 pydis_site/apps/resources/resources/netbats_project_ideas.yaml diff --git a/pydis_site/apps/resources/resources/nedbat_project_ideas.yaml b/pydis_site/apps/resources/resources/nedbat_project_ideas.yaml new file mode 100644 index 00000000..967911e9 --- /dev/null +++ b/pydis_site/apps/resources/resources/nedbat_project_ideas.yaml @@ -0,0 +1,14 @@ +description: A repository of project ideas to help one apply what they're learning, maintained by Python + community member Ned Batchelder, known on Python Discord as nedbat. +name: Ned Batchelder's Kindling Projects +title_url: https://nedbatchelder.com/text/kindling.html +tags: + topics: + - general + payment_tiers: + - free + difficulty: + - beginner + - intermediate + type: + - practice diff --git a/pydis_site/apps/resources/resources/netbats_project_ideas.yaml b/pydis_site/apps/resources/resources/netbats_project_ideas.yaml deleted file mode 100644 index 967911e9..00000000 --- a/pydis_site/apps/resources/resources/netbats_project_ideas.yaml +++ /dev/null @@ -1,14 +0,0 @@ -description: A repository of project ideas to help one apply what they're learning, maintained by Python - community member Ned Batchelder, known on Python Discord as nedbat. -name: Ned Batchelder's Kindling Projects -title_url: https://nedbatchelder.com/text/kindling.html -tags: - topics: - - general - payment_tiers: - - free - difficulty: - - beginner - - intermediate - type: - - practice -- cgit v1.2.3