wpath

package
v0.1.2 Latest Latest
Warning

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

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

Documentation

Overview

Package wpath handles pages paths.

Index

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.

Jump to

Keyboard shortcuts

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