hugo/tpl
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
..
cast
collections hugolib: Implement "related content" 2017-09-06 00:20:02 +02:00
compare tpl/compare: Add cond (ternary) template func 2017-09-08 16:59:43 +02:00
crypto
data
encoding
fmt
images
inflect
internal all: Fix spelling 2017-08-07 20:19:24 +02:00
lang
math all: Fix spelling 2017-08-07 20:19:24 +02:00
os
partials
safe
strings tpl: Cleanup strings.TrimPrefix and TrimSuffix 2017-08-18 14:21:58 +02:00
time tpl/time: Add time.Duration and time.ParseDuration template funcs 2017-09-09 09:43:00 +02:00
tplimpl Update template_embedded.go 2017-08-22 20:26:04 +02:00
transform tpl/transform: Only strip p tag in markdownify if only one paragraph 2017-08-10 19:52:41 +02:00
urls
template.go tpl: Prepare for template metrics 2017-08-19 09:57:37 +02:00