Skip to content

Commit e5976a5

Browse files
Add folders and set up for 4 'general' sections (#164)
This sets up 4 new sections for posts that aren't about a specific service: * Digital prevention services (for posts that cover the whole of DPSP) * Screening * Vaccinations * Personalised prevention No posts have actually been added yet, so the homepage is currently unchanged - but we'll add the links when some posts have been added.
1 parent 998a2e5 commit e5976a5

File tree

13 files changed

+85
-0
lines changed

13 files changed

+85
-0
lines changed

app/images/digital-prevention-services/.gitkeep

Whitespace-only changes.

app/images/personalised-prevention/.gitkeep

Whitespace-only changes.

app/images/screening/.gitkeep

Whitespace-only changes.

app/images/vaccinations/.gitkeep

Whitespace-only changes.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
layout: collection
3+
title: Digital prevention services
4+
description: Work across digital prevention services
5+
pagination:
6+
data: collections.digital-prevention-services
7+
reverse: true
8+
size: 50
9+
permalink: "digital-prevention-services/{% if pagination.pageNumber > 0 %}page/{{ pagination.pageNumber + 1 }}{% endif %}/"
10+
---
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"eleventyNavigation": {
3+
"parent": "Digital prevention services"
4+
}
5+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
layout: collection
3+
title: Personalised prevention
4+
description: Work that spans services in personalised prevention
5+
area: Personalised prevention
6+
pagination:
7+
data: collections.personalised-prevention
8+
reverse: true
9+
size: 50
10+
permalink: "personalised-prevention/{% if pagination.pageNumber > 0 %}page/{{ pagination.pageNumber + 1 }}{% endif %}/"
11+
---
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"eleventyNavigation": {
3+
"parent": "Personalised prevention"
4+
}
5+
}

app/posts/screening.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
layout: collection
3+
title: Screening
4+
description: Work that spans services in screening
5+
area: Screening
6+
pagination:
7+
data: collections.screening
8+
reverse: true
9+
size: 50
10+
permalink: "screening/{% if pagination.pageNumber > 0 %}page/{{ pagination.pageNumber + 1 }}{% endif %}/"
11+
---

app/posts/screening/screening.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"eleventyNavigation": {
3+
"parent": "Screening"
4+
}
5+
}

0 commit comments

Comments
 (0)