Commit Graph

516 Commits

Author SHA1 Message Date
Joe Mooring 1377ed4deb Clarify date parsing 2024-10-05 15:57:06 -07:00
Joe Mooring a39951847d Update Tailwind CSS installation instructions 2024-10-04 13:04:30 -07:00
Joe Mooring efbee0bff8 Clarify resources.GetRemote 404 handling 2024-09-28 16:07:58 -07:00
Joe Mooring 4312d49c91 Update compare.Conditional documentation 2024-09-27 10:35:49 -07:00
Bjørn Erik Pedersen 4c316f051e Update TailwindCSS.md 2024-09-27 11:17:45 +02:00
Joe Mooring e9e917f377 Update version refs 2024-09-20 08:37:59 -07:00
Joe Mooring c3350f4cfd Update definition of falsy to include zero time.Time values 2024-08-25 08:32:29 -07:00
Joe Mooring e5dee26513 Update transform.ToMath 2024-08-22 14:31:18 -07:00
Joe Mooring 41df916594 Document the 'else with' construct introduced with Go 1.23 2024-08-17 22:45:42 +02:00
Joe Mooring 2f793d3284 Document passthrough render hooks 2024-08-13 17:24:01 +02:00
Joe Mooring 8f5afb55d5 Update plainify return type
This was changed from string to template.HTML in v0.132.0.
2024-08-12 09:13:32 -07:00
Bjørn Erik Pedersen 82b5586fb3 Document transform.ToMath 2024-08-12 17:47:40 +02:00
Bjørn Erik Pedersen fcc3ed651a Remove some expired new-in 2024-08-08 11:42:18 +02:00
Bjørn Erik Pedersen 328fe564e1 Remove some outdated new-in 2024-08-02 10:57:10 +02:00
Bjørn Erik Pedersen 1d503f8464 Merge branch 'tempv0.130.0' 2024-07-29 16:25:18 +02:00
raoulb e2458074dc 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
Andreas Deininger 8d759175d7 Fix typos 2024-07-18 08:45:19 -07:00
Bjørn Erik Pedersen 55daa4554d Update XxHash.md 2024-07-17 16:07:32 +02:00
Joe Mooring 397c81cb7a Add namespace for hash functions 2024-07-17 16:03:58 +02:00
John e6e1fea499 Fix typo in Hugo docs | functions | partial 2024-07-16 09:53:16 -07:00
Joe Mooring 2600a8a2e2 Miscellaneous edits 2024-06-27 10:46:00 -07:00
Bjørn Erik Pedersen 3fdd5819b5 Update Build.md
Make the shims example React 18 compatible.
2024-06-27 11:26:17 +02:00
Salim B 5e3941d82b Fix typos 2024-06-25 16:39:54 -07:00
Joe Mooring 748bf065f9 Restructure templates section 2024-06-25 12:01:08 -07:00
Bjørn Erik Pedersen fafbf65669 Update Defer.md 2024-06-25 20:11:41 +02:00
Joe Mooring 012162e0d2 Document changes to template functions in v0.128.0
- New: css.TailwindCSS
- Deprecate/rename: resources.Babel => js.Babel
- Deprecate/rename: resources.PostCSS => css.PostCSS
- Deprecate/rename: resources.ToCSS => css.Sass
- Document disableWatch mount parameter
2024-06-25 19:10:02 +02:00
Joe Mooring 4449d530d4 Document new pagination config 2024-06-25 19:06:53 +02:00
Bjørn Erik Pedersen 0af8be439f Update Defer.md 2024-06-25 19:04:52 +02:00
Bjørn Erik Pedersen d67b6d82e4 Update content/en/functions/templates/Defer.md
Co-authored-by: Joe Mooring <joe@mooring.com>
2024-06-25 18:55:35 +02:00
Bjørn Erik Pedersen 23d996b3da Update content/en/functions/templates/Defer.md
Co-authored-by: Joe Mooring <joe@mooring.com>
2024-06-25 18:55:35 +02:00
Bjørn Erik Pedersen 7f7fb2f272 Document templates.Defer 2024-06-25 18:55:35 +02:00
Joe Mooring 017da70a0b Ensure consistent use of method instead of variable 2024-06-15 16:05:30 -07:00
Joe Mooring 18b8c79f33 Improve url function examples 2024-06-15 11:43:49 -07:00
Joe Mooring 89e6997f14 Improve url function examples 2024-06-14 16:19:20 -07:00
Joe Mooring f0e95c8d18 Add examples to comparison operators 2024-06-09 20:12:30 -07:00
Joe Mooring 015049af9e Fix typos 2024-06-08 20:22:23 -07:00
Joe Mooring 6bca7bc77f Rework safe functions
Closes #2252
Improves #2196
2024-05-26 11:07:29 -07:00
Joe Mooring e30d179471 Rework index function
Improves #2196
2024-05-26 11:07:29 -07:00
Joe Mooring b76e81697b Miscellaneous edits 2024-05-25 16:17:55 -07:00
Joe Mooring 2f5d1712b0 Add security.http.mediaTypes to security page 2024-05-20 11:33:39 -07:00
Bjørn Erik Pedersen 011742c247 timer: Adjust output example 2024-05-17 12:52:14 +02:00
Joe Mooring 58b9554b78 Update version references 2024-05-14 06:59:04 -07:00
Joe Mooring fb76580f81 Update function signatures
Co-authored-by: irkode <irkode@rikode.de>
2024-05-11 06:15:59 -07:00
Joe Mooring 463adcf268 Use key-value consistently throughout documentation 2024-05-11 04:38:17 -07:00
Joe Mooring b4fc35c3e7 Change transform.Unmarshal remote data examples (#2557) 2024-05-06 07:42:02 -07:00
Joe Mooring 3b3b0693d5 Update Dart Sass version refs 2024-05-02 05:04:38 -07:00
Bjørn Erik Pedersen 6ec03c2c7d Update WorkingDir: Add new-in 2024-04-30 15:12:58 +02:00
Joe Mooring b161cc0c52 Update version references 2024-04-27 06:22:08 -07:00
Joe Mooring 28a1b9dcec Update Parse.md 2024-04-22 09:47:42 -07:00
Joe Mooring 79f22ead4c Update strings.Diff description 2024-04-18 09:04:30 -07:00