ref: 9e4f9e0bb69276e9bca0dfbdbc7aefbf5f6fc9e5
parent: 3f3187de0f62107da19d9341aebd1d8414bff0ea
author: Cameron Moore <[email protected]>
date: Thu Dec 27 22:41:46 EST 2018
tpl: Fix reflect Fixes #5564
--- a/docs/content/en/functions/reflect.IsMap.md
+++ b/docs/content/en/functions/reflect.IsMap.md
@@ -1,7 +1,6 @@
---
title: reflect.IsMap
description: Reports if a value is a map.
-draft: true
godocref:
date: 2018-11-28
publishdate: 2018-11-28
--- a/docs/content/en/functions/reflect.IsSlice.md
+++ b/docs/content/en/functions/reflect.IsSlice.md
@@ -1,7 +1,6 @@
---
title: reflect.IsSlice
description: Reports if a value is a slice.
-draft: true
godocref:
date: 2018-11-28
publishdate: 2018-11-28
--- a/tpl/tplimpl/template_funcs.go
+++ b/tpl/tplimpl/template_funcs.go
@@ -38,6 +38,7 @@
_ "github.com/gohugoio/hugo/tpl/os"
_ "github.com/gohugoio/hugo/tpl/partials"
_ "github.com/gohugoio/hugo/tpl/path"
+ _ "github.com/gohugoio/hugo/tpl/reflect"
_ "github.com/gohugoio/hugo/tpl/resources"
_ "github.com/gohugoio/hugo/tpl/safe"
_ "github.com/gohugoio/hugo/tpl/site"