Documentation ¶ Overview ¶ Package wpath handles pages paths. Index ¶ func Format(path string) string func Label(u string, backup string) string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Format ¶ func Format(path string) string Format formats the given path into a correct pages path by removing all `{digit(s)}-` prefixes at the start of path segments, which are used for ordering files and folders and thus should not be displayed. func Label ¶ added in v0.1.1 func Label(u string, backup string) string Label returns a user friendly label for the given page URL, with the given backup name if the URL is blank. Types ¶ This section is empty. Source Files ¶ View all Source files wpath.go Click to show internal directories. Click to hide internal directories.