Skip to content

Commit

Permalink
Merge pull request #4302 from DFE-Digital/delete-back-to-school-blog
Browse files Browse the repository at this point in the history
Delete back to school as a trainee teacher
  • Loading branch information
emmaachesongray authored Oct 31, 2024
2 parents 7f87e53 + dcfd360 commit 0a760c3
Show file tree
Hide file tree
Showing 9 changed files with 5 additions and 52 deletions.
42 changes: 0 additions & 42 deletions app/views/content/blog/back-to-school-as-a-trainee-teacher.md

This file was deleted.

Binary file removed app/webpacker/images/content/blog/jacob.jpg
Binary file not shown.
Binary file not shown.
5 changes: 0 additions & 5 deletions config/images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -255,11 +255,6 @@
variants:
- "static/images/content/blog/thumbnails/interview.jpg"

"static/images/content/blog/jacob.jpg":
alt: "Teacher training course student and biology graduate Jacob."
variants:
- "static/images/content/blog/thumbnails/jacob.jpg"

"static/images/content/blog/mel-oconnor.jpg":
alt: "Trainee teacher Mel O'Connor taking a PGDE teacher training course in maths."
variants:
Expand Down
2 changes: 2 additions & 0 deletions config/redirects.yml
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,7 @@ redirects:
"/blog/the-fellowship-of-teachers": "/life-as-a-teacher"
"/blog/why-i-became-a-teacher": "/life-as-a-teacher"
"/blog/how-to-ace-a-video-interview": "/how-to-apply-for-teacher-training/teacher-training-interview"
"/blog/back-to-school-as-a-trainee-teacher": "/train-to-be-a-teacher/initial-teacher-training"

# Blog tags
"/blog/tag/get-into-teaching-events": "/events/about-get-into-teaching-events"
Expand All @@ -379,6 +380,7 @@ redirects:
"/blog/tag/personal-statements": "/how-to-apply-for-teacher-training/teacher-training-personal-statement"
"/blog/tag/school-experience": "/train-to-be-a-teacher/get-school-experience"
"/blog/tag/teaching-internships": "/train-to-be-a-teacher/teaching-internships"
"/blog/tag/advisers": "/teacher-training-advisers"

# Covid page
"/covid-19": "/"
Expand Down
1 change: 0 additions & 1 deletion config/tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,4 @@
- mentors
- support
- teacher training
- advisers
- veterans
1 change: 0 additions & 1 deletion spec/features/blog_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
end

include_context "paginating blog posts", "/blog", 10, true
include_context "paginating blog posts", "/blog/tag/advisers", 1, false

scenario "viewing a post" do
path = "my-career-change-to-teaching"
Expand Down
4 changes: 2 additions & 2 deletions spec/requests/canonical_urls_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
end

context "when requesting a nested path" do
before { get blog_path("back-to-school-as-a-trainee-teacher") }
before { get blog_path("my-career-change-to-teaching") }

it { is_expected.to include(canonical_tag("/blog/back-to-school-as-a-trainee-teacher")) }
it { is_expected.to include(canonical_tag("/blog/my-career-change-to-teaching")) }
end

context "when requesting a path with query parameters" do
Expand Down
2 changes: 1 addition & 1 deletion spec/requests/gtm_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"/steps-to-become-a-teacher",
"/ways_to_train",
"/welcome",
blog_path("back-to-school-as-a-trainee-teacher"),
blog_path("my-career-change-to-teaching"),
blog_index_path,
event_path(event.readable_id),
event_step_path(event.readable_id, :personal_details),
Expand Down

0 comments on commit 0a760c3

Please sign in to comment.