hugolib, source, tpl: Fix docs

See #2014
This commit is contained in:
bogem
2016-11-21 23:01:42 +01:00
committed by Bjørn Erik Pedersen
parent e81c06c3f0
commit 75e55cd06f
3 changed files with 12 additions and 7 deletions

View File

@@ -54,12 +54,13 @@ func (f *File) Bytes() []byte {
return helpers.ReaderToBytes(f.Contents)
}
// BaseFileName Filename without extension.
// BaseFileName is a filename without extension.
func (f *File) BaseFileName() string {
return f.baseName
}
// Filename with no extension, not even the optional language extension part.
// TranslationBaseName is a filename with no extension,
// not even the optional language extension part.
func (f *File) TranslationBaseName() string {
return f.translationBaseName
}