Skip to content
Discussion options

You must be logged in to vote

What that part of the docs is telling you is that Statiq will look for properties on specific documents, and it will create redirects (either in the form of pages with metadata redirects, or by creating a _redirects file for you automatically, when the NetlifyRedirects is set.

You can see these examples of what I am referring to in the Chocolatey docs repository:

https://github.com/chocolatey/docs/search?q=RedirectFrom

Each one of these attributes results in a redirect page being created in the output folder when we build the site.

As an example, go into the about.md file in your repository, and add the following:

RedirectFrom: gary

Run the build, and a new _redirects file will be create…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@daveaglick
Comment options

Answer selected by corbob
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants