mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-21 21:35:28 +02:00
helpers, output: Fix spelling
This commit is contained in:
@@ -30,7 +30,7 @@ func (b BaseURL) String() string {
|
|||||||
return b.urlStr
|
return b.urlStr
|
||||||
}
|
}
|
||||||
|
|
||||||
// Protocol is normaly on the form "scheme://", i.e. "webcal://".
|
// Protocol is normally on the form "scheme://", i.e. "webcal://".
|
||||||
func (b BaseURL) WithProtocol(protocol string) (string, error) {
|
func (b BaseURL) WithProtocol(protocol string) (string, error) {
|
||||||
u := b.URL()
|
u := b.URL()
|
||||||
|
|
||||||
|
@@ -96,7 +96,7 @@ func (formats Formats) GetByName(name string) (f Format, found bool) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
// Format represents an output represenation, usually to a file on disk.
|
// Format represents an output representation, usually to a file on disk.
|
||||||
type Format struct {
|
type Format struct {
|
||||||
// The Name is used as an identifier. Internal output formats (i.e. HTML and RSS)
|
// The Name is used as an identifier. Internal output formats (i.e. HTML and RSS)
|
||||||
// can be overridden by providing a new definition for those types.
|
// can be overridden by providing a new definition for those types.
|
||||||
|
Reference in New Issue
Block a user