Skip to content

Commit 1f249fe

Browse files
Add manage-vaccinations-in-schools section
1 parent 2380c2b commit 1f249fe

File tree

4 files changed

+33
-2
lines changed

4 files changed

+33
-2
lines changed

app/_layouts/product.njk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
] },
4242
{ title: "Vaccinations", services: [
4343
"Book a vaccination",
44+
"Manage vaccinations in schools",
4445
"Manage your appointments",
4546
"Record a vaccination",
4647
"Select people for invitation"
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
layout: collection
3+
title: Manage vaccinations in schools
4+
description: A service for managing and recording school-age vaccinations
5+
area: Vaccinations
6+
pagination:
7+
data: collections.manage-vaccinations-in-schools
8+
reverse: true
9+
size: 50
10+
aside:
11+
title: Prototype
12+
content: |
13+
[View the prototype](http://prototype.mavistesting.com) for this service. Use the password `mavis` to access.
14+
related:
15+
items:
16+
- text: Prototype code repository
17+
href: https://github.com/nhsuk/manage-vaccinations-in-schools-prototype
18+
- text: Service guidance
19+
href: https://guide.manage-vaccinations-in-schools.nhs.uk
20+
permalink: "manage-vaccinations-in-schools/{% if pagination.pageNumber > 0 %}page/{{ pagination.pageNumber + 1 }}{% endif %}/"
21+
---
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"eleventyNavigation": {
3+
"parent": "Manage vaccinations in schools"
4+
}
5+
}

eleventy.config.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,15 +78,19 @@ module.exports = function (eleventyConfig) {
7878
// })
7979

8080
// Vaccination collections
81-
eleventyConfig.addCollection('book-a-vaccination', collection => {
81+
eleventyConfig.addCollection('book-a-vaccination', collection => {
8282
return collection.getFilteredByGlob('app/posts/book-a-vaccination/**/*.md')
8383
})
8484

85+
eleventyConfig.addCollection('manage-vaccinations-in-schools', collection => {
86+
return collection.getFilteredByGlob('app/posts/manage-vaccinations-in-schools/**/*.md')
87+
})
88+
8589
eleventyConfig.addCollection('manage-your-appointments', collection => {
8690
return collection.getFilteredByGlob('app/posts/manage-your-appointments/**/*.md')
8791
})
8892

89-
eleventyConfig.addCollection('record-a-vaccination', collection => {
93+
eleventyConfig.addCollection('record-a-vaccination', collection => {
9094
return collection.getFilteredByGlob('app/posts/record-a-vaccination/**/*.md')
9195
})
9296

0 commit comments

Comments
 (0)