Add /get-started which redirects to the latest quickstart #204
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds
kroxylicious.io/get-startedwhich will redirect to the latest proxy quickstartWhy: I want a permanent and snappy URL that redirects to the latest proxy quick start so that I can embed it in videos etc.
This should be long lasting so I've added simple tests (invoked at the end of build.sh) to check that the page, target page and link are what we expect. This will be invoked by the PR build so breaks should cause a PR check failure and block merging.
Note that you can't use liquid templating or fancy shmancy variables and such in the YAML frontmatter of
go.markdown, so I've made the redirect layout slightly smarter, if a page passes atargetcontaining$$LATEST_RELEASE$$then it is replaced with the latest release version. I checked a couple of the established redirects.