1
0
Fork 0
mirror of https://github.com/gohugoio/hugo.git synced 2025-03-28 17:34:27 +00:00
hugo/tpl
raoulb 9d2b5f98d0
math: Add trigonometric functions and some angle helper functions
This commit adds these new template functions in the `math` namespace:

math.Acos
math.Asin
math.Atan
math.Atan2
math.Cos
math.Pi
math.Sin
math.Tan
math.ToDegrees
math.ToRadians

Co-authored-by: Joe Mooring <joe@mooring.com>
2024-07-29 11:05:36 +02:00
..
cast
collections
compare
crypto Add hash.XxHash 2024-07-06 14:08:15 +02:00
css Add css.TailwindCSS 2024-06-25 15:48:02 +02:00
data
debug
diagrams
encoding
fmt
hash Add hash.XxHash 2024-07-06 14:08:15 +02:00
hugo
images
inflect
internal Clean up the css related template funcs package structure 2024-06-25 15:48:02 +02:00
js Clean up the css related template funcs package structure 2024-06-25 15:48:02 +02:00
lang
math math: Add trigonometric functions and some angle helper functions 2024-07-29 11:05:36 +02:00
openapi
os
page
partials
path
reflect
resources Clean up the css related template funcs package structure 2024-06-25 15:48:02 +02:00
safe
site
strings
templates Throw error if resources.PostProcess is used in a deferred template 2024-07-17 12:47:25 +02:00
time
tplimpl tpl: Use xxHash instead of MD5 to hash the deferred templates 2024-07-17 12:51:49 +02:00
transform
urls
template.go
template_info.go
template_test.go