hugo/tpl
Bjørn Erik Pedersen 2ba2271e4a
tpl/math: Allow variadic math functions to take slice args, add math.Product, math.Sum
* Update math.Min and math.Max to allow 1 or more args, either scalar or slice, or combination of the two
* Add math.Sum (allow 1 or more args, either scalar or slice, or combination of the two)
* Add math.Product (allow 1 or more args, either scalar or slice, or combination of the two)

Fixes #11030
2023-06-13 20:00:00 +02:00
..
cast Add hugo.WorkingDir 2023-05-20 17:45:56 +02:00
collections Fix potential deadlock in ByParam 2023-05-29 14:01:07 +02:00
compare all: Fix comments for exported functions and packages 2023-05-18 21:25:27 +02:00
crypto Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
css Add a page template func 2023-02-25 19:53:18 +01:00
data Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
debug tpl/debug: Add VisualizeSpaces 2023-04-20 11:27:55 +02:00
diagrams Add a page template func 2023-02-25 19:53:18 +01:00
encoding Add a page template func 2023-02-25 19:53:18 +01:00
fmt Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
hugo Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
images Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
inflect Add a page template func 2023-02-25 19:53:18 +01:00
internal all: Replace deprecated ioutil with io and os 2023-06-01 17:52:21 +02:00
js Add a page template func 2023-02-25 19:53:18 +01:00
lang tpl/lang: document delimiter option for FormatNumberCustom 2023-05-17 23:35:43 +02:00
math tpl/math: Allow variadic math functions to take slice args, add math.Product, math.Sum 2023-06-13 20:00:00 +02:00
openapi Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
os Add a page template func 2023-02-25 19:53:18 +01:00
page Allow page.TableOfContents on self in shortcode 2023-03-05 12:51:57 +01:00
partials Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
path Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
reflect Add a page template func 2023-02-25 19:53:18 +01:00
resources resources.functions: improve validation 2023-03-20 14:53:57 +01:00
safe Add a page template func 2023-02-25 19:53:18 +01:00
site Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
strings Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
templates Run gofmt -s on source files 2023-03-12 10:32:29 +01:00
time Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
tplimpl tpl/tplimpl: Use .Language.LanguageCode in built-in templates 2023-05-30 20:10:16 +02:00
transform markup: Fix typo in function and struct names 2023-06-01 17:59:44 +02:00
urls tpl/urls: Return empty string when JoinPath has zero args 2023-05-20 11:14:18 +02:00
template.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
template_info.go Add --printUnusedTemplates 2022-02-15 20:01:57 +01:00
template_test.go Fix Plainify edge cases 2022-05-25 17:55:23 +02:00