Skip to content

Commit

Permalink
Merge pull request #1083 from DFE-Digital/setup-claim-mentor-funding-…
Browse files Browse the repository at this point in the history
…section

Setup claim funding for mentors section
  • Loading branch information
simonwhatley authored Dec 22, 2023
2 parents 30ad9a3 + 68d1a6c commit b06a955
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .eleventy.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ module.exports = function (eleventyConfig) {
'app/posts/publish-teacher-training-courses/publish-teacher-training-courses.md',
'app/posts/register-trainee-teachers/register-trainee-teachers.md',
'app/posts/school-placements/school-placements.md',
'app/posts/claim-funding-for-mentors/claim-funding-for-mentors.md',
'app/posts/support-for-apply/support-for-apply.md',
'app/posts/support-for-publish/support-for-publish.md'
])
Expand Down Expand Up @@ -82,6 +83,10 @@ module.exports = function (eleventyConfig) {
return collection.getFilteredByGlob('app/posts/school-placements/*.md')
})

eleventyConfig.addCollection('claim-funding-for-mentors', collection => {
return collection.getFilteredByGlob('app/posts/claim-funding-for-mentors/*.md')
})

eleventyConfig.addCollection('support-for-apply', collection => {
return collection.getFilteredByGlob('app/posts/support-for-apply/*.md')
})
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"eleventyNavigation": {
"parent": "Claim funding for mentors"
}
}
22 changes: 22 additions & 0 deletions app/posts/claim-funding-for-mentors/claim-funding-for-mentors.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
layout: collection
title: Claim funding for mentors
description: A service for schools to claim funding for their general mentors
related:
items:
- text: Prototype
description: |
Password: `bat`
href: https://itt-mentoring-beta-94341ca35a2c.herokuapp.com/
pagination:
data: collections.claim-funding-for-mentors
reverse: true
size: 50
permalink: "claim-funding-for-mentors/{% if pagination.pageNumber > 0 %}page/{{ pagination.pageNumber + 1 }}{% endif %}/"
eleventyComputed:
eleventyNavigation:
key: "{{ title }}"
excerpt: "{{ description }}"
parent: home
order: 9
---

0 comments on commit b06a955

Please sign in to comment.