Skip to content

Commit

Permalink
fix: don't generate pages for resources (resolves #921) (#922)
Browse files Browse the repository at this point in the history
  • Loading branch information
greatislander committed May 16, 2024
1 parent 860cf91 commit 61ff894
Show file tree
Hide file tree
Showing 12 changed files with 7 additions and 21 deletions.
1 change: 0 additions & 1 deletion src/admin/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,6 @@ collections:
create: true
i18n: false
fields:
- {label: Layout, name: layout, widget: hidden, default: layouts/single--resource.njk}
- {label: Resource Name, name: title, widget: string, required: true}
- {label: Description, name: description, widget: markdown, required: true, editor_components: [image, file]}
- {label: Published Year, name: publishedYear, widget: string, hint: The year this resource was first publicly available., required: true}
Expand Down
3 changes: 1 addition & 2 deletions src/collections/resources/clusive.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: layouts/resources.njk
title: Clusive
description: Clusive is a flexible, customizable learning environment that
adapts to learners' needs.
Expand All @@ -9,5 +8,5 @@ topics:
- education
types:
- webApp
link: " https://clusive.cast.org/"
link: https://clusive.cast.org/
---
3 changes: 1 addition & 2 deletions src/collections/resources/community-led-co-design-kit.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: layouts/resources.njk
title: Community-led Co-design Kit
description: A toolkit for how to do co-design, especially co-design that is led
by communities it most impacts.
Expand All @@ -9,5 +8,5 @@ topics:
- design
types:
- toolkit
link: " https://co-design.inclusivedesign.ca/"
link: https://co-design.inclusivedesign.ca/
---
1 change: 0 additions & 1 deletion src/collections/resources/inclusive-design-guide.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: layouts/resources.njk
title: Inclusive Design Guide
description: A guide that provides design insights, activities, tools, and
practices to aid in the designing of services, environments, and physical
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: layouts/resources.njk
title: Inclusive Learning Design Handbook
description: A handbook to help people create personalized and flexible
educational resources for diverse learners.
Expand Down
3 changes: 1 addition & 2 deletions src/collections/resources/infusion.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: layouts/resources.njk
title: Infusion
description: An accessible and highly configurable web framework that supports
inclusive design.
Expand All @@ -9,5 +8,5 @@ topics:
- design
types:
- code
link: " https://fluidproject.org/infusion.html"
link: https://fluidproject.org/infusion.html
---
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: layouts/resources.njk
title: Make your web content accessible
description: A course that covers what accessibility means on the web, how to
create accessible web content, how to test it, and the principles of
Expand All @@ -11,6 +10,5 @@ topics:
- design
types:
- onlineCourse
link: " https://openclassrooms.com/en/courses/6663451-make-your-web-content-ac\
cessible"
link: https://openclassrooms.com/en/courses/6663451-make-your-web-content-accessible
---
3 changes: 1 addition & 2 deletions src/collections/resources/morphic.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: layouts/resources.njk
title: Morphic
description: A centralized tool bar that allows users to easily access and
customize the accessibility preferences on their computer, and export it to
Expand All @@ -10,5 +9,5 @@ topics:
- design
types:
- plugin
link: " https://morphic.org"
link: https://morphic.org
---
4 changes: 1 addition & 3 deletions src/collections/resources/resources.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
{
"layout": "layouts/single--resource.njk",
"permalink": "/resources/{{ page.fileSlug | slugify }}/",
"headerBgColor": "white"
"permalink": false
}
3 changes: 1 addition & 2 deletions src/collections/resources/storytelling-tool.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: layouts/resources.njk
title: Storytelling Tool
description: A tool to allow people of all abilities to share their stories
using text, video, audio, and images.
Expand All @@ -9,5 +8,5 @@ topics:
- design
types:
- webApp
link: " https://stories.floeproject.org/"
link: https://stories.floeproject.org/
---
1 change: 0 additions & 1 deletion src/collections/resources/ui-options.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: layouts/resources.njk
title: UI Options
description: A tool to adapt the user interface of websites to meet diverse and
variable personal needs.
Expand Down
1 change: 0 additions & 1 deletion src/collections/resources/weavly.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: layouts/resources.njk
title: Weavly
description: An educational coding tool for kids who have been left out of
learning—especially those with complex needs. Weavly also includes activities
Expand Down

0 comments on commit 61ff894

Please sign in to comment.