tpl: Fix hugo package name and add godocs - hugo - [fork] hugo port for 9front
(HTM) git clone git@git.drkhsh.at/hugo.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Submodules
(DIR) README
(DIR) LICENSE
---
(DIR) commit 4f93f8c670b26258dc7e3a613c38dbc86d8eda76
(DIR) parent f76e50118b8b5dd8989d068db35222bfa0a242d8
(HTM) Author: Cameron Moore <moorereason@gmail.com>
Date: Fri, 28 Dec 2018 12:48:12 -0600
tpl: Fix hugo package name and add godocs
Diffstat:
M tpl/hugo/init.go | 3 ++-
M tpl/hugo/init_test.go | 2 +-
M tpl/reflect/init.go | 1 +
M tpl/site/init.go | 1 +
4 files changed, 5 insertions(+), 2 deletions(-)
---
(DIR) diff --git 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"
(DIR) diff --git 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"
(DIR) diff --git 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 (
(DIR) diff --git 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 (