Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tpl/hugo
diff options
context:
space:
mode:
authorCameron Moore <moorereason@gmail.com>2018-12-28 21:48:12 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2019-04-27 23:44:57 +0300
commit4f93f8c670b26258dc7e3a613c38dbc86d8eda76 (patch)
treef7d44dd25095c4d035c09f6c7ad144f3f8ce8b5a /tpl/hugo
parentf76e50118b8b5dd8989d068db35222bfa0a242d8 (diff)
tpl: Fix hugo package name and add godocs
Diffstat (limited to 'tpl/hugo')
-rw-r--r--tpl/hugo/init.go3
-rw-r--r--tpl/hugo/init_test.go2
2 files changed, 3 insertions, 2 deletions
diff --git a/tpl/hugo/init.go b/tpl/hugo/init.go
index e5c7c0f28..1556b759c 100644
--- 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"
diff --git a/tpl/hugo/init_test.go b/tpl/hugo/init_test.go
index 60612761b..128f6fc19 100644
--- 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"