hugo/tpl/time
Bjørn Erik Pedersen f4bf214137 tpl/time: Add time.Duration and time.ParseDuration template funcs
And with time.Duration with the convenient alias `duration`:

```
{{ mul 60 60 | duration "second" }}
```

Fixes #3828
2017-09-09 09:43:00 +02:00
..
init.go tpl/time: Add time.Duration and time.ParseDuration template funcs 2017-09-09 09:43:00 +02:00
init_test.go all: Update import paths to gohugoio/hugo 2017-06-13 18:42:45 +02:00
time.go tpl/time: Add time.Duration and time.ParseDuration template funcs 2017-09-09 09:43:00 +02:00
time_test.go tpl/time: Add time.Duration and time.ParseDuration template funcs 2017-09-09 09:43:00 +02:00