tpl: Fix reflect

Fixes #5564
This commit is contained in:
Cameron Moore 2018-12-28 03:41:46 -06:00 committed by Bjørn Erik Pedersen
parent 3f3187de0f
commit 9e4f9e0bb6
3 changed files with 1 additions and 2 deletions

View file

@ -1,7 +1,6 @@
--- ---
title: reflect.IsMap title: reflect.IsMap
description: Reports if a value is a map. description: Reports if a value is a map.
draft: true
godocref: godocref:
date: 2018-11-28 date: 2018-11-28
publishdate: 2018-11-28 publishdate: 2018-11-28

View file

@ -1,7 +1,6 @@
--- ---
title: reflect.IsSlice title: reflect.IsSlice
description: Reports if a value is a slice. description: Reports if a value is a slice.
draft: true
godocref: godocref:
date: 2018-11-28 date: 2018-11-28
publishdate: 2018-11-28 publishdate: 2018-11-28

View file

@ -38,6 +38,7 @@ import (
_ "github.com/gohugoio/hugo/tpl/os" _ "github.com/gohugoio/hugo/tpl/os"
_ "github.com/gohugoio/hugo/tpl/partials" _ "github.com/gohugoio/hugo/tpl/partials"
_ "github.com/gohugoio/hugo/tpl/path" _ "github.com/gohugoio/hugo/tpl/path"
_ "github.com/gohugoio/hugo/tpl/reflect"
_ "github.com/gohugoio/hugo/tpl/resources" _ "github.com/gohugoio/hugo/tpl/resources"
_ "github.com/gohugoio/hugo/tpl/safe" _ "github.com/gohugoio/hugo/tpl/safe"
_ "github.com/gohugoio/hugo/tpl/site" _ "github.com/gohugoio/hugo/tpl/site"