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
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
template_resources_test.go
template_test.go Disable faulty range validation in apply 2015-05-02 11:32:28 +02:00