summaryrefslogtreecommitdiffstats
path: root/tpl/math/math.go
AgeCommit message (Expand)Author
2024-01-28all: Run gofumpt -l -w .Bjørn Erik Pedersen
2023-12-29tpl/math: Add math.Rand template functionJoe Mooring
2023-06-13tpl/math: Allow variadic math functions to take slice args, add math.Product,...Bjørn Erik Pedersen
2023-05-16tpl: Add math.AbsOleksandr Redko
2023-05-16Create a struct with all of Hugo's config optionsBjørn Erik Pedersen
2023-03-14tpl/math: Return error if less than 2 input numberssepts
2023-03-11tpl/math: Allow multi numbers in add, sub, mul, div, min and maxsepts
2022-05-06tpl: Improve godocBjørn Erik Pedersen
2022-03-17all: gofmt -w -r 'interface{} -> any' .Bjørn Erik Pedersen
2022-02-17tpl/partials: Make sure a cached partial is invoked only onceBjørn Erik Pedersen
2021-05-28Add math.Max and math.MinJoe Mooring
2020-12-16all: Fix minor typosPhil Davis
2020-12-03all: Format code with gofumptBjørn Erik Pedersen
2020-05-14Add math.PowJoe Mooring
2020-02-24tpl: Add math.SqrtChris Dennis
2019-03-24all: Apply staticcheck recommendationsBjørn Erik Pedersen
2018-11-30tpl: Add godoc packages commentsCameron Moore
2018-07-06Add a newScratch template funcBjørn Erik Pedersen
2017-10-30tpl/math: Refactor Mod with castArtem Sidorenko
2017-09-24tpl: Add math.Ceil, Floor, and RoundCameron Moore
2017-08-07all: Fix spellingBjørn Erik Pedersen
2017-08-03Add some missing doc commentsJorin Vogel
2017-07-03tpl/math: Add log functionArtem Sidorenko
2017-05-01tpl: Fix the remaining template funcs namespace issuesBjørn Erik Pedersen
2017-04-30tpl: Add template function namespacesCameron Moore