14162 Commits

Author SHA1 Message Date
Bjørn Erik Pedersen
160f22d0e9
netlify: Hugo 0.132.0 2024-08-12 17:51:07 +02: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
a9c5981f5b
Fix cascade example 2024-08-02 11:56:44 +02:00
Bjørn Erik Pedersen
82bb250fa6
Add some lines about permalinks tokens in front matter 2024-08-02 11:54:26 +02:00
Bjørn Erik Pedersen
328fe564e1
Remove some outdated new-in 2024-08-02 10:57:10 +02:00
Joe Mooring
fb140b1539 Hide showcase menu entry 2024-07-29 16:40:33 +02:00
Joe Mooring
42d9d1c796 Update image formats from which EXIF data can be extracted 2024-07-29 16:26:16 +02:00
Bjørn Erik Pedersen
09ad56b6e2
netlify: Hugo 0.130.0 2024-07-29 16:25:39 +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
Bjørn Erik Pedersen
392afc8f93
Disable the showcase section for now
It's a little outdates.

Closes #32659
2024-07-28 23:09:37 +02:00
Cyrus Yip
0300750f21
Improve example of image render hook 2024-07-25 07:33:21 -07:00
Joe Mooring
60a9306afa
Improve description of the .Site.RegularPages method 2024-07-22 07:22:21 -07: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
Bjørn Erik Pedersen
70fe8d2f04
netlify: Bump Hugo 0.129.0 2024-07-17 16:00:34 +02:00
Bjørn Erik Pedersen
5a9771affc
Merge branch 'tempv0.129.0' 2024-07-17 15:59:50 +02:00
Joe Mooring
f9146575b6
Fix typo 2024-07-16 16:17:06 -07:00
John
e6e1fea499
Fix typo in Hugo docs | functions | partial 2024-07-16 09:53:16 -07:00
PeskyPotato
732d10ec46 source: Expose GitInfo Body
Updated bep/gitmap to v1.4.0, to get commit message's Body.
Added Body to GitInfo struct. Docs upated with commit body example.

Fixes #10905
2024-07-06 16:28:11 +02:00
Bjørn Erik Pedersen
34c97e639c
netlify: Hugo 0.128.2 v0.128.0 2024-07-04 10:29:58 +02:00
Felix Li
3270587e93
Fix typo 2024-07-02 04:22:36 -07:00
Bjørn Erik Pedersen
727c5396e7
netlify: Hugo 0.128.1 2024-07-02 10:12:21 +02:00
Joe Mooring
80b6ae99c4
Update GitHub Pages workflow file example 2024-06-28 13:44:09 -07:00
Joe Mooring
0271341023
Update GitHub Pages workflow file example 2024-06-28 13:28:31 -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
Joe Mooring
7764005c31
Improve example of render hook directory structure 2024-06-26 09:34:02 -07: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
0990ce35b5 quick-reference: Update emojis
This updates this emojis quick reference to:
https://github.com/yuin/goldmark-emoji/releases/tag/v1.0.3
2024-06-25 19:07:51 +02:00
Joe Mooring
6677a30ef2 Update Goldmark configuration documentation 2024-06-25 19:07:19 +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
56348196da
netlify: Hugo 0.128.0 2024-06-25 19:00:00 +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
Bjørn Erik Pedersen
5ada1e9d59
Fix docs merge (remove shortcode) 2024-06-25 18:53:09 +02:00
Bjørn Erik Pedersen
d27ee6156c
Merge branch 'tempv0.128.0' 2024-06-25 18:48:12 +02:00
Joe Mooring
5d7317c84d
Fix typo 2024-06-24 07:20:20 -07:00
Joe Mooring
7c18ee5462
Update theme 2024-06-23 08:04:32 -07:00
Bjørn Erik Pedersen
83bfea63bf
Update theme 2024-06-22 16:39:36 +02:00
Bjørn Erik Pedersen
b274b3238a Merge commit '8b9803425e63e1b1801f8d5d676e96368d706722' 2024-06-21 09:41:24 +02:00
Dietrich Epp
ff34a035a9 deploy: Add stripIndexHtml target option
This new configuration parameter causes paths matching
"<dir>/index.html" to be stored as "<dir>/" remotely. This simplifies
the cloud configuration needed for some use cases, such as CloudFront
distributions with S3 bucket origins. Before this change, users must
configure their S3 buckets as public websites (which is incompatible
with certain authentication / authorization schemes), or users must add
a CloudFormation function to add index.html to the end of incoming
requests. After this change, users can simply use an ordinary CloudFront
distribution (no additional code) with an ordinary S3 bucket origin (and
not an S3 website).

This adds tests to ensure that functionality like matchers is unaffected
by this change. I have also tested that the functionality works as
expected when deploying to a real S3 / CloudFront website.

Closes #12607
2024-06-20 19:37:22 +02:00
Bjørn Erik Pedersen
9b06f951e6
Update theme 2024-06-19 11:36:48 +02:00