diff options
author | Phil Davis <[email protected]> | 2020-12-16 16:56:32 +0545 |
---|---|---|
committer | GitHub <[email protected]> | 2020-12-16 12:11:32 +0100 |
commit | 04b89857e104ac7dcbf9fc65d8d4f1a1178123e6 (patch) | |
tree | 585bf761f0a1cfc69dffcd8afd22e94ca9da7c07 /media | |
parent | 21fa1e86f2aa929fb0983a0cc3dc4e271ea1cc54 (diff) | |
download | hugo-04b89857e104ac7dcbf9fc65d8d4f1a1178123e6.tar.gz hugo-04b89857e104ac7dcbf9fc65d8d4f1a1178123e6.zip |
all: Fix minor typos
Diffstat (limited to 'media')
-rw-r--r-- | media/mediaType.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/media/mediaType.go b/media/mediaType.go index 21d4ddca5..9e35212b2 100644 --- a/media/mediaType.go +++ b/media/mediaType.go @@ -40,7 +40,7 @@ type Type struct { SubType string `json:"subType"` // i.e. html // This is the optional suffix after the "+" in the MIME type, - // e.g. "xml" in "applicatiion/rss+xml". + // e.g. "xml" in "application/rss+xml". mimeSuffix string Delimiter string `json:"delimiter"` // e.g. "." @@ -107,7 +107,7 @@ func (m Type) FullSuffix() string { return m.Delimiter + m.Suffix() } -// Suffix returns the file suffix without any delmiter prepended. +// Suffix returns the file suffix without any delimiter prepended. func (m Type) Suffix() string { if m.fileSuffix != "" { return m.fileSuffix |