hugo/tpl
Tatsushi Demachi 601a2ce124 Add time.Time type support to where tpl func
`where` tpl function doesn't support `time.Time` type so if people want
to compare such values, it's required that these values are converted
into `int` and compare them.

This improves it. If `time.Time` values are passed to `where`, it
converts them into `int` internally, compares them and returns the
result.

See also
http://discuss.gohugo.io/t/future-posts-and-past-posts/1229/3
2015-05-26 15:59:36 +02:00
..
template.go Expand the ACE base template lookup pattern 2015-04-18 13:58:20 +02:00
template_embedded.go Set s.Info.LastChange to Lastmod 2015-05-15 13:10:11 +02:00
template_funcs.go Add time.Time type support to where tpl func 2015-05-26 15:59:36 +02:00
template_funcs_test.go Add time.Time type support to where tpl func 2015-05-26 15:59:36 +02:00
template_resources.go More initialism corrections (golint) 2015-03-18 11:30:37 +01:00
template_resources_test.go Correct initialisms as suggested by golint 2015-03-11 21:55:00 +01:00
template_test.go Disable faulty range validation in apply 2015-05-02 11:32:28 +02:00