Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseURL ¶ added in v0.112.0
type BaseURL struct { WithPath string WithPathNoTrailingSlash string WithoutPath string BasePath string BasePathNoTrailingSlash string // contains filtered or unexported fields }
A BaseURL in Hugo is normally on the form scheme://path, but the form scheme: is also valid (mailto:hugo@rules.com).
func NewBaseURLFromString ¶ added in v0.112.0
func (BaseURL) HostURL ¶ added in v0.112.0
HostURL returns the URL to the host root without any path elements.
Click to show internal directories.
Click to hide internal directories.