forked from bbc/wraith
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add base_path and compare_path options for paths
This adds the option to supply two different paths for particular pages, for instances where the url changes between domains (e.g. testing a migration to a new slug library or a new CMS). Closes bbc#552
- Loading branch information
Steve Day
authored and
Steve Day
committed
Sep 10, 2018
1 parent
f4859e5
commit 3e8cd0c
Showing
5 changed files
with
62 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
imports: 'test_config--phantom.yaml' | ||
|
||
paths: | ||
home: | ||
base_path: /old-home | ||
compare_path: /new-home | ||
uk_index: | ||
base_path: /old-uk | ||
compare_path: /new-uk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters