Documentation ¶
Index ¶
- Variables
- func CanonicalizePath(site *site.Descriptor, next http.Handler) http.Handler
- func IndexPage(site *site.Descriptor, next http.Handler) http.Handler
- func RedirectCustomDomain(site *site.Descriptor, next http.Handler) http.Handler
- func RouteSPA(site *site.Descriptor, next http.Handler) http.Handler
Constants ¶
This section is empty.
Variables ¶
View Source
var Default = []site.Middleware{ RedirectCustomDomain, CanonicalizePath, RouteSPA, IndexPage, }
Functions ¶
func CanonicalizePath ¶
func RedirectCustomDomain ¶ added in v0.5.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.