Documentation ¶
Overview ¶
Package forward allows to create simple redirections for pages that have moved to a new URL.
Index ¶
- type Forward
- func (self *Forward) AddPathMapping(sourcePath, targetPath string) *Forward
- func (self *Forward) Initialize(context *goldsmith.Context) error
- func (*Forward) Name() string
- func (self *Forward) PathMap(pathMap map[string]string) *Forward
- func (self *Forward) SourceKey(key string) *Forward
- func (self *Forward) TargetKey(key string) *Forward
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Forward ¶
type Forward struct {
// contains filtered or unexported fields
}
Forward plugin context.
func (*Forward) AddPathMapping ¶
AddPathMapping adds a single path mapping between an old path and a new path.
Click to show internal directories.
Click to hide internal directories.