From 75e55cd06f63bc545c1700cd6904e509fc91093b Mon Sep 17 00:00:00 2001 From: bogem Date: Mon, 21 Nov 2016 23:01:42 +0100 Subject: hugolib, source, tpl: Fix docs See #2014 --- source/file.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'source') 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 } -- cgit v1.2.3