Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"layout": "post",
"eleventyNavigation": {
"parent": "Record a vaccination"
}
Expand Down
7 changes: 6 additions & 1 deletion eleventy.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ module.exports = function (eleventyConfig) {
eleventyConfig.addPassthroughCopy({ './app/images': '.' })
eleventyConfig.addPassthroughCopy('./app/pdfs');

// Copy any images across
eleventyConfig.addPassthroughCopy('./app/**/*.png')
eleventyConfig.addPassthroughCopy('./app/**/*.jpg')


// General category for posts that cover all of digital prevention services
eleventyConfig.addCollection("digital-prevention-services", (collection) => {
return collection.getFilteredByGlob("app/posts/digital-prevention-services/**/*.md")
Expand Down Expand Up @@ -117,7 +122,7 @@ module.exports = function (eleventyConfig) {
})

eleventyConfig.addCollection('record-a-vaccination', collection => {
return collection.getFilteredByGlob('app/posts/record-a-vaccination/**/*.md')
return collection.getFilteredByGlob('app/record-a-vaccination/**/*.md')
})

eleventyConfig.addCollection('select-people-for-invitation', collection => {
Expand Down