Skip to content

v2.8.0

@balupton balupton tagged this 29 Jul 23:32
- Added the options `simpleRedirects`, `advancedRedirects` and `getRedirectScript`
	- These allow you to perform custom redirections on both dynamic and static environments
- We now use the encoding from the `redirectTemplateEncoding` option instead of the document's encoding
	- As the primary encoding is of the template, not of the possible document title
- `getRedirectTemplate` now accepts `url` and optional `title` arguments inside of a single `document` argument
- Simplified testing setup
- Updated dependencies
Assets 2
Loading