hugo/tpl
Cameron Moore 19c5910485 tpl: Add math.Ceil, Floor, and Round
Ceil and Floor are frontends for the stdlib math functions. The Round
implementation is essentially the same thing except that the Go stdlib
doesn't include a Round implementation in a stable release yet.  I've
included the Round function slated for Go 1.10.

Fixes #3883
2017-09-24 10:06:14 +02:00
..
cast Fix the docs helper tool 2017-09-23 10:20:11 +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 tpl: Add math.Ceil, Floor, and Round 2017-09-24 10:06:14 +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 Trim newlines in the hightlight shortcode 2017-09-23 18:14:07 +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