summaryrefslogtreecommitdiffstats
path: root/tpl/templates
diff options
context:
space:
mode:
authorCameron Moore <moorereason@gmail.com>2018-11-29 21:32:53 -0600
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-11-30 08:56:30 +0100
commit30a7c9ea37a0f36451946f8688a3f807618a7eff (patch)
treec9e755a48d2e1daf0b3b2a41b9abece71436c32e /tpl/templates
parent8346848109ab57cb04de87c6d86859c6b3de8ffa (diff)
tpl: Add godoc packages comments
Also fix package name in tpl/templates.
Diffstat (limited to 'tpl/templates')
-rw-r--r--tpl/templates/init.go2
-rw-r--r--tpl/templates/init_test.go2
-rw-r--r--tpl/templates/templates.go3
3 files changed, 4 insertions, 3 deletions
diff --git a/tpl/templates/init.go b/tpl/templates/init.go
index a68809e65..8bc53ef49 100644
--- a/tpl/templates/init.go
+++ b/tpl/templates/init.go
@@ -11,7 +11,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-package partials
+package templates
import (
"github.com/gohugoio/hugo/deps"
diff --git a/tpl/templates/init_test.go b/tpl/templates/init_test.go
index d833cddc1..9a0533fe8 100644
--- a/tpl/templates/init_test.go
+++ b/tpl/templates/init_test.go
@@ -11,7 +11,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-package partials
+package templates
import (
"testing"
diff --git a/tpl/templates/templates.go b/tpl/templates/templates.go
index 7a69e28a6..44d397e68 100644
--- a/tpl/templates/templates.go
+++ b/tpl/templates/templates.go
@@ -11,7 +11,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-package partials
+// Package templates provides template functions for working with templates.
+package templates
import (
"github.com/gohugoio/hugo/deps"