Skip to content

Commit 5e8a9c5

Browse files
authored
Merge pull request #63 from NHSDigital/readme-fix
Fix mistake in README
2 parents 692bd3c + 7f983f1 commit 5e8a9c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ You’ll need to:
2020

2121
* create a folder for your service within `app/posts/`, for example `app/posts/your-service-name/`
2222
* create a folder with the same name in `app/images/`, for example `app/images/your-service-name/`
23-
* create a `your-service-name.js` file within `app/posts/` that adds the eleventyNavigation parent name as the name of your service (copy an existing example)
23+
* create a `your-service-name.json` file within `app/posts/` that adds the eleventyNavigation parent name as the name of your service (copy an existing example)
2424
* create a Markdown file in `app/posts/`, for example `app/posts/your-service-name.md`. Copy an existing example and update any references to match your service.
2525
* update `eleventy.config.js` to create a new 'collection' for your service (copy one of the existing examples)
2626
* update `app/_layouts/_product.njk` to list your new service in the `sections` variable

0 commit comments

Comments
 (0)