rewrite

package
v0.1.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2026 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(ctx *core.Context) (hook.Hook, error)

Types

type Option

type Option struct {
	Src  string `json:"src"`
	Dst  string `json:"dst"`
	Type string `json:"type"`
}

type RewriteHook

type RewriteHook struct {
	hook.HookImpl
	// contains filtered or unexported fields
}

func (*RewriteHook) HandlePage

func (h *RewriteHook) HandlePage(page *content.Page) *content.Page

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL