ref: 4f93f8c670b26258dc7e3a613c38dbc86d8eda76
parent: f76e50118b8b5dd8989d068db35222bfa0a242d8
author: Cameron Moore <[email protected]>
date: Fri Dec 28 07:48:12 EST 2018
tpl: Fix hugo package name and add godocs
--- a/tpl/hugo/init.go
+++ b/tpl/hugo/init.go
@@ -11,7 +11,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-package site
+// Package hugo provides template functions for accessing the Site Hugo object.
+package hugo
import (
"github.com/gohugoio/hugo/deps"
--- a/tpl/hugo/init_test.go
+++ b/tpl/hugo/init_test.go
@@ -11,7 +11,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-package site
+package hugo
import (
"testing"
--- a/tpl/reflect/init.go
+++ b/tpl/reflect/init.go
@@ -11,6 +11,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+// Package reflect provides template functions for run-time object reflection.
package reflect
import (
--- a/tpl/site/init.go
+++ b/tpl/site/init.go
@@ -11,6 +11,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+// Package site provides template functions for accessing the Site object.
package site
import (