{{define "content"}}{{$page := .Data.Page}} {{template "back-nav" dict "Href" (printf "/p/%s/rename" $page.Public) "Label" "Rename"}} {{template "page-header" dict "Title" (printf "Free \"%s\"?" .Data.Title) "Sub" "Another page may then take this title."}}

Links typed with "{{.Data.Title}}" stop leading to {{$page.Label}}. They become pending, or lead to a new page that takes the title.

{{template "confirm-form" dict "Action" .Data.Action "Label" "Free this title" "Danger" true "CancelHref" (printf "/p/%s/rename" $page.Public) "CancelLabel" "Cancel"}} {{end}}