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 /source | |
parent | 21fa1e86f2aa929fb0983a0cc3dc4e271ea1cc54 (diff) | |
download | hugo-04b89857e104ac7dcbf9fc65d8d4f1a1178123e6.tar.gz hugo-04b89857e104ac7dcbf9fc65d8d4f1a1178123e6.zip |
all: Fix minor typos
Diffstat (limited to 'source')
-rw-r--r-- | source/fileInfo.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/fileInfo.go b/source/fileInfo.go index 4e7866315..9e7e6df53 100644 --- a/source/fileInfo.go +++ b/source/fileInfo.go @@ -152,7 +152,7 @@ func (fi *FileInfo) LogicalName() string { return fi.name } func (fi *FileInfo) BaseFileName() string { return fi.baseName } // TranslationBaseName returns a file's translation base name without the -// language segement (ie. "page"). +// language segment (ie. "page"). func (fi *FileInfo) TranslationBaseName() string { return fi.translationBaseName } // ContentBaseName is a either TranslationBaseName or name of containing folder @@ -266,7 +266,7 @@ func (sp *SourceSpec) NewFileInfo(fi hugofs.FileMetaInfo) (*FileInfo, error) { baseName := helpers.Filename(name) if translationBaseName == "" { - // This is usyally provided by the filesystem. But this FileInfo is also + // This is usually provided by the filesystem. But this FileInfo is also // created in a standalone context when doing "hugo new". This is // an approximate implementation, which is "good enough" in that case. fileLangExt := filepath.Ext(baseName) |