diff options
author | bogem <[email protected]> | 2016-11-21 23:01:42 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2016-11-23 09:13:00 +0100 |
commit | 75e55cd06f63bc545c1700cd6904e509fc91093b (patch) | |
tree | aa1effc77857285545c640f1bd1c2e9a3708760f /source | |
parent | e81c06c3f0a6f9a960d91b31960e48a807112655 (diff) | |
download | hugo-75e55cd06f63bc545c1700cd6904e509fc91093b.tar.gz hugo-75e55cd06f63bc545c1700cd6904e509fc91093b.zip |
hugolib, source, tpl: Fix docs
See #2014
Diffstat (limited to 'source')
-rw-r--r-- | source/file.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/file.go b/source/file.go index c309bbd03..5877004ca 100644 --- a/source/file.go +++ b/source/file.go @@ -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 } |