Skip to content
Honmaple
Documentation navigation

rewrite

On this page

Rewrite

Rewrite front matter fields:

hooks:
  rewrite:
    enabled: true
    option:
      - src: "tag"
        dst: "tags"
        type: "list"
Field Description
src Required source field
dst Required destination field
type Optional; empty copies the value unchanged, list splits it on commas

Missing source or destination fields and unsupported types cause hook initialization to fail.