11001 Commits

Author SHA1 Message Date
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
Sid
da99a356f1
fix: change heading level 2023-08-29 09:38:13 -07:00
Joe Mooring
e57da3f00d
Update taxonomy methods 2023-08-28 12:47:35 -07:00
Joe Mooring
7461724902
Update description of rendered breadcrumb navigation 2023-08-27 11:58:51 -07:00
Joe Mooring
6bc52fd40a
Clarify term 2023-08-26 20:04:19 -07:00
Joe Mooring
dab07dcb0e
Fix typo 2023-08-26 06:58:01 -07:00
Joe Mooring
e50fa452a1
Fix typo 2023-08-25 13:51:31 -07:00
Joe Mooring
6c1ea83c2d
Update template overview page 2023-08-25 13:21:51 -07:00
Joe Mooring
a5dc978454
Clarify the append function 2023-08-25 12:43:32 -07:00
Joe Mooring
a135e52a02
Update GitHub hosting instructions 2023-08-25 11:07:36 -07:00
Joe Mooring
a51bf9f4f6
Update sections page 2023-08-24 22:50:31 -07:00
Joe Mooring
ed35fc6c47
Update archetypes and glossary 2023-08-24 16:23:58 -07:00
Joe Mooring
1a4522b3ed
Format examples 2023-08-18 20:33:55 -07:00
Joe Mooring
a70f200944
Use "hugo new content" to create content 2023-08-18 09:36:44 -07:00
Joe Mooring
673846ff95
Remove comment 2023-08-17 17:03:08 -07:00