Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/media
diff options
context:
space:
mode:
authorPhil Davis <phil@jankaritech.com>2020-12-16 14:11:32 +0300
committerGitHub <noreply@github.com>2020-12-16 14:11:32 +0300
commit04b89857e104ac7dcbf9fc65d8d4f1a1178123e6 (patch)
tree585bf761f0a1cfc69dffcd8afd22e94ca9da7c07 /media
parent21fa1e86f2aa929fb0983a0cc3dc4e271ea1cc54 (diff)
all: Fix minor typos
Diffstat (limited to 'media')
-rw-r--r--media/mediaType.go4
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