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 all: Update import paths to gohugoio/hugo 2017-06-13 18:42:45 +02:00
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 all: Update import paths to gohugoio/hugo 2017-06-13 18:42:45 +02:00
data tpl: Use hash for cache key 2017-07-21 13:10:11 +02:00
encoding all: Update import paths to gohugoio/hugo 2017-06-13 18:42:45 +02:00
fmt Add some missing doc comments 2017-08-03 15:57:51 +02:00
images tpl: Add WebP images support 2017-06-28 21:45:48 +02:00
inflect Switch from fork bep/inflect to markbates/inflect 2017-08-01 13:05:09 +02:00
internal all: Fix spelling 2017-08-07 20:19:24 +02:00
lang Run gofmt to get imports in line vs gohugoio/hugo 2017-06-13 19:12:10 +02:00
math all: Fix spelling 2017-08-07 20:19:24 +02:00
os Add some missing doc comments 2017-08-03 15:57:51 +02:00
partials Add some missing doc comments 2017-08-03 15:57:51 +02:00
safe Run gofmt to get imports in line vs gohugoio/hugo 2017-06-13 19:12:10 +02:00
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 Add some missing doc comments 2017-08-03 15:57:51 +02:00
template.go tpl: Prepare for template metrics 2017-08-19 09:57:37 +02:00