Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tidy up redirects #98

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
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
12 changes: 10 additions & 2 deletions .forestry/front_matter/templates/redirect.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,25 @@ fields:
- type: text
name: title
label: Title
description: The title of your post
description: The title of the page
config:
required: true
- type: text
name: permalink
label: permalink
description: The link to this page (probably the same as redirect_from)
config:
required: true
- type: list
name: redirect_from
label: Redirect from
description: Other NNT links which will redirect to this page
- type: text
name: redirect_to
label: Redirect to
description: 'Another URL that this page will link to '
description: 'Another URL that this page will link to'
config:
required: true
pages:
- _content/assassins.md
- _content/festival-staff-site.md
6 changes: 0 additions & 6 deletions _content/about-us/committee.md

This file was deleted.

4 changes: 0 additions & 4 deletions _content/about-us/mailing-list.md

This file was deleted.

6 changes: 6 additions & 0 deletions _content/redirects/about-us/committee.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: About-Committee
redirect_to: /about/#committee
permalink: /about-us/committee/

---
5 changes: 5 additions & 0 deletions _content/redirects/about-us/mailinglist.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: Mailing List
redirect_to: /mailinglist/
permalink: /about-us/mailinglist/
---
4 changes: 2 additions & 2 deletions _content/assassins.md → _content/redirects/assassins.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: 'Assassins '
redirect_from: ''
title: 'Assassins'
permalink: '/assassins/'
redirect_to: https://docs.google.com/forms/d/e/1FAIpQLSf3s7bkjV9GEIZiMMoaxgM06yb7W7HrAPjd1zyKF7IJAJE1-Q/viewform
date: 2019-04-10 14:11:49 +0000

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: festival
redirect_from: "/festival"
permalink: "/festival/"
redirect_to: https://nt-festival.herokuapp.com/

---
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Act
redirect_from: /get-involved/act
permalink: /get-involved/act/
redirect_to: /get-involved/#acting
---
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Carpentry
redirect_from: /get-involved/construct-2/
permalink: /get-involved/construct-2/
redirect_to: /get-involved/#set
---
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Costume, Props & Make-up
redirect_from: /get-involved/costume-props-makeup
permalink: /get-involved/costume-props-makeup/
redirect_to: /get-involved/#costume-props-and-make-up
---
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Direct
redirect_from: /get-involved/direct
permalink: /get-involved/direct/
redirect_to: /get-involved/#directing
---
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Lighting Design
redirect_from: /get-involved/lighting/
permalink: /get-involved/lighting/
redirect_to: /get-involved/#lighting-design
---
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Marketing
redirect_from: /get-involved/publicise/
permalink: /get-involved/publicise/
redirect_to: /get-involved/#marketing-and-publicity
---
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Produce
redirect_from: /get-involved/produce
permalink: /get-involved/produce/
redirect_to: /get-involved/#producing
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Set
redirect_from: get-involved/set-design
permalink: /get-involved/set-design/
redirect_to: /get-involved/#set
---
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Stage Manage
redirect_from: /get-involved/stage-manage/
permalink: /get-involved/stage-manage/
redirect_to: /get-involved/#stage-management
---
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Sound
redirect_from: /get-involved/sound-design/
permalink: /get-involved/sound-design/
redirect_to: /get-involved/#sound-design
---
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Tech
redirect_from: /get-involved/tech
permalink: /get-involved/tech/
redirect_to: /get-involved/#tech
---
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Write
redirect_from: /get-involved/write
permalink: /get-involved/write/
redirect_to: /get-involved/#writing
---
5 changes: 5 additions & 0 deletions _content/mailinglist.md → _content/redirects/mailinglist.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
---
title: Mailing List
redirect_to: https://newtheatre.us3.list-manage.com/subscribe?u=ce5311ce46fe45638f90f4022&id=da4b88f76e
permalink: /mailinglist/
redirect_from:
- /mailing-list/
- /about-us/mailinglist/
- /about-us/mailing-list/
---

4 changes: 2 additions & 2 deletions _data/pricing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ pricing:
type: fringe
- stuff: 3
type: stuff
- stuff-day-pass: 15
- stuff-day-pass: 10
type: stuff
- stuff-festival-pass: 25
- stuff-festival-pass: 15
type: stuff