You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,10 +35,10 @@ You have two choices for adding a post:
35
35
[View more details on the scripts here.](https://x-govuk.github.io/govuk-design-history/generate-a-page-of-screenshots/)
36
36
37
37
1. Use a PNG optimiser [like TinyPNG](https://tinypng.com/) to reduce the file size of your images.
38
-
2. Create a folder for your images and them in `app/images/[service-name]/YYYY/MM/[post-name]/`
38
+
2. Create a folder for your images and put them in `app/images/[service-name]/YYYY/MM/[post-name]/`
39
39
3. From the terminal, run `node scripts/generate.js [path]` where `path` is the full path to the folder of images. The easiest way to do this is to type `node scripts/generate.js ` and then drag the folder from Finder on to your terminal to fill in the path.
40
-
4. The script will generate a post linking to each image.
41
-
5. You should check the title text for each image and ammend as needed.
40
+
4. The script will generate a new post linking to each image and place it in `app/posts/[service-name]/YYYY/MM/[post-name].md`.
41
+
5. You should check the title text for each image and amend as needed.
42
42
6. The script will prepend the post filename with the current date but you can delete this if you like.
0 commit comments