Joe Mooring
e3ec2a4f20
common/hugo: Add hugo.IsServer and hugo.IsDevelopment
...
And deprecate site.IsServer.
Closes #11510
2023-10-06 16:26:51 +02:00
Joe Mooring
0338d7c711
Fix menu template
2023-10-03 19:24:58 -07:00
Oleksandr Redko
f5d2f5ed49
Fix typos in content/en/functions/fmt
2023-10-03 08:36:48 -07:00
Joe Mooring
a3a40ff999
Add return type to functions
2023-09-30 21:03:52 -07:00
Joe Mooring
85ac3e7791
Remove outdated feature image
2023-09-29 12:56:33 -07:00
Joe Mooring
d47d889e40
Fix signatures
2023-09-29 11:08:04 -07:00
Joe Mooring
7551ba28f7
Document safe.JSStr function
2023-09-28 13:48:50 -07:00
Joe Mooring
e77993be08
Document keyVals function
2023-09-28 11:21:56 -07:00
Bjørn Erik Pedersen
4dba20db35
Update theme
2023-09-27 18:59:46 +02:00
Joe Mooring
babf915448
Update echoparam
2023-09-27 08:49:53 -07:00
Joe Mooring
8c8203efa0
Adjust related functions
2023-09-26 14:26:10 -07:00
Joe Mooring
4cb1b30fcd
Fix example
2023-09-26 11:06:13 -07:00
Joe Mooring
ba95eca64c
Improve showcase prose
2023-09-26 10:53:00 -07:00
Tobias Kummer
5d3dcf3662
Add Overmind Studios showcase
2023-09-26 10:38:23 -07:00
Joe Mooring
8d634ac701
Change code blocks from indented to fenced
2023-09-26 10:36:04 -07:00
Joe Mooring
cfab978e67
Add missing code fences
2023-09-26 09:51:47 -07:00
Joe Mooring
407dd5c475
Limit related pages for functions to other functions
2023-09-26 00:43:39 -07:00
Will Faught
9fa67d981b
Fix .Site.LastChange doc
...
Co-authored-by: Joe Mooring <joe@mooring.com>
2023-09-24 14:10:22 -07:00
Bjørn Erik Pedersen
393aa16d0a
netlify: Hugo 0.119.0
2023-09-24 17:39:41 +02:00
Bjørn Erik Pedersen
f864af97a0
docs: Even more about images.Process
2023-09-24 12:26:00 +02:00
Bjørn Erik Pedersen
9d772d5f00
docs: More about images.Process
2023-09-24 12:11:03 +02:00
Bjørn Erik Pedersen
bc655f869e
docs: Regen docshelper
2023-09-24 11:56:43 +02:00
Bjørn Erik Pedersen
41c3536d1c
Merge commit '9aec42c5452b3eb224888c50ba1c3f3b68a447e9'
2023-09-24 11:54:45 +02:00
Bjørn Erik Pedersen
918ed53f49
Add images.Process filter
...
This allows for constructs like:
```
{{ $filters := slice (images.GaussianBlur 8) (images.Grayscale) (images.Process "jpg q30 resize 200x") }}
{{ $img = $img | images.Filter $filters }}
```
Note that the `action` option in `images.Process` is optional (`resize` in the example above), so you can use the above to just set the target format, e.g.:
```
{{ $filters := slice (images.GaussianBlur 8) (images.Grayscale) (images.Process "jpg") }}
{{ $img = $img | images.Filter $filters }}
```
Fixes #8439
2023-09-24 11:54:29 +02:00
Bjørn Erik Pedersen
5736458830
Add $image.Process
...
Which supports all the existing actions: resize, crop, fit, fill.
But it also allows plain format conversions:
```
{{ $img = $img.Process "webp" }}
```
Which will be a simple re-encoding of the source image.
Fixes #11483
2023-09-24 11:54:29 +02:00
Joe Mooring
7ef2dbce4a
Cleanup RSS templates page
2023-09-23 20:37:38 -07:00
Bjørn Erik Pedersen
a1151b0fde
Add images.Opacity filter
...
Fixes #11471
2023-09-22 15:03:16 +02:00
Joe Mooring
0e23d5e1ad
Fix multilingual permalinks example
2023-09-20 09:31:30 -07:00
dryscord
b3c342b074
Update faq.md
2023-09-20 09:18:30 -07:00
Bjørn Erik Pedersen
f73109ae24
Regen CLI docs
2023-09-20 18:06:01 +02:00
Salim B
ac6ee2027b
Fix minor nitpicks ( #2233 )
...
Co-authored-by: Joe Mooring <joe@mooring.com>
2023-09-18 10:24:25 -07:00
Razon Yang
f24fcffe1c
Mention the Giscus comments system ( #2234 )
2023-09-18 09:58:33 -07:00
Joe Mooring
418fa981e5
Remove reference to Ghost migration tool
...
Closes #2229
2023-09-07 07:27:49 -07:00
Joe Mooring
94a76df291
Adjust table layout
2023-09-05 22:47:18 -07:00
Oleksandr Redko
e263ad6b9d
content: Fix typos
2023-09-05 21:27:40 -07:00
Joe Mooring
fd1eb26b55
Update featured image in digital.gov showcase
2023-09-05 18:36:10 -07:00
Joe Mooring
d3d946555e
Correct directory description
2023-09-01 20:10:11 -07:00
Joe Mooring
bbe1dff56a
Use sentence case for heading
2023-09-01 09:23:02 -07:00
Bryce Wray
acfa0be544
Add hosting provider fetch depth to GitInfo variables page
2023-09-01 09:19:07 -07:00
Joe Mooring
d78c427e68
Fix typo
2023-09-01 09:00:27 -07:00
Sid
751517fea8
Fix spelling mistake
2023-08-31 23:16:28 -07:00
Joe Mooring
cdd77aa9a0
Update content for v0.118.0
2023-08-31 14:28:57 -07:00
Bjørn Erik Pedersen
c77d09b1c1
Format netlify.toml
2023-08-31 13:39:49 +02:00
Bjørn Erik Pedersen
d5a6c4f512
netlify: Hugo 0.118.1
2023-08-31 12:03:00 +02:00
Bjørn Erik Pedersen
8c717301af
Revert "netlify: Hugo 0.118.0"
...
This reverts commit a9b2ef5c2b622b7cab3b53d2c3ebe8b9328cc765.
2023-08-31 10:31:56 +02:00
Bjørn Erik Pedersen
a9b2ef5c2b
netlify: Hugo 0.118.0
2023-08-31 10:16:14 +02:00
Bjørn Erik Pedersen
61959591c1
Merge commit '77b976dd92b4f66657d83d875aef0c617df492d9'
2023-08-30 19:24:34 +02:00
Bjørn Erik Pedersen
95f2029a1b
docs: Regen docs helper
2023-08-30 19:23:34 +02:00
Sid
686c7b6eb1
ci(Netlify): specify HUGO_VERSION
environment variable once
...
If an environment variable (`HUGO_VERSION` in this case) is going to be same for all contexts (production, deploy-preview & branch-deploy), then there is no need to specify it for each context.
Specifying it once under [build.environment] should be enough.
From https://docs.netlify.com/configure-builds/file-based-configuration/#deploy-contexts :
"any property of a context-aware key, such as [build] or [[plugins]], will be applied to all contexts unless the same property key is present in a more specific context."
2023-08-30 14:32:42 +03:00
OMOTO Tsukasa
fd57ba960b
markup/goldmark: Add CJK extension
...
Fixes #10472
2023-08-30 13:08:45 +02:00