Skip to content

Commit 282c536

Browse files
Move images and PDFs into folders with posts (#235)
This reorganises all the files so that images, PDFs and posts now live in the same folder, rather than separately. Where before we had this: ``` /app/posts/service-name/YYYY/MM/post-name.md /app/images/service-name/YYYY/MM/post-name/image-name.png /app/pdfs/service-name/YYYY/MM/post-name/file-name.pdf ``` we now have this: ``` /app/service-name/YYYY/MM/post-name/index.md /app/service-name/YYYY/MM/post-name/image-name.png /app/service-name/YYYY/MM/post-name/file-name.pdf ``` The main advantages are: * no need to make sure that the folder name in `app/images` exactly matches the post name, which is a common source of mistakes * easier to create posts using the GitHub web interface, as currently there’s no way to create folders in which to upload images using the web interface without resorting to workarounds * the Markdown previews in the GitHub web interface now show the embedded images
1 parent 4d7b315 commit 282c536

File tree

1,285 files changed

+35
-12
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,285 files changed

+35
-12
lines changed

app/posts/book-a-vaccination/2024/08/2024-08-15-what-is-nbs.md renamed to app/book-a-vaccination/2024/08/what-is-nbs/index.md

app/posts/book-a-vaccination/2024/12/2024-12-10-rsv-pregnancy-self-referral.md renamed to app/book-a-vaccination/2024/12/rsv-pregnancy-self-referral/index.md

app/images/book-a-vaccination/2024/12/rsv-pregnancy-self-referral/rsvpregko.png renamed to app/book-a-vaccination/2024/12/rsv-pregnancy-self-referral/rsvpregko.png

File renamed without changes.

app/images/book-a-vaccination/2024/12/rsv-pregnancy-self-referral/rsvpregsr.png renamed to app/book-a-vaccination/2024/12/rsv-pregnancy-self-referral/rsvpregsr.png

File renamed without changes.

app/posts/book-a-vaccination/2025/02/2025-02-18-improving-appointment-selection.md renamed to app/book-a-vaccination/2025/02/improving-appointment-selection/index.md

app/images/book-a-vaccination/2025/02/improving-appointment-selection/timerangenew.png renamed to app/book-a-vaccination/2025/02/improving-appointment-selection/timerangenew.png

File renamed without changes.

app/images/book-a-vaccination/2025/02/improving-appointment-selection/timerangeold.png renamed to app/book-a-vaccination/2025/02/improving-appointment-selection/timerangeold.png

File renamed without changes.

app/images/book-a-vaccination/2025/02/improving-appointment-selection/timeslotnew.png renamed to app/book-a-vaccination/2025/02/improving-appointment-selection/timeslotnew.png

File renamed without changes.

app/images/book-a-vaccination/2025/02/improving-appointment-selection/timeslotold.png renamed to app/book-a-vaccination/2025/02/improving-appointment-selection/timeslotold.png

File renamed without changes.

0 commit comments

Comments
 (0)