tpl: Fix hugo package name and add godocs

This commit is contained in:
Cameron Moore 2018-12-28 12:48:12 -06:00 committed by Bjørn Erik Pedersen
parent f76e50118b
commit 4f93f8c670
4 changed files with 5 additions and 2 deletions

View File

@ -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"

View File

@ -11,7 +11,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package site
package hugo
import (
"testing"

View File

@ -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 (

View File

@ -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 (