mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
helpers, output: Fix spelling
This commit is contained in:
parent
af55ec7661
commit
5989c4d464
2 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue