hugoreleaser
a798e3e724
releaser: Prepare repository for 0.155.0-DEV
...
[ci skip]
2026-01-10 15:48:05 +00:00
hugoreleaser
fbcf0d52a1
releaser: Bump versions for release of 0.154.4
...
[ci skip]
2026-01-10 15:24:22 +00:00
dependabot[bot]
a2b2a5a978
build(deps): bump github.com/goccy/go-yaml from 1.19.1 to 1.19.2
...
Bumps [github.com/goccy/go-yaml](https://github.com/goccy/go-yaml ) from 1.19.1 to 1.19.2.
- [Release notes](https://github.com/goccy/go-yaml/releases )
- [Changelog](https://github.com/goccy/go-yaml/blob/master/CHANGELOG.md )
- [Commits](https://github.com/goccy/go-yaml/compare/v1.19.1...v1.19.2 )
---
updated-dependencies:
- dependency-name: github.com/goccy/go-yaml
dependency-version: 1.19.2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-01-10 15:45:39 +01:00
Barkın Balcı
ec178ea463
tpl: Fix language resolution for markdown shortcodes
...
Fixes #14098
2026-01-10 15:45:03 +01:00
Bjørn Erik Pedersen
2d80b8a741
For multiple dimensions setups, fix alias handling and multihost publish path
...
* The alias handling was left as is when we added new dimensions in v0.152.0, which meant that if you had `defaultContentVersionInSubDir=true` set, the alias page in the root would not be correctly created.
* Also, if you had multihost setup with multiple dimensions, the publish would be incorrect: The language key was added last instead of first.
* The home page alias handling is reworked and made more robust, which also fixes some subtle issues:
* It now supports redircects for multiple HTML output formats for the home page.
* We skip creating aliases for disabled home pages.
* With potentially multiple output formats with one of them canonical, we added a new `Canonical` method to the `Page.OutputFormats`, which allows you to do this in a template:
```handlebars
{{ with .OutputFormats.Canonical }}<link rel="{{ .Rel }}" href="{{ .Permalink }}">{{ end }}
```
Fixes #14354
Fixes #14356
2026-01-10 15:34:51 +01:00
hugoreleaser
5ea3e13db6
releaser: Prepare repository for 0.155.0-DEV
...
[ci skip]
2026-01-06 16:51:07 +00:00
hugoreleaser
b1c1bd019f
releaser: Bump versions for release of 0.154.3
...
[ci skip]
2026-01-06 16:30:17 +00:00
dependabot[bot]
866b8e5aa6
build(deps): bump github.com/yuin/goldmark from 1.7.13 to 1.7.16
...
Bumps [github.com/yuin/goldmark](https://github.com/yuin/goldmark ) from 1.7.13 to 1.7.16.
- [Release notes](https://github.com/yuin/goldmark/releases )
- [Commits](https://github.com/yuin/goldmark/compare/v1.7.13...v1.7.16 )
---
updated-dependencies:
- dependency-name: github.com/yuin/goldmark
dependency-version: 1.7.16
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-01-06 10:53:03 +01:00
hugoreleaser
409669fa48
releaser: Prepare repository for 0.155.0-DEV
...
[ci skip]
2026-01-02 16:30:54 +00:00
hugoreleaser
f66d094446
releaser: Bump versions for release of 0.154.2
...
[ci skip]
2026-01-02 16:08:44 +00:00
Bjørn Erik Pedersen
e9b9b36f46
Fix alpha/fuzzy border issue with new webp decoder for images with with transparent background
...
Fixes #14339
2026-01-02 17:06:10 +01:00
Joe Mooring
b8a2c10d06
snap: Limit build platforms to amd64, arm64, ppc64el, and s390x
...
The Node 24 Snap has dropped support for armhf and riscv64.
2026-01-01 19:58:01 -08:00
Joe Mooring
601df38834
snap: Update to core 24
2026-01-01 15:51:32 -08:00
hugoreleaser
3bed212a2f
releaser: Prepare repository for 0.155.0-DEV
...
[ci skip]
2026-01-01 17:52:38 +00:00
hugoreleaser
e2fd6764be
releaser: Bump versions for release of 0.154.1
...
[ci skip]
2026-01-01 17:32:20 +00:00
Bjørn Erik Pedersen
8f3527f61c
Add WASM licensing information to README
...
Added a section on licensing for the Hugo project, detailing the licenses of bundled libraries.
2026-01-01 18:27:57 +01:00
Bjørn Erik Pedersen
09048aad76
Fix partial decorator detection in partial with blocks with outer range break or continue
...
E.g.:
```handlebars
{{- $items := slice "a" "b" "c" }}
{{- range $items }}
{{- with partial "b" . -}}
{{break}}
{{- else }}
else: {{ . -}}
{{- end }}
{{- end }}
```
Fixes #14333
2026-01-01 18:05:10 +01:00
hugoreleaser
f42c422a12
releaser: Prepare repository for 0.155.0-DEV
...
[ci skip]
2025-12-31 13:09:12 +00:00
hugoreleaser
0b71db299a
releaser: Bump versions for release of 0.154.0
...
[ci skip]
2025-12-31 12:45:55 +00:00
Bjørn Erik Pedersen
5c7fad23a3
tpl/collections: Fix apply to work with built-in funcs like len
...
Fixes #13418
2025-12-31 13:09:04 +01:00
Bjørn Erik Pedersen
700bb78198
Remove Linode sponsor from README
...
Removed Linode sponsor link from the README.
2025-12-30 19:54:11 +01:00
majiayu000
d3b5d47a43
helpers: Limit verbose watch output for better readability
...
Limits the number of root groups shown in 'Watching for changes' output
to 10 maximum, with a summary message for remaining paths. This prevents
the message from becoming excessively long when watching sites with many
mount points.
Fixes #14277
Signed-off-by: majiayu000 <1835304752@qq.com >
2025-12-30 19:44:35 +01:00
Bjørn Erik Pedersen
86cd1838ff
tpl/reflect: Make the IsImageResource implementation less technical
...
And closer to the documentation. The old one was correct, but a bit too tied to the internal implementation.
2025-12-30 19:43:55 +01:00
Joe Mooring
871da3370a
internal/warpc: Increase WebP memory limit to 384 MiB
...
Closes #14309
2025-12-30 16:51:58 +01:00
dependabot[bot]
2637aa1540
build(deps): bump github.com/tetratelabs/wazero from 1.10.1 to 1.11.0
...
Bumps [github.com/tetratelabs/wazero](https://github.com/tetratelabs/wazero ) from 1.10.1 to 1.11.0.
- [Release notes](https://github.com/tetratelabs/wazero/releases )
- [Commits](https://github.com/tetratelabs/wazero/compare/v1.10.1...v1.11.0 )
---
updated-dependencies:
- dependency-name: github.com/tetratelabs/wazero
dependency-version: 1.11.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-30 16:01:32 +01:00
Bjørn Erik Pedersen
bf1d20d735
Revert "resources/page: Fix slugorcontentbasename for section pages"
...
This reverts commit 25c7c18f9f .
See #14104
See #14325
2025-12-30 16:00:37 +01:00
Bjørn Erik Pedersen
1deec99bba
Update tpl/reflect/reflect.go
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-12-30 16:00:19 +01:00
Bjørn Erik Pedersen
b7bb557c6a
Add reflect.Is{Page,Site,Resource,ImageResource}
...
Fixes #14307
2025-12-30 16:00:19 +01:00
Bjørn Erik Pedersen
7c19c196c3
Allow partials to work as decorators
...
Fixes #13193
2025-12-30 15:58:55 +01:00
hugoreleaser
555443b64a
releaser: Prepare repository for 0.154.0-DEV
...
[ci skip]
2025-12-30 10:48:50 +00:00
hugoreleaser
1f2de189ed
releaser: Bump versions for release of 0.153.5
...
[ci skip]
2025-12-30 10:27:17 +00:00
Bjørn Erik Pedersen
c6ae33c61d
images: Add compression option to image config and clean up some of the options handling
...
The original idea of setting quality to 0 for lossless WebP was didn't allow a setting that made sense for both JPEG and WebP.
Note that the above didn't really work at all, so this should not break anything.
2025-12-29 21:38:19 +01:00
Bjørn Erik Pedersen
edeebf0d33
config: Fix cascade per language in hugo.toml regression
...
An onfurtunate side effect of the fix in v0.153.4.
Fixes #14321
2025-12-29 20:48:12 +01:00
Simon Heimlicher
ea9675f6e7
images: Fix WebP quality and hint parameters being ignored
...
Fixes #14316
2025-12-29 16:47:43 +01:00
hugoreleaser
b1f7e35a98
releaser: Prepare repository for 0.154.0-DEV
...
[ci skip]
2025-12-28 21:55:32 +00:00
hugoreleaser
a0d4e1fb26
releaser: Bump versions for release of 0.153.4
...
[ci skip]
2025-12-28 21:34:16 +00:00
Bjørn Erik Pedersen
96777d9b89
Set cascade target to the content matrix if not set in the cascade itself
...
Fixes #14310
Co-authored-by: Joe Mooring <joe.mooring@veriphor.com >
2025-12-28 22:30:55 +01:00
hugoreleaser
25126e5f87
releaser: Prepare repository for 0.154.0-DEV
...
[ci skip]
2025-12-26 16:33:20 +00:00
hugoreleaser
179034abbb
releaser: Bump versions for release of 0.153.3
...
[ci skip]
2025-12-26 15:33:04 +00:00
dependabot[bot]
96ac146eef
build(deps): bump github.com/bep/imagemeta from 0.12.0 to 0.12.1
...
Bumps [github.com/bep/imagemeta](https://github.com/bep/imagemeta ) from 0.12.0 to 0.12.1.
- [Release notes](https://github.com/bep/imagemeta/releases )
- [Commits](https://github.com/bep/imagemeta/compare/v0.12.0...v0.12.1 )
---
updated-dependencies:
- dependency-name: github.com/bep/imagemeta
dependency-version: 0.12.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-26 11:36:41 +01:00
Bjørn Erik Pedersen
d4c0e4452c
Fix error with _content.gotmpl file with index.md siblings
...
Regression introduced in Hugo 0.153.0.
Note that this is a very uncommon setup, but it worked before.
Fixes #14299
2025-12-25 14:22:14 +01:00
hugoreleaser
418156ec3e
releaser: Prepare repository for 0.154.0-DEV
...
[ci skip]
2025-12-22 17:15:37 +00:00
hugoreleaser
798533a201
releaser: Bump versions for release of 0.153.2
...
[ci skip]
2025-12-22 16:53:01 +00:00
Bjørn Erik Pedersen
a8c5d0d00d
Fix "image: unknown format" error
...
Fixes #14295
2025-12-22 17:49:44 +01:00
Bjørn Erik Pedersen
a94a941fe3
modules: Remove extended edition check
...
With WebP support now in the standard Hugo binary, this warning has too many false positives.
Fixes #14284
2025-12-22 11:12:10 +01:00
Joe Mooring
385d1a1342
misc: Update edition comparison and guidance in README.md
2025-12-20 21:37:30 +01:00
hugoreleaser
d30bd50467
releaser: Prepare repository for 0.154.0-DEV
...
[ci skip]
2025-12-20 15:38:51 +00:00
hugoreleaser
8e6cac8462
releaser: Bump versions for release of 0.153.1
...
[ci skip]
2025-12-20 15:15:53 +00:00
Bjørn Erik Pedersen
4085ee9340
Handle PNG named *.webp
...
Fixes #14288
2025-12-20 16:12:15 +01:00
Bjørn Erik Pedersen
168bf17e70
Revert deprecation logging for contentDir per language
...
It was accidentally introduced because we compile it to file mounts, and `lang` on file mounts is deprecated in favor of `sites.matrix`.
But contentDir per language is something we have had for a long time, and is to useful too to deprecate.
Fixes #14287
2025-12-20 14:59:46 +01:00
Bjørn Erik Pedersen
80ea90c880
images: Add some more PNG tests
...
To try to figure out #14288 .
2025-12-20 13:42:21 +01:00
Bjørn Erik Pedersen
f740d7cfe0
Fix panic when 404 is backed by a content file
...
Fixes #14283
2025-12-20 13:42:21 +01:00
Joe Mooring
5f46da6e2a
internal/warpc: Increase WebP memory limit to 256 MiB
...
Closes #14282
---------
Co-authored-by: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com >
2025-12-20 12:16:36 +01:00
hugoreleaser
fe64a68225
releaser: Prepare repository for 0.154.0-DEV
...
[ci skip]
2025-12-19 10:35:25 +00:00
hugoreleaser
b4128babb8
releaser: Bump versions for release of 0.153.0
...
[ci skip]
2025-12-19 10:14:01 +00:00
Bjørn Erik Pedersen
790a5b7014
hugoreleaser: Updage macospkgremote to increase notarization timeout
...
Apple's servers seems to be busy today.
2025-12-19 11:11:24 +01:00
Bjørn Erik Pedersen
70ce2446b5
Merge commit '08e1ea5c709d3d49bdc3ce3c21e8fa05a33150d0'
2025-12-19 10:07:30 +01:00
Bjørn Erik Pedersen
08e1ea5c70
Squashed 'docs/' changes from 71f739460..1ad3c75ad
...
1ad3c75ad theme: Run ncu -u to update dependencies (#3311 )
2942d3753 content: Update version refs
e298fdfaf content: Remove ref to old version
c1fc876ea content: Improve taxonomic weight example
d706a013d content: Document additional functions
5751c37cc content: Standardize string function signatures
d65e6fae7 misc: Add data/docs.yaml to ignorePaths in cspell config
ba1f98a32 content: Improve collections.First/Last string examples
d7b5a2efd content: Improve collections.First/Last examples
e94e49db2 content: Add Smart Hugo to editor plugins
af204597a content: Clarify config description
9d1cb33cd content: Fix typo
dded23962 content: Clarify note on rare use case for PageRef method
8af9e3be4 content: Update the Homebrew installation description
be56390b3 content: Clarify command description
fa228e9f0 content: Clarify AsciiDoc extensions setting description
3a23a4af2 docs: Add best practices for manual summary marker placement
050d7c75e misc: Fix cspell configuration
74642b18d content: Miscellaneous edits
75a2c8425 content: Add missing reference definitions
6303f27e1 content: Improve description of the SITE.Home method
4dfbd647f Revert the minimal analytics changes (#3265 )
c369e534d theme: Move tracking to turbo:load
88b451022 theme: Move tracking to turbo:render
7040dc5ee Move to minimalanalytics for GA tracking
4e8a523fb content: Update KaTeX link attributes to v0.16.25 (phase 2)
21046b942 content: Update KaTeX link attributes to v0.16.25 (phase 1)
b8df9d941 theme: Use Path for the glossary link destination
acd6c2954 theme: Use page Path when generating Markdown links
543f78340 content: Fix formatting
aef89d192 content: Correct page collection quick-reference data
08645236a content: Use RSS output format in shortcode lookup example
58654c106 content: Fix archetype lookup order
9f79bacc4 content: Describe valid uses of the nil keyword
41f139d14 theme: Remove the root view transition
6ab407bb9 content: Improve links on lang.Translate page
91e724065 content: Add missing fragments to links in the module mounts description
2f6b4a58c content: Clarify ByCount sort order
8594590b2 Update netlify.toml
811574060 content: Update version references
a12bcf7dd content: Update version references
23ca199ed Update netlify.toml
5d3da2351 content: Update version references
1617ee75b misc: Update Netlify config to build with v0.152.0
6467bda93 content: Remove outdated new-in badges
4b3ef4bd5 content: Improve description of default mount behavior
5a861f500 content: Revise partials.IncludeCached description and signature
2ad9d705a content: Correct the partials.IncludeCached signature
9f611b879 Update netlify.toml
ca21f5fbd content: Add warning about automatic summaries
2065fadde content: Update commit message guidelines
a0784f261 content: Remove outdated new-in badges
ce5a249f2 content: Remove Codeberg Pages documentation
3424b95f2 content: Update CLI docs
27fd350a6 content: Change KaTeX version references to 0.16.23
ba8c5fd3b content: Change MathJax version reference from v3 to v4
c83465222 content: Fix broken link
c6cde1074 content: Update version references
467277939 content: Fix typo
e424b6b19 content: Document new features in v0.151.0
a46898f79 Update netlify.toml
f8407c3b5 content: Enhance content view template details
974175690 content: Optionally disable whitespace trimming in fenced code blocks
25bffc4c4 Update netlify.toml
98e9ef5f0 theme: Move initColorScheme() to head
a1566495b theme: Preload fonts (#3209 )
c0271d266 content: Add missing word in deploy-with-rsync.md
47099c4fa content: Remove outdated new-in badges
439b5c18b content: Fix collections.D seed example
d2486ba67 content: Update description of IsNode method
4de8815e9 content: Update description of the cascade front matter field
0801e9b3f content: Fix broken link
9bbbfb59d content: Update Netlify hosting guide and version refs
4f444fb53 misc: Update docs.yaml
a7a9a7563 Update module.md
a7909fe37 Update netlify.toml
47a2c2038 content: Update collections.D page to remove casting note
ecca5ef48 content: Update summaryLength description with default value
310e11195 content: Change alias example
bd6b53b5d content: Update minify config documentation
21bb0bb66 Update netlify.toml
68912f1a3 content: Update version reference
28a47a50f content: Fix missing link to latest release under Prebuilt Binaries
8eac2a120 theme: Revise inline code span styling
2e71b6d0a Adjust sponsor
d93340a78 content: Update documentation guide
9f6213ebe content: Fix glob pattern-alternatives syntax in cascade.md
1f61fd6be content: Add seed examples to collections.D
65385a5d0 content: Fix Cloudflare deploy not_found_handling value
4f70df235 content: Fix typo
fc216f2d9 content: Fix broken link
e98b340f2 Update cascade.md
e316dbf93 content: Update version references
f8e863e97 misc: Remove textlint config file
3b9c3e2a1 content: Miscellaneous updates related to v0.149.0
3ccc439fc Update netlify.toml
07f5140e8 Merge branch 'tempv0.149.0'
17f8d33d8 content: Add format option to transform.Unmarshal
a6a971596 content: Document the collections.D function
66eee712b content: Update front matter configuration example
863945e13 content: Update fmt.Println example
1d9a92bc7 theme: Don't exclude current section from related content
1386d8ed2 Update introduction.md
0ac89b015 content: Replace inline URLs with autolinks
54fad1e01 content: Fix typo
e09f6b0c5 content: Wrap calls to eturl shortcode in angle brackets
23efd9766 Merge commit 'bfa74537929f409fca841540b971125b7678963a'
e98754e72 resources/page: Add :sectionslug and :sectionslugs permalink tokens
git-subtree-dir: docs
git-subtree-split: 1ad3c75ad0e997d66598c1453db9989fde7d9680
2025-12-19 10:04:19 +01:00
Bjørn Erik Pedersen
65d43e1d0d
resources/images: Don't trust the file extension when decoding JPEG and PNG images
...
Which is it behaved before we added the extended WebP support.
Testing on some sites shows that it's not uncommon to store JPEGs with PNG extensions and vice versa.
This an error situation that needs to be reported, but let us push that to a future Hugo version to reduce the noise in this one.
2025-12-18 19:36:48 +01:00
Bjørn Erik Pedersen
65a76664e3
Add full filename to image processing error messages if possible
...
Fixes #14278
2025-12-18 17:46:26 +01:00
Bjørn Erik Pedersen
da5b1fcf8f
tailwindcss: Add referece to skipInlineImportsNotFound when import not found in assets
...
See #14273
2025-12-18 10:57:01 +01:00
dependabot[bot]
39649dce49
build(deps): bump github.com/goccy/go-yaml from 1.19.0 to 1.19.1
...
Bumps [github.com/goccy/go-yaml](https://github.com/goccy/go-yaml ) from 1.19.0 to 1.19.1.
- [Release notes](https://github.com/goccy/go-yaml/releases )
- [Changelog](https://github.com/goccy/go-yaml/blob/master/CHANGELOG.md )
- [Commits](https://github.com/goccy/go-yaml/compare/v1.19.0...v1.19.1 )
---
updated-dependencies:
- dependency-name: github.com/goccy/go-yaml
dependency-version: 1.19.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-18 10:12:10 +01:00
dependabot[bot]
614fb16ec6
build(deps): bump github.com/alecthomas/chroma/v2 from 2.21.0 to 2.21.1
...
Bumps [github.com/alecthomas/chroma/v2](https://github.com/alecthomas/chroma ) from 2.21.0 to 2.21.1.
- [Release notes](https://github.com/alecthomas/chroma/releases )
- [Commits](https://github.com/alecthomas/chroma/compare/v2.21.0...v2.21.1 )
---
updated-dependencies:
- dependency-name: github.com/alecthomas/chroma/v2
dependency-version: 2.21.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-18 10:11:52 +01:00
Bjørn Erik Pedersen
0637adb239
Improve error messages for template failures
2025-12-17 21:12:15 +01:00
Bjørn Erik Pedersen
0bf61353f6
Improve error handling/messages in Hugo Pipes
...
Fixes #14257
Closes #14270
2025-12-17 21:12:15 +01:00
Bjørn Erik Pedersen
b82e496c13
Fix some outdated front matter
...
Fixes #14271
2025-12-17 18:51:02 +01:00
dependabot[bot]
33542d3966
build(deps): bump github.com/aws/aws-sdk-go-v2/service/cloudfront
...
Bumps [github.com/aws/aws-sdk-go-v2/service/cloudfront](https://github.com/aws/aws-sdk-go-v2 ) from 1.58.2 to 1.58.3.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases )
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json )
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/s3/v1.58.2...service/s3/v1.58.3 )
---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/service/cloudfront
dependency-version: 1.58.3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-17 13:02:00 +01:00
Bjørn Erik Pedersen
588d20b315
deps: Upgrade github.com/alecthomas/chroma/v2 v2.20.0 => v2.21.0
...
Closes #14266
2025-12-17 11:18:56 +01:00
dependabot[bot]
b33730293d
build(deps): bump github.com/aws/aws-sdk-go-v2 from 1.40.1 to 1.41.0
...
Bumps [github.com/aws/aws-sdk-go-v2](https://github.com/aws/aws-sdk-go-v2 ) from 1.40.1 to 1.41.0.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases )
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json )
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/v1.40.1...v1.41.0 )
---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2
dependency-version: 1.41.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-17 10:23:06 +01:00
dependabot[bot]
e6a3f1d62b
build(deps): bump github.com/evanw/esbuild from 0.27.1 to 0.27.2
...
Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild ) from 0.27.1 to 0.27.2.
- [Release notes](https://github.com/evanw/esbuild/releases )
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md )
- [Commits](https://github.com/evanw/esbuild/compare/v0.27.1...v0.27.2 )
---
updated-dependencies:
- dependency-name: github.com/evanw/esbuild
dependency-version: 0.27.2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-17 10:07:25 +01:00
Bjørn Erik Pedersen
573ecb530f
images: Add a webp test with bg color
2025-12-17 09:41:25 +01:00
Bjørn Erik Pedersen
9937a5dcaa
tpl/css: Deprecate libsass in favor of dartsass (note)
...
The upstream library is now EOL and the repo is archived. Also, it's time for us to move away from the extended CGO build and for Hugo users not already done that, move to https://gohugo.io/functions/css/sass/#dart-sass
https://github.com/sass/libsass
Closes #14261
2025-12-16 22:31:13 +01:00
Bjørn Erik Pedersen
1b4514e020
Encode and Decode using the libwebp library via WASM with animation support
...
Fixes #10030
Fixes #8500
Fixes #12843
Fixes #8879
Fixes #12842
2025-12-16 19:29:16 +01:00
Joe Mooring
429e57201d
config/allconfig: Correct error message
...
Closes #14259
2025-12-15 18:09:57 +01:00
Joe Mooring
fa7d37f0c8
tpl: Add missing functions to init files
...
Closes #14249
2025-12-13 18:32:26 +01:00
Bjørn Erik Pedersen
fae49a22f1
github: Add some known humans to the AI whitelist
2025-12-13 18:29:28 +01:00
dependabot[bot]
364d237b51
build(deps): bump golang.org/x/image from 0.33.0 to 0.34.0
...
Bumps [golang.org/x/image](https://github.com/golang/image ) from 0.33.0 to 0.34.0.
- [Commits](https://github.com/golang/image/compare/v0.33.0...v0.34.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/image
dependency-version: 0.34.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-10 12:12:56 +01:00
dependabot[bot]
079f3eb8d1
build(deps): bump golang.org/x/tools from 0.39.0 to 0.40.0
...
Bumps [golang.org/x/tools](https://github.com/golang/tools ) from 0.39.0 to 0.40.0.
- [Release notes](https://github.com/golang/tools/releases )
- [Commits](https://github.com/golang/tools/compare/v0.39.0...v0.40.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/tools
dependency-version: 0.40.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-09 10:33:42 +01:00
dependabot[bot]
4e6f2b6791
build(deps): bump github.com/tdewolff/minify/v2 from 2.24.7 to 2.24.8
...
Bumps [github.com/tdewolff/minify/v2](https://github.com/tdewolff/minify ) from 2.24.7 to 2.24.8.
- [Release notes](https://github.com/tdewolff/minify/releases )
- [Commits](https://github.com/tdewolff/minify/compare/v2.24.7...v2.24.8 )
---
updated-dependencies:
- dependency-name: github.com/tdewolff/minify/v2
dependency-version: 2.24.8
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-09 10:32:38 +01:00
dependabot[bot]
dff5e168a9
build(deps): bump gocloud.dev from 0.43.0 to 0.44.0
...
Bumps [gocloud.dev](https://github.com/google/go-cloud ) from 0.43.0 to 0.44.0.
- [Release notes](https://github.com/google/go-cloud/releases )
- [Commits](https://github.com/google/go-cloud/compare/v0.43.0...v0.44.0 )
---
updated-dependencies:
- dependency-name: gocloud.dev
dependency-version: 0.44.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-05 18:03:07 +01:00
dependabot[bot]
c82a035bf1
build(deps): bump github.com/aws/aws-sdk-go-v2/service/cloudfront
...
Bumps [github.com/aws/aws-sdk-go-v2/service/cloudfront](https://github.com/aws/aws-sdk-go-v2 ) from 1.58.1 to 1.58.2.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases )
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json )
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/s3/v1.58.1...service/s3/v1.58.2 )
---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/service/cloudfront
dependency-version: 1.58.2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-05 15:58:01 +01:00
dependabot[bot]
86b01eda10
build(deps): bump github.com/evanw/esbuild from 0.27.0 to 0.27.1
...
Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild ) from 0.27.0 to 0.27.1.
- [Release notes](https://github.com/evanw/esbuild/releases )
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md )
- [Commits](https://github.com/evanw/esbuild/compare/v0.27.0...v0.27.1 )
---
updated-dependencies:
- dependency-name: github.com/evanw/esbuild
dependency-version: 0.27.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-05 15:57:45 +01:00
Bjørn Erik Pedersen
e2e64aeec5
Fix server rebuilds on editing content with Chinese terms
...
Fixes #14240
2025-12-05 15:53:48 +01:00
dependabot[bot]
9e7182e9e6
build(deps): bump github.com/aws/aws-sdk-go-v2 from 1.40.0 to 1.40.1
...
Bumps [github.com/aws/aws-sdk-go-v2](https://github.com/aws/aws-sdk-go-v2 ) from 1.40.0 to 1.40.1.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases )
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json )
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/v1.40.0...v1.40.1 )
---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2
dependency-version: 1.40.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-04 09:59:53 +01:00
dependabot[bot]
cf3ad62c3b
build(deps): bump github.com/spf13/cobra from 1.9.1 to 1.10.2
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.9.1 to 1.10.2.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Commits](https://github.com/spf13/cobra/compare/v1.9.1...v1.10.2 )
---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
dependency-version: 1.10.2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-04 09:59:04 +01:00
Bjørn Erik Pedersen
c1cc65fcb9
release: Skip pushing stable and docs update for pre-releases
2025-12-03 11:51:37 +01:00
Bjørn Erik Pedersen
663075920a
release: Support alpha, beta, and RC releases
2025-12-02 18:44:42 +01:00
Joe Mooring
596517a259
snap: Address snapcraft deprecations
2025-12-01 23:44:24 -08:00
dependabot[bot]
bf42138661
build(deps): bump github.com/goccy/go-yaml from 1.18.0 to 1.19.0
...
Bumps [github.com/goccy/go-yaml](https://github.com/goccy/go-yaml ) from 1.18.0 to 1.19.0.
- [Release notes](https://github.com/goccy/go-yaml/releases )
- [Changelog](https://github.com/goccy/go-yaml/blob/master/CHANGELOG.md )
- [Commits](https://github.com/goccy/go-yaml/compare/v1.18.0...v1.19.0 )
---
updated-dependencies:
- dependency-name: github.com/goccy/go-yaml
dependency-version: 1.19.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-01 12:05:55 +01:00
dependabot[bot]
57fecb6b71
build(deps): bump github.com/olekukonko/tablewriter from 1.1.1 to 1.1.2
...
Bumps [github.com/olekukonko/tablewriter](https://github.com/olekukonko/tablewriter ) from 1.1.1 to 1.1.2.
- [Commits](https://github.com/olekukonko/tablewriter/compare/v1.1.1...v1.1.2 )
---
updated-dependencies:
- dependency-name: github.com/olekukonko/tablewriter
dependency-version: 1.1.2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-01 12:05:40 +01:00
dependabot[bot]
6d0ab6a34e
build(deps): bump github.com/JohannesKaufmann/html-to-markdown/v2
...
Bumps [github.com/JohannesKaufmann/html-to-markdown/v2](https://github.com/JohannesKaufmann/html-to-markdown ) from 2.4.0 to 2.5.0.
- [Release notes](https://github.com/JohannesKaufmann/html-to-markdown/releases )
- [Commits](https://github.com/JohannesKaufmann/html-to-markdown/compare/v2.4.0...v2.5.0 )
---
updated-dependencies:
- dependency-name: github.com/JohannesKaufmann/html-to-markdown/v2
dependency-version: 2.5.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-01 12:04:55 +01:00
Bjørn Erik Pedersen
6be463b586
langs/i18n: Prefer languageCode when picking translation file
...
Fixes #14204
Closes #14217
Co-authored-by: Patrice Chalin <pchalin@gmail.com >
2025-11-28 21:24:28 +01:00
Bjørn Erik Pedersen
9e24b5645d
Add entitlements for WebAssembly for macOS Tahoe
...
Fixes #14220
2025-11-27 20:43:03 +01:00
Bjørn Erik Pedersen
45b67f6c18
testscripts: Move layouts file to new structure
2025-11-27 20:41:56 +01:00
Joe Mooring
5e649eb4d0
resources: Skip integration test if Dart Sass is not installed
2025-11-27 19:32:23 +01:00
dependabot[bot]
0de8f8607b
build(deps): bump github.com/aws/aws-sdk-go-v2/service/cloudfront
...
Bumps [github.com/aws/aws-sdk-go-v2/service/cloudfront](https://github.com/aws/aws-sdk-go-v2 ) from 1.57.0 to 1.58.1.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases )
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json )
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/s3/v1.57.0...service/s3/v1.58.1 )
---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/service/cloudfront
dependency-version: 1.58.1
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-11-27 13:22:29 +01:00
Bjørn Erik Pedersen
3073fd5ccf
testing: Replace legacy config.toml with hugo.toml in most tests
2025-11-27 12:08:08 +01:00
Bjørn Erik Pedersen
b9b304a126
testing: Port integration tests to new templates structure
...
As introduced in v0.146.0. Keep some legecy test to preserve backwards compatibility.
2025-11-27 12:00:15 +01:00
Bjørn Erik Pedersen
8be30ef2cb
github: Correct dependabot => dependabot[bot]
2025-11-27 09:48:54 +01:00
Joe Mooring
565a10cbf0
config/privacy: Change GoogleAnalytics.RespectDoNotTrack default to true
...
Closes #13307
2025-11-27 09:46:53 +01:00
Bjørn Erik Pedersen
438f113f83
Add signed and notarized MacOS pkg builds
...
Closes #14135
2025-11-26 16:48:51 +01:00
Bjørn Erik Pedersen
dab54058ea
Upgrade to Go 1.25.4
2025-11-26 16:38:47 +01:00
Joe Mooring
1a1b062a01
tpl/urls: Add PathEscape and PathUnescape functions
...
Closes #14209
2025-11-25 23:53:04 +01:00
Bjørn Erik Pedersen
7a43b928a6
Fix slow server startup of very big content trees
...
As in content trees with 10 thousand of directories and more.
A benchmark with the bottle neck code in `helpers.ExtractAndGroupRootPaths`:
```
│ cmp20251125.bench │ fix-extractandgrouproot-14211.bench │
│ sec/op │ sec/op vs base │
ExtractAndGroupRootPaths-10 1282818.8µ ± 8% 493.8µ ± 38% -99.96% (p=0.002 n=6)
│ cmp20251125.bench │ fix-extractandgrouproot-14211.bench │
│ B/op │ B/op vs base │
ExtractAndGroupRootPaths-10 3343.8Ki ± 0% 146.3Ki ± 0% -95.63% (p=0.002 n=6)
│ cmp20251125.bench │ fix-extractandgrouproot-14211.bench │
│ allocs/op │ allocs/op vs base │
ExtractAndGroupRootPaths-10 20.043k ± 0% 2.979k ± 0% -85.14% (p=0.002 n=6)
```
For test project that started this (a 60k directory conent tree), the server startup with no rendering, wen from 1.5 minutes to less than 4 seconds:
```
hugop server --renderSegments none main ✚ ✖ ✱ ◼
Watching for changes in /Users/bep/dev/sites/hugotestsites/60k/content/{section0,section1,section10,section100,section101,section102,section103,section104,section105,section106,...}
Watching for changes in /Users/bep/dev/sites/hugotestsites/60k/layouts/_default
Watching for config changes in /Users/bep/dev/sites/hugotestsites/60k/config.toml
Start building sites …
hugo v0.153.0-DEV-7e27c303904ed8b221d6a5a4fc9a764bb7b2935b darwin/arm64 BuildDate=2025-11-25T15:02:58Z
│ EN
──────────────────┼────
Pages │ 0
Paginator pages │ 0
Non-page files │ 0
Static files │ 0
Processed images │ 0
Aliases │ 0
Cleaned │ 0
Built in 3884 ms
Environment: "development"
Serving pages from disk
Running in Fast Render Mode. For full rebuilds on change: hugo server --disableFastRender
Web Server is available at //localhost:1313/ (bind address 127.0.0.1)
Press Ctrl+C to stop
```
Note that the output may be a little different and a little more verbose than before., but the information is correct and this implementation is significantly faster and simpler.
Fixes #14211
2025-11-25 22:55:25 +01:00
Bjørn Erik Pedersen
555dfa207a
Speedup and simplify page assembly for deeper content trees
...
This commit moves to a forked version go-radix (fork source has not had any updates in 3 years.), whith 2 notable changes:
* It's generic (using Go generics) and thus removes a lot of type conversions/assertions.
* It allows nodes to be replaced during walk, which allows to partition the tree for parallel processing without worrying about locking.
For this repo, this means:
* The assembly step now processes nested sections in parallel, which gives a speedup for deep content trees with a slight allocation penalty (see benchmarks below).
* Nodes that needs to be reinserted are inserted directly.
* Also, there are some drive-by fixes of some allocation issues, e.g. avoid wrapping mutexes in returned anonomous functions, a common source of hidden allocations.
```
│ master.bench │ perf-p3.bench │
│ sec/op │ sec/op vs base │
AssembleDeepSiteWithManySections/depth=1/sectionsPerLevel=1/pagesPerSection=50-10 6.958m ± 3% 7.015m ± 3% ~ (p=0.589 n=6)
AssembleDeepSiteWithManySections/depth=1/sectionsPerLevel=6/pagesPerSection=100-10 14.25m ± 1% 14.56m ± 8% ~ (p=0.394 n=6)
AssembleDeepSiteWithManySections/depth=1/sectionsPerLevel=6/pagesPerSection=500-10 48.07m ± 3% 49.23m ± 3% ~ (p=0.394 n=6)
AssembleDeepSiteWithManySections/depth=2/sectionsPerLevel=6/pagesPerSection=100-10 66.66m ± 4% 66.47m ± 6% ~ (p=0.485 n=6)
AssembleDeepSiteWithManySections/depth=4/sectionsPerLevel=2/pagesPerSection=100-10 59.57m ± 4% 50.73m ± 5% -14.85% (p=0.002 n=6)
geomean 28.54m 27.92m -2.18%
│ master.bench │ perf-p3.bench │
│ B/op │ B/op vs base │
AssembleDeepSiteWithManySections/depth=1/sectionsPerLevel=1/pagesPerSection=50-10 4.513Mi ± 0% 4.527Mi ± 0% +0.33% (p=0.002 n=6)
AssembleDeepSiteWithManySections/depth=1/sectionsPerLevel=6/pagesPerSection=100-10 15.35Mi ± 0% 15.49Mi ± 0% +0.94% (p=0.002 n=6)
AssembleDeepSiteWithManySections/depth=1/sectionsPerLevel=6/pagesPerSection=500-10 62.50Mi ± 0% 63.19Mi ± 0% +1.10% (p=0.002 n=6)
AssembleDeepSiteWithManySections/depth=2/sectionsPerLevel=6/pagesPerSection=100-10 86.78Mi ± 0% 87.73Mi ± 0% +1.09% (p=0.002 n=6)
AssembleDeepSiteWithManySections/depth=4/sectionsPerLevel=2/pagesPerSection=100-10 62.96Mi ± 0% 63.66Mi ± 0% +1.12% (p=0.002 n=6)
geomean 29.84Mi 30.11Mi +0.92%
│ master.bench │ perf-p3.bench │
│ allocs/op │ allocs/op vs base │
AssembleDeepSiteWithManySections/depth=1/sectionsPerLevel=1/pagesPerSection=50-10 60.44k ± 0% 60.97k ± 0% +0.87% (p=0.002 n=6)
AssembleDeepSiteWithManySections/depth=1/sectionsPerLevel=6/pagesPerSection=100-10 205.8k ± 0% 211.4k ± 0% +2.70% (p=0.002 n=6)
AssembleDeepSiteWithManySections/depth=1/sectionsPerLevel=6/pagesPerSection=500-10 831.1k ± 0% 858.3k ± 0% +3.27% (p=0.002 n=6)
AssembleDeepSiteWithManySections/depth=2/sectionsPerLevel=6/pagesPerSection=100-10 1.157M ± 0% 1.197M ± 0% +3.41% (p=0.002 n=6)
AssembleDeepSiteWithManySections/depth=4/sectionsPerLevel=2/pagesPerSection=100-10 839.9k ± 0% 867.8k ± 0% +3.31% (p=0.002 n=6)
geomean 398.5k 409.3k +2.71%
```
2025-11-25 11:37:05 +01:00
Joe Mooring
3d21b0687b
markup/asciidocext: Improve Asciidoctor integration
...
Fixes an issue where improper attribute derivation from the page's
relative permalink caused failures with `outdir`, `imagesoutdir`, and
`imagesdir` when `markup.asciidocext.workingFolderCurrent` is enabled.
The updated logic now correctly handles:
- Multi-byte characters
- Multilingual multi-host sites
- Site builds from a subdirectory
- Pages using ugly URLs
Supports diagram caching as implemented in v3.1.0 of the asciidoctor-diagram
extension:
- Enables caching by default
- Sets default cache location to the compiled value of caches.misc.dir
Reduces duration of integration tests by:
- Generating GoAT diagrams instead of Ditaa diagrams
- Taking advantage of asciidoctor-diagram caching
Closes #9202
Closes #10183
Closes #10473
Closes #14160
2025-11-24 23:03:53 +01:00
Bjørn Erik Pedersen
34b0c15a54
gemini: Remove styleguide.md (for now)
2025-11-24 21:00:24 +01:00
Bjørn Erik Pedersen
9dc38e917c
github: Reenable Gemini, but no auto code review
2025-11-24 20:37:19 +01:00
Bjørn Erik Pedersen
b592d34efe
github: Partition tests by their root
2025-11-24 19:42:28 +01:00
Bjørn Erik Pedersen
18a2afa519
github: Make the clean commands work
2025-11-24 19:04:33 +01:00
Bjørn Erik Pedersen
0b0c827d5b
github: Also test the root package (left out in previous commit)
2025-11-24 18:38:53 +01:00
Bjørn Erik Pedersen
30dc75e620
github: More disk space saving optimizations
2025-11-24 18:38:21 +01:00
Joe Mooring
6bc8e6f491
github: Add PR Template
2025-11-21 20:22:50 +01:00
Bjørn Erik Pedersen
cda4d75187
Adjust benchmark
2025-11-21 16:19:24 +01:00
Bjørn Erik Pedersen
84950ed2b2
tpl/openapi: Add support for OpenAPI external file references
...
Fixes #8067
2025-11-21 16:03:05 +01:00
dependabot[bot]
2b337cd212
build(deps): bump github.com/aws/aws-sdk-go-v2/service/cloudfront
...
Bumps [github.com/aws/aws-sdk-go-v2/service/cloudfront](https://github.com/aws/aws-sdk-go-v2 ) from 1.56.3 to 1.57.0.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases )
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json )
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/ecs/v1.56.3...service/s3/v1.57.0 )
---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/service/cloudfront
dependency-version: 1.57.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-11-21 11:49:04 +01:00
dependabot[bot]
cc61d00df9
build(deps): bump golang.org/x/image from 0.32.0 to 0.33.0
...
Bumps [golang.org/x/image](https://github.com/golang/image ) from 0.32.0 to 0.33.0.
- [Commits](https://github.com/golang/image/compare/v0.32.0...v0.33.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/image
dependency-version: 0.33.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-11-21 11:48:42 +01:00
dependabot[bot]
8ef2c61985
build(deps): bump golang.org/x/crypto from 0.43.0 to 0.45.0
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.43.0 to 0.45.0.
- [Commits](https://github.com/golang/crypto/compare/v0.43.0...v0.45.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-version: 0.45.0
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-11-21 11:47:10 +01:00
Bjørn Erik Pedersen
a8ed613742
github: Skip dependabot for AI Watchdog workflow
2025-11-21 11:46:26 +01:00
dependabot[bot]
b91688034f
build(deps): bump github.com/tdewolff/minify/v2 from 2.24.5 to 2.24.7
...
Bumps [github.com/tdewolff/minify/v2](https://github.com/tdewolff/minify ) from 2.24.5 to 2.24.7.
- [Release notes](https://github.com/tdewolff/minify/releases )
- [Commits](https://github.com/tdewolff/minify/compare/v2.24.5...v2.24.7 )
---
updated-dependencies:
- dependency-name: github.com/tdewolff/minify/v2
dependency-version: 2.24.7
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-11-21 11:27:13 +01:00
Bjørn Erik Pedersen
b971b7f911
github: Remove the 386 test step in GitHub test workflow
...
Fixes #14201
2025-11-21 11:00:50 +01:00
Bjørn Erik Pedersen
24210dcad9
github: Remove test binaries after CI test runs
2025-11-21 10:59:03 +01:00
Bjørn Erik Pedersen
b037b9300c
github: Fix "no space left on device" issue in CI
2025-11-20 14:26:52 +01:00
dependabot[bot]
268046732e
build(deps): bump github.com/aws/aws-sdk-go-v2/service/cloudfront
...
Bumps [github.com/aws/aws-sdk-go-v2/service/cloudfront](https://github.com/aws/aws-sdk-go-v2 ) from 1.56.0 to 1.56.3.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases )
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json )
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/s3/v1.56.0...service/ecs/v1.56.3 )
---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/service/cloudfront
dependency-version: 1.56.3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-11-20 10:39:15 +01:00
dependabot[bot]
8ce80f755d
build(deps): bump golang.org/x/tools from 0.38.0 to 0.39.0
...
Bumps [golang.org/x/tools](https://github.com/golang/tools ) from 0.38.0 to 0.39.0.
- [Release notes](https://github.com/golang/tools/releases )
- [Commits](https://github.com/golang/tools/compare/v0.38.0...v0.39.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/tools
dependency-version: 0.39.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-11-20 10:38:53 +01:00
dependabot[bot]
4baa95ba65
build(deps): bump github.com/tetratelabs/wazero from 1.10.0 to 1.10.1
...
Bumps [github.com/tetratelabs/wazero](https://github.com/tetratelabs/wazero ) from 1.10.0 to 1.10.1.
- [Release notes](https://github.com/tetratelabs/wazero/releases )
- [Commits](https://github.com/tetratelabs/wazero/compare/v1.10.0...v1.10.1 )
---
updated-dependencies:
- dependency-name: github.com/tetratelabs/wazero
dependency-version: 1.10.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-11-20 10:36:59 +01:00
Bjørn Erik Pedersen
0f94274a28
github: Adjust watchdog run logic (now with correct spelling)
2025-11-19 16:01:38 +01:00
Bjørn Erik Pedersen
5f9c3a3e4c
github: Adjust watchdog run logic (again)
2025-11-19 15:59:33 +01:00
Bjørn Erik Pedersen
51d77a6ca8
github: Adjust watchdog run logic
2025-11-19 15:49:52 +01:00
Bjørn Erik Pedersen
d25b619ce2
github: Only run AI Watchdog when the PR is ready for review
2025-11-19 15:32:28 +01:00
dependabot[bot]
b81861fd21
build(deps): bump github.com/bits-and-blooms/bitset
...
Bumps [github.com/bits-and-blooms/bitset](https://github.com/bits-and-blooms/bitset ) from 1.22.0 to 1.24.4.
- [Release notes](https://github.com/bits-and-blooms/bitset/releases )
- [Commits](https://github.com/bits-and-blooms/bitset/compare/v1.22.0...v1.24.4 )
---
updated-dependencies:
- dependency-name: github.com/bits-and-blooms/bitset
dependency-version: 1.24.4
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-11-19 13:55:59 +01:00
dependabot[bot]
15cce89e0e
build(deps): bump github.com/olekukonko/tablewriter from 1.1.0 to 1.1.1
...
Bumps [github.com/olekukonko/tablewriter](https://github.com/olekukonko/tablewriter ) from 1.1.0 to 1.1.1.
- [Commits](https://github.com/olekukonko/tablewriter/compare/v1.1.0...v1.1.1 )
---
updated-dependencies:
- dependency-name: github.com/olekukonko/tablewriter
dependency-version: 1.1.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-11-19 13:28:46 +01:00
dependabot[bot]
187e683bb2
build(deps): bump golang.org/x/text from 0.30.0 to 0.31.0
...
Bumps [golang.org/x/text](https://github.com/golang/text ) from 0.30.0 to 0.31.0.
- [Release notes](https://github.com/golang/text/releases )
- [Commits](https://github.com/golang/text/compare/v0.30.0...v0.31.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/text
dependency-version: 0.31.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-11-19 13:28:05 +01:00
dependabot[bot]
432078a6af
build(deps): bump github.com/evanw/esbuild from 0.25.12 to 0.27.0
...
Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild ) from 0.25.12 to 0.27.0.
- [Release notes](https://github.com/evanw/esbuild/releases )
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md )
- [Commits](https://github.com/evanw/esbuild/compare/v0.25.12...v0.27.0 )
---
updated-dependencies:
- dependency-name: github.com/evanw/esbuild
dependency-version: 0.27.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-11-19 13:24:04 +01:00
Bjørn Erik Pedersen
4a76d8c611
Update aiwatchdog.yml
2025-11-19 12:37:14 +01:00
Bjørn Erik Pedersen
d837eff08f
Update aiwatchdog.yml
2025-11-19 12:29:22 +01:00
Bjørn Erik Pedersen
323e306bd7
Update aiwatchdog.yml
2025-11-19 12:27:47 +01:00
Bjørn Erik Pedersen
2047638a2c
github: Add label to AI suspects and do not fail when confident
...
The latter is mostly to get the dependabot PRs through. We may add a filter to that later.
2025-11-19 12:13:11 +01:00
Bjørn Erik Pedersen
38efb702aa
github: Adjust AI Watchdog workflow to make it run PRs from forks
2025-11-18 20:31:04 +01:00
Bjørn Erik Pedersen
bdf8b1a915
github: Adjust workflow permissions
2025-11-18 19:37:32 +01:00
Bjørn Erik Pedersen
f33c1a3fdb
performance: Misc allocation improvements
...
```
│ stash.bench │ perf-allloc20251118.bench │
│ sec/op │ sec/op vs base │
CreateShortcodePlaceholders-10 54.16n ± ∞ ¹ 39.06n ± ∞ ¹ -27.87% (p=0.029 n=4)
¹ need >= 6 samples for confidence interval at level 0.95
│ stash.bench │ perf-allloc20251118.bench │
│ B/op │ B/op vs base │
CreateShortcodePlaceholders-10 52.00 ± ∞ ¹ 48.00 ± ∞ ¹ -7.69% (p=0.029 n=4)
¹ need >= 6 samples for confidence interval at level 0.95
│ stash.bench │ perf-allloc20251118.bench │
│ allocs/op │ allocs/op vs base │
CreateShortcodePlaceholders-10 2.000 ± ∞ ¹ 1.000 ± ∞ ¹ -50.00% (p=0.029 n=4)
¹ need >= 6 samples for confidence interval at level 0.95
````
2025-11-18 19:17:15 +01:00
Bjørn Erik Pedersen
fee095768c
hugolib/doctree: Simplify lock setup in SimpleThreadSafeTree to reduce read allocation
...
```
│ sec/op │ sec/op vs base │
SimpleThreadSafeTree/Get-10 45.80n ± 11% 27.71n ± 7% -39.51% (p=0.002 n=6)
SimpleThreadSafeTree/Insert-10 40.96n ± 1% 40.36n ± 0% -1.47% (p=0.002 n=6)
SimpleThreadSafeTree/LongestPrefix-10 47.12n ± 0% 32.60n ± 1% -30.81% (p=0.002 n=6)
geomean 44.54n 33.16n -25.57%
│ cmp152.bench │ perf-allloc20251118.bench │
│ B/op │ B/op vs base │
SimpleThreadSafeTree/Get-10 16.00 ± 0% 0.00 ± 0% -100.00% (p=0.002 n=6)
SimpleThreadSafeTree/Insert-10 8.000 ± 0% 8.000 ± 0% ~ (p=1.000 n=6) ¹
SimpleThreadSafeTree/LongestPrefix-10 16.00 ± 0% 0.00 ± 0% -100.00% (p=0.002 n=6)
````
2025-11-18 19:17:15 +01:00
Bjørn Erik Pedersen
56d7925a97
github: Add ai-watchdog workflow and update other workflows' versions
...
See #14147
2025-11-18 19:15:14 +01:00
dependabot[bot]
38608c7c14
build(deps): bump google.golang.org/api from 0.251.0 to 0.255.0
...
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.251.0 to 0.255.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases )
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md )
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.251.0...v0.255.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/api
dependency-version: 0.255.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-11-18 12:14:13 +01:00
dependabot[bot]
d75f0dc6a5
build(deps): bump github.com/aws/aws-sdk-go-v2/service/cloudfront
...
Bumps [github.com/aws/aws-sdk-go-v2/service/cloudfront](https://github.com/aws/aws-sdk-go-v2 ) from 1.54.4 to 1.56.0.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases )
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json )
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/s3/v1.54.4...service/s3/v1.56.0 )
---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/service/cloudfront
dependency-version: 1.56.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-11-18 12:14:02 +01:00
dependabot[bot]
579362efd4
build(deps): bump github.com/tetratelabs/wazero from 1.9.0 to 1.10.0
...
Bumps [github.com/tetratelabs/wazero](https://github.com/tetratelabs/wazero ) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/tetratelabs/wazero/releases )
- [Commits](https://github.com/tetratelabs/wazero/compare/v1.9.0...v1.10.0 )
---
updated-dependencies:
- dependency-name: github.com/tetratelabs/wazero
dependency-version: 1.10.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-11-18 12:12:04 +01:00
Joe Mooring
c6b6910a79
tpl/collections: Improve collections.D
...
Changes:
- If n > hi, return the full, sorted range [0, hi) of size hi.
- Throw errors when seed, n, or hi are < 0
- Improve error messages
Closes #14143
2025-11-18 11:42:33 +01:00
Bjørn Erik Pedersen
ca4025405c
Optimize memory allocations for sites matrix vector stores
...
By
* Caching common sites matrix setups (e.g. the single site in single site setups).
* Adding a fast path to IntSets.HasAnyVector for the common case of single vector input.
```
AssembleDeepSiteWithManySections/depth=3/sectionsPerLevel=2/pagesPerSection=100-10 31.62m ± 46% 30.68m ± 42% ~ (p=0.310 n=6)
│ master.bench │ perfcommon.bench │
│ B/op │ B/op vs base │
AssembleDeepSiteWithManySections/depth=3/sectionsPerLevel=2/pagesPerSection=100-10 31.98Mi ± 0% 31.24Mi ± 0% -2.30% (p=0.002 n=6)
│ master.bench │ perfcommon.bench │
│ allocs/op │ allocs/op vs base │
AssembleDeepSiteWithManySections/depth=3/sectionsPerLevel=2/pagesPerSection=100-10 460.9k ± 0% 419.9k ± 0% -8.90% (p=0.002 n=6)
````
2025-11-17 16:01:37 +01:00
Bjørn Erik Pedersen
44b5f13f86
gemini: Disable auto PR codereviews for now
...
I'm assuming it's still possible to trigger commands like `/gemini review` manually.
2025-11-17 14:50:41 +01:00
Jordan Elver
5af311284a
docs: Fix link to CGO wiki page
...
The Go wiki is no longer hosted on GitHub, and has moved to go.dev. See https://github.com/golang/go/wiki/
2025-11-17 14:14:47 +01:00
Joe Mooring
9d80c3978f
github: Update asciidoctor-diagrams extension and add GoAT
2025-11-16 12:36:05 -08:00
Bjørn Erik Pedersen
62c47407b2
Fix grammatical error in styleguide.md
2025-11-16 20:25:33 +01:00
Bjørn Erik Pedersen
2c6574ebdb
Update styleguide.md
2025-11-16 20:05:32 +01:00
Bjørn Erik Pedersen
60c4245e67
Add gemini setup files
2025-11-16 19:30:46 +01:00
Ahamed_Meyan
5e6b269c41
static: Preserve .gitignore and .gitattributes in --cleanDestinationDir
...
Fixes #14097
2025-11-16 11:10:20 +01:00
Bjørn Erik Pedersen
94a6233aab
hugolib: Fix recently introduced data race
...
This introduces a new thread safe maps.Map type to avoid abusing the exsting maps.Cache for regular map uses.
Fixes #14140
2025-11-15 21:17:42 +01:00
Bjørn Erik Pedersen
26f31ff6ce
hugolib: Improve performance of content trees with many sections
...
Hugo's build process is roughly divided into three steps:
1. Process content (walk file system and insert source nodes into content tree)
2. Assemble content (assemble pages and resources according to sites matrix)
3. Render content
In #13679 we consolidated the page creation logic into one place (the assemble step). This made it much simpler to reason about, but it lost us some performance esp. in big content trees.
This commit re-introduces parallelization in the first step in the assemble step by handling each top level section in its own goroutine. This gives significant performance improvements for content trees with many sections.
Compared to master:
```
AssembleDeepSiteWithManySections/depth=1/sectionsPerLevel=6/pagesPerSection=100-10 19.26m ± ∞ ¹ 14.54m ± ∞ ¹ -24.52% (p=0.029 n=4)
AssembleDeepSiteWithManySections/depth=2/sectionsPerLevel=2/pagesPerSection=100-10 19.74m ± ∞ ¹ 16.45m ± ∞ ¹ -16.71% (p=0.029 n=4)
AssembleDeepSiteWithManySections/depth=2/sectionsPerLevel=6/pagesPerSection=100-10 106.18m ± ∞ ¹ 71.23m ± ∞ ¹ -32.91% (p=0.029 n=4)
AssembleDeepSiteWithManySections/depth=3/sectionsPerLevel=2/pagesPerSection=100-10 38.85m ± ∞ ¹ 30.47m ± ∞ ¹ -21.59% (p=0.029 n=4)
```
2025-11-14 11:24:31 +01:00
Joe Mooring
bca171b691
markup/asciidocext: Support boolean document attributes
...
Closes #14138
2025-11-13 19:04:21 +01:00
Joe Mooring
9289aa43aa
github: Allow AsciiDoc content in tests to render Ditaa diagrams
...
In 2c80dee358 we enabled rendering of
PlantUML diagrams within integration tests. This commit removes PlantUML
support from the tests in favor of rendering Ditaa diagrams, which take
less time to generate.
2025-11-12 22:48:43 +01:00
Bjørn Erik Pedersen
606415ec18
Add a site assembly benchmark test for a deeper site structure with more sections and pages
2025-11-12 18:26:52 +01:00
Bjørn Erik Pedersen
dc2f6ae27a
sitesmatrix: Clary default dimension values
...
And make the default content version `v.1.0.0`. It has not much practical difference, but this encourages semver usage.
2025-11-12 13:00:55 +01:00
Bjørn Erik Pedersen
a0944ac7a4
Run go mod tidy to clean up go.mod and go.sum
2025-11-12 12:58:30 +01:00
Bjørn Erik Pedersen
22d0c17e82
docshelper: Fix some YAML serialization issues with sites matrix configuration
...
Fixes #14132
2025-11-11 13:49:31 +01:00
David Karlsson
25c7c18f9f
resources/page: Fix slugorcontentbasename for section pages
...
The slugorcontentbasename permalink token was creating an extra
subdirectory for section pages (_index.md files). This was because
pageToPermalinkContentBaseName did not have the same special handling
for _index.md files as pageToPermalinkFilename.
This commit adds the special handling to return an empty string for
section pages, ensuring backward compatibility with slugorfilename.
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
Fixes #14104
2025-11-10 17:03:26 +01:00
dependabot[bot]
0e8f88fa72
build(deps): bump github.com/evanw/esbuild from 0.25.11 to 0.25.12
...
Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild ) from 0.25.11 to 0.25.12.
- [Release notes](https://github.com/evanw/esbuild/releases )
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md )
- [Commits](https://github.com/evanw/esbuild/compare/v0.25.11...v0.25.12 )
---
updated-dependencies:
- dependency-name: github.com/evanw/esbuild
dependency-version: 0.25.12
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-11-10 12:36:36 +01:00
Bjørn Erik Pedersen
a2469d504e
testing: Rewrite all the old style integration tests to txtar style tests
...
And remove some not worth keeping (or too much work to convert).
2025-11-10 12:00:58 +01:00
Alexandru Grigore
0efcb24c37
commands: newDocsHelper encode integers as ints in generated YAML
...
Previously the JSON -> map roundtrip produced float64 values which caused the YAML encoder to emit integers like 404.0 instead of 404. Use the YAML encoder option yaml.AutoInt() so numbers that are integer-valued are encoded as integers.
This change affects the
ewDocsHelper command (commands/gen.go) where the docs data is written to docs/data/docs.yaml. After this change generated YAML will contain integer values (e.g. status: 404) instead of floats (e.g. status: 404.0).
Fixes #14122
2025-11-09 23:01:16 +01:00
Joe Mooring
e1236e3d0d
config: Add struct tags to deprecated and unused fields
...
This will remove these fields from the output of newDocsHelper.
2025-11-09 12:59:46 +01:00
Bjørn Erik Pedersen
e24b604c30
hugolib: Delete some old integration tests
...
We have had several had several integration test setups over the years. What we have now, backed by txtar files, has been working very well for a long time.
The tests deleted here may lose us some coverage, but they are painful to maintain and it's unlikely that we will port them to the new setup.
2025-11-07 19:44:58 +01:00
Bjørn Erik Pedersen
4c7a78f5ca
testing: Revise usage of b.N and b.Loop() in benchmarks
2025-11-07 13:33:39 +01:00
Bjørn Erik Pedersen
91eac9e573
all: Fix some benchmarks broken by modernize
...
It's not possible to use `b.Loop()` when `b.N` is used to prepare test data.
See 264022a75a
See #14107
2025-11-06 10:43:12 +01:00
Bjørn Erik Pedersen
04650ce778
all: Run modernize -fix ./...
...
Closes #14107
2025-11-05 21:05:42 +01:00
Bjørn Erik Pedersen
264022a75a
Add roles and versions as new dimensions (in addition to language)
...
See the main issue #13776 for details.
Fixes #519
Fixes #13680
Fixes #13663
Fixes #13776
Fixes #13855
Fixes #13648
Fixes #13996
Fixes #14001
Fixes #14031
Fixes #13818
Fixes #13196
2025-11-05 20:39:25 +01:00
Bjørn Erik Pedersen
ff0f67ea7f
Update CONTRIBUTING.md
2025-11-04 10:57:26 +01:00
Joe Mooring
2c80dee358
github: Allow AsciiDoc content in tests to render diagrams
2025-10-31 12:47:40 -07:00
Bjørn Erik Pedersen
e9bda21ce9
hreflect: Cache reflect method lookups used in collections.Where and others
...
We already cached the method index on the struct, but caching the resolved `reflect.Method` itself saves us from having to do another lookup on each call, which is escpeciall import in the hot path used by collections.Where and otherrs:
```bash
│ master.bench │ fix-reflectmethodcache.bench │
│ sec/op │ sec/op vs base │
WhereSliceOfStructPointersWithMethod-10 592.2µ ± ∞ ¹ 390.1µ ± ∞ ¹ -34.14% (p=0.029 n=4)
¹ need >= 6 samples for confidence interval at level 0.95
│ master.bench │ fix-reflectmethodcache.bench │
│ B/op │ B/op vs base │
WhereSliceOfStructPointersWithMethod-10 205.14Ki ± ∞ ¹ 64.52Ki ± ∞ ¹ -68.55% (p=0.029 n=4)
¹ need >= 6 samples for confidence interval at level 0.95
│ master.bench │ fix-reflectmethodcache.bench │
│ allocs/op │ allocs/op vs base │
WhereSliceOfStructPointersWithMethod-10 9.003k ± ∞ ¹ 4.503k ± ∞ ¹ -49.98% (p=0.029 n=4)
````
2025-10-27 15:45:50 +01:00
Bjørn Erik Pedersen
3893e70510
all: Simplify the reflect usage
...
* Use helper funcs in hreflect package when possible.
* Use hreflect.ConvertIfPossible to handle conversions when possible.
* Move scratch.go from common/maps to common/hstore to clear cyclic import in the next step.
* Move Indirect to hreflect and reimplementing it and adusting the behavior to preserve struct pointers.
* Adjust evaluateSubElem used by where and others making the struct pointer method case slightly faster.
2025-10-26 17:36:58 +01:00
hugoreleaser
b95f7d2552
releaser: Prepare repository for 0.153.0-DEV
...
[ci skip]
2025-10-24 15:44:59 +00:00
hugoreleaser
6abdacad3f
releaser: Bump versions for release of 0.152.2
...
[ci skip]
2025-10-24 15:31:49 +00:00
Joe Mooring
1c8c21e45e
deps: Update github.com/tdewolff/minify v2.24.4 => v2.24.5
...
Closes #14086
2025-10-24 17:28:42 +02:00
Bjørn Erik Pedersen
809ebe01fa
hugofs: Make node_modules a "special case" mount
...
For this and similar mounts in a theme:
```toml
[[module.mounts]]
source = 'node_modules/bootstrap'
target = 'assets/vendor/bootstrap'
```
We first check the theme itself, then the project root.
For backwards compatibility, we also make any `../../node_modules/...` `source` paths into `node_modules/...` paths when defined in themes/modules.
Fixes #14089
2025-10-24 17:12:46 +02:00
Jordan Elver
08a0679a89
github: Fix typo in stale PR message
2025-10-24 14:30:48 +02:00
hugoreleaser
524b98665b
releaser: Prepare repository for 0.153.0-DEV
...
[ci skip]
2025-10-22 19:24:59 +00:00
hugoreleaser
5869cbddd8
releaser: Bump versions for release of 0.152.1
...
[ci skip]
2025-10-22 19:10:44 +00:00
Bjørn Erik Pedersen
e08278d165
Expand the numeric conversions to template funcs/methods
...
So the example mentioned in #14079 also works for TOML and JSON front matter.
See #14079
2025-10-22 21:04:39 +02:00
Bjørn Erik Pedersen
df4f80d54f
Fix where with uint64
...
Fixes #14081
2025-10-22 21:04:39 +02:00
Bjørn Erik Pedersen
d4c78885ae
Fix it so YAML integer types can be used where Go int types are expected
...
E.g. in date.AddDate.
In Hugo v0.152.0 we moved to a new YAML library (github.com/goccy/go-yaml) which produces uint64 for unsigned integers.
This unfortunately breaks common constructs like:
.Date.AddDate 0 0 7
when .Date is a time.Time and the integers are unmarshaled from YAML front matter.
This commit adds code to handle conversion from uint64 (and other int types) to the required int types where possible.
Fixes #14079
2025-10-22 21:04:39 +02:00
Bjørn Erik Pedersen
29e2c2fa92
tpl/compare: Fix compare/sort of uint64s
...
`uint64` is used by github.com/goccy/go-yaml for unsigned integers, which is the reason why this long-living bug has surfaced now.
Fixes #14078
2025-10-22 13:40:03 +02:00
Bjørn Erik Pedersen
0579afc3c5
Fix "assignment to entry in nil map" on empty YAML config files
...
Fixes #14074
2025-10-22 13:40:03 +02:00
hugoreleaser
0ccbc63ab8
releaser: Prepare repository for 0.153.0-DEV
...
[ci skip]
2025-10-21 16:43:50 +00:00
hugoreleaser
06bc2c16c0
releaser: Bump versions for release of 0.152.0
...
[ci skip]
2025-10-21 16:29:49 +00:00
Bjørn Erik Pedersen
d51adca26a
Merge branch 'release-0.151.2'
2025-10-21 16:08:23 +02:00
Bjørn Erik Pedersen
a1307700dd
config: Clone language map entries before modifying them
...
Now, with YAML anchor and alias support, these can point to shared data,
which must not be modified in place.
Fixes #14072
2025-10-21 13:34:15 +02:00
Bjørn Erik Pedersen
9425b939c6
Skip flaky test for now
...
See #14072
2025-10-21 10:32:52 +02:00
Bjørn Erik Pedersen
bd50c9c7e7
Misc YAML adjustments
...
Closes #14067
2025-10-20 16:05:05 +02:00
Bjørn Erik Pedersen
a8e0ca9254
hugofs: Make sure that non-project module mounts are local paths
...
Fixes #14069
2025-10-19 20:27:10 +02:00
Joe Mooring
559a029de7
langs/i18n: Improve reserved key error message
...
Closes #14061
2025-10-19 13:47:04 +02:00
Bjørn Erik Pedersen
184b10ed45
deps: Upgrade github.com/gohugoio/go-i18n/v2
...
Gets the fork line with https://github.com/nicksnyder/go-i18n/commit/28dedbee2baafdef1b89b46fc5b729d09232e245 + patch.
2025-10-18 18:21:14 +02:00
Bjørn Erik Pedersen
5bad0d523e
langs: Add test case using a "reserved" i18n code
...
See #14061
2025-10-18 15:28:33 +02:00
Bjørn Erik Pedersen
a3d9548469
Replace to gopkg.in/yaml with github.com/goccy/go-yaml (note)
...
This commit also adds validation to prevent the "Billion Laughs" attack (see https://github.com/goccy/go-yaml/issues/461 ). The limit of non-scalar aliases to the same node is set to 10,000. See benchmarks below.
``` │ sec/op │
UnmarshalBillionLaughs/Billion_Laughs_no_validation-10 125.2µ ± ∞ ¹
UnmarshalBillionLaughs/Billion_Laughs_with_validation-10 655.8µ ± ∞ ¹
UnmarshalBillionLaughs/YAML_Front_Matter_no_validation-10 9.223µ ± ∞ ¹
UnmarshalBillionLaughs/YAML_Front_Matter_with_validation-10 9.443µ ± ∞ ¹
geomean 51.71µ
¹ need >= 6 samples for confidence interval at level 0.95
│ fix-goyaml-8822.bench │
│ B/op │
UnmarshalBillionLaughs/Billion_Laughs_no_validation-10 177.0Ki ± ∞ ¹
UnmarshalBillionLaughs/Billion_Laughs_with_validation-10 177.0Ki ± ∞ ¹
UnmarshalBillionLaughs/YAML_Front_Matter_no_validation-10 11.67Ki ± ∞ ¹
UnmarshalBillionLaughs/YAML_Front_Matter_with_validation-10 11.67Ki ± ∞ ¹
geomean 45.45Ki
¹ need >= 6 samples for confidence interval at level 0.95
│ fix-goyaml-8822.bench │
│ allocs/op │
UnmarshalBillionLaughs/Billion_Laughs_no_validation-10 3.302k ± ∞ ¹
UnmarshalBillionLaughs/Billion_Laughs_with_validation-10 3.305k ± ∞ ¹
UnmarshalBillionLaughs/YAML_Front_Matter_no_validation-10 253.0 ± ∞ ¹
UnmarshalBillionLaughs/YAML_Front_Matter_with_validation-10 253.0 ± ∞ ¹
````
Fixes #8822
Fixes #13043
Fixes #14053
Fixes ##8427
2025-10-18 13:52:22 +02:00
dependabot[bot]
9e344bbe49
build(deps): bump github.com/tdewolff/minify/v2 from 2.24.3 to 2.24.4
...
Bumps [github.com/tdewolff/minify/v2](https://github.com/tdewolff/minify ) from 2.24.3 to 2.24.4.
- [Release notes](https://github.com/tdewolff/minify/releases )
- [Commits](https://github.com/tdewolff/minify/compare/v2.24.3...v2.24.4 )
---
updated-dependencies:
- dependency-name: github.com/tdewolff/minify/v2
dependency-version: 2.24.4
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-10-17 18:44:56 +02:00
hugoreleaser
1ec0e2ebec
releaser: Prepare repository for 0.152.0-DEV
...
[ci skip]
2025-10-16 17:06:05 +00:00
hugoreleaser
a3574f6f70
releaser: Bump versions for release of 0.151.2
...
[ci skip]
2025-10-16 16:52:34 +00:00
Bjørn Erik Pedersen
989454a52d
parser/pageparser: Add a testcase for nested shortcodes of the same name
...
See #14054
2025-10-16 18:50:02 +02:00
Bjørn Erik Pedersen
1e91e46520
parser/pageparser: Fix shortcode nesting regression
...
This reverts commit a133393eda .
While that commit fixed a bug, it introduced a worse one.
Closes #14054
2025-10-16 18:50:02 +02:00
Bjørn Erik Pedersen
8a57d0f15f
testscripts: Add and improve commands tests for static mounts
2025-10-16 12:39:11 +02:00
hugoreleaser
b76c50ac18
releaser: Prepare repository for 0.152.0-DEV
...
[ci skip]
2025-10-15 15:06:42 +00:00
hugoreleaser
1cdd17882c
releaser: Bump versions for release of 0.151.1
...
[ci skip]
2025-10-15 14:51:34 +00:00
Bjørn Erik Pedersen
e2fb0b0e80
Upgrade Go to 1.25.3
...
See https://go.dev/doc/devel/release#go1.25.3
2025-10-15 13:00:33 +02:00
Kazuo Oishi
88aea56683
tpl: Fix strings/truncate CJK handling
...
Fix truncate position for mix of CJK and non-CJK text.
Fixes #14039
2025-10-15 13:00:10 +02:00
dependabot[bot]
f4c11571bb
build(deps): bump github.com/gohugoio/hashstructure from 0.5.0 to 0.6.0
...
Bumps [github.com/gohugoio/hashstructure](https://github.com/gohugoio/hashstructure ) from 0.5.0 to 0.6.0.
- [Release notes](https://github.com/gohugoio/hashstructure/releases )
- [Commits](https://github.com/gohugoio/hashstructure/compare/v0.5.0...v0.6.0 )
---
updated-dependencies:
- dependency-name: github.com/gohugoio/hashstructure
dependency-version: 0.6.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-10-15 11:00:35 +02:00
dependabot[bot]
54075acc29
build(deps): bump golang.org/x/image from 0.30.0 to 0.32.0
...
Bumps [golang.org/x/image](https://github.com/golang/image ) from 0.30.0 to 0.32.0.
- [Commits](https://github.com/golang/image/compare/v0.30.0...v0.32.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/image
dependency-version: 0.32.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-10-15 10:59:28 +02:00
dependabot[bot]
8b52303e31
build(deps): bump github.com/evanw/esbuild from 0.25.10 to 0.25.11
...
Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild ) from 0.25.10 to 0.25.11.
- [Release notes](https://github.com/evanw/esbuild/releases )
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md )
- [Commits](https://github.com/evanw/esbuild/compare/v0.25.10...v0.25.11 )
---
updated-dependencies:
- dependency-name: github.com/evanw/esbuild
dependency-version: 0.25.11
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-10-15 10:57:33 +02:00
dependabot[bot]
3d45d30a41
build(deps): bump golang.org/x/tools from 0.37.0 to 0.38.0
...
Bumps [golang.org/x/tools](https://github.com/golang/tools ) from 0.37.0 to 0.38.0.
- [Release notes](https://github.com/golang/tools/releases )
- [Commits](https://github.com/golang/tools/compare/v0.37.0...v0.38.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/tools
dependency-version: 0.38.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-10-14 22:10:08 +02:00
dependabot[bot]
095157cd65
build(deps): bump golang.org/x/mod from 0.28.0 to 0.29.0
...
Bumps [golang.org/x/mod](https://github.com/golang/mod ) from 0.28.0 to 0.29.0.
- [Commits](https://github.com/golang/mod/compare/v0.28.0...v0.29.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/mod
dependency-version: 0.29.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-10-14 16:34:43 +02:00
Sardorbek Imomaliev
29cf87444f
create/skeletons: Wrap section and home lists with section tags
...
Avoiding issues with tag leakage when using .Summary
See issue #14044 for details.
2025-10-14 11:54:45 +02:00
Joe Mooring
1b4dd436dd
markup/goldmark: Align blockquote default output with Goldmark
...
Closes #14046
2025-10-14 09:38:29 +02:00
Bjørn Erik Pedersen
4414ef73f3
parser/pageparser: Store shortcode names as unique.Handle[string] to save memory allocations
...
```
│ stash.bench │ perf-pagelexer.bench │
│ sec/op │ sec/op vs base │
ShortcodeLexer-10 68.87µ ± ∞ ¹ 65.91µ ± ∞ ¹ ~ (p=0.200 n=4)
Parse-10 7.421µ ± ∞ ¹ 7.030µ ± ∞ ¹ -5.28% (p=0.029 n=4)
HasShortcode/Match-10 70.42n ± ∞ ¹ 77.37n ± ∞ ¹ +9.86% (p=0.029 n=4)
HasShortcode/NoMatch-10 14.32n ± ∞ ¹ 14.38n ± ∞ ¹ ~ (p=0.086 n=4)
geomean 847.2n 847.3n +0.01%
¹ need >= 6 samples for confidence interval at level 0.95
│ stash.bench │ perf-pagelexer.bench │
│ B/op │ B/op vs base │
ShortcodeLexer-10 181.3Ki ± ∞ ¹ 177.4Ki ± ∞ ¹ -2.19% (p=0.029 n=4)
Parse-10 24.56Ki ± ∞ ¹ 24.19Ki ± ∞ ¹ -1.53% (p=0.029 n=4)
HasShortcode/Match-10 0.000 ± ∞ ¹ 0.000 ± ∞ ¹ ~ (p=1.000 n=4) ²
HasShortcode/NoMatch-10 0.000 ± ∞ ¹ 0.000 ± ∞ ¹ ~ (p=1.000 n=4) ²
geomean ³ -0.93% ³
¹ need >= 6 samples for confidence interval at level 0.95
² all samples are equal
³ summaries must be >0 to compute geomean
│ stash.bench │ perf-pagelexer.bench │
│ allocs/op │ allocs/op vs base │
ShortcodeLexer-10 1004.0 ± ∞ ¹ 921.0 ± ∞ ¹ -8.27% (p=0.029 n=4)
Parse-10 34.00 ± ∞ ¹ 14.00 ± ∞ ¹ -58.82% (p=0.029 n=4)
HasShortcode/Match-10 0.000 ± ∞ ¹ 0.000 ± ∞ ¹ ~ (p=1.000 n=4) ²
HasShortcode/NoMatch-10 0.000 ± ∞ ¹ 0.000 ± ∞ ¹ ~ (p=1.000 n=4) ²
```
2025-10-05 19:06:46 +02:00
Bjørn Erik Pedersen
a133393eda
parser/pagerparser: Fix closing shortcode error handling when repeated
2025-10-05 19:06:46 +02:00
Bjørn Erik Pedersen
9197debbfe
testscripts: Make test assertion less specific
2025-10-05 18:08:52 +02:00
hugoreleaser
c29897fac0
releaser: Prepare repository for 0.152.0-DEV
...
[ci skip]
2025-10-02 13:45:36 +00:00
hugoreleaser
c70ab27ceb
releaser: Bump versions for release of 0.151.0
...
[ci skip]
2025-10-02 13:30:36 +00:00
Bjørn Erik Pedersen
510d98b778
Adjust the terminal progress reporter a little
...
Mostly to reduce the amount of OSC 9;4 sequences written to stdout.
2025-10-02 14:57:42 +02:00
Andrii Chubatiuk
7fd6762c16
transform/livereloadinject: Skip livereload.js injection if no tags found (note)
...
This change is mainly motivated to support sites built by HTML fragments with e.g. a JS framework.
Now we don't inject the script if we don't find any of `doctype` (the only one required by the HTML 5 spec), `html` or `head`.
Co-authored-by: bep <bjorn.erik.pedersen@gmail.com >
2025-10-02 13:39:35 +02:00
dependabot[bot]
584f052f39
build(deps): bump google.golang.org/api from 0.248.0 to 0.251.0
...
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.248.0 to 0.251.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases )
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md )
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.248.0...v0.251.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/api
dependency-version: 0.251.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-10-01 23:05:48 +02:00
dependabot[bot]
b76d71761e
build(deps): bump github.com/aws/aws-sdk-go-v2/service/cloudfront
...
Bumps [github.com/aws/aws-sdk-go-v2/service/cloudfront](https://github.com/aws/aws-sdk-go-v2 ) from 1.53.0 to 1.54.4.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases )
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json )
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/s3/v1.53.0...service/s3/v1.54.4 )
---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/service/cloudfront
dependency-version: 1.54.4
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-10-01 23:05:36 +02:00
Bjørn Erik Pedersen
c5dca3bdee
Add transform.HTMLToMarkdown
...
Fixes #13946
2025-10-01 19:17:26 +02:00
Bjørn Erik Pedersen
ec463c0977
Report OSC 9;4 progress when building
...
As supported by the Ghostty terminal and others.
2025-10-01 14:27:23 +02:00
dependabot[bot]
4d2743e4c8
build(deps): bump github.com/aws/aws-sdk-go-v2 from 1.38.1 to 1.39.2
...
Bumps [github.com/aws/aws-sdk-go-v2](https://github.com/aws/aws-sdk-go-v2 ) from 1.38.1 to 1.39.2.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases )
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json )
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/v1.38.1...v1.39.2 )
---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2
dependency-version: 1.39.2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-09-30 21:13:50 +02:00
dependabot[bot]
c20f70d9a3
build(deps): bump golang.org/x/tools from 0.36.0 to 0.37.0
...
Bumps [golang.org/x/tools](https://github.com/golang/tools ) from 0.36.0 to 0.37.0.
- [Release notes](https://github.com/golang/tools/releases )
- [Commits](https://github.com/golang/tools/compare/v0.36.0...v0.37.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/tools
dependency-version: 0.37.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-09-30 21:11:37 +02:00
dependabot[bot]
1b556216a8
build(deps): bump github.com/spf13/afero from 1.14.0 to 1.15.0
...
Bumps [github.com/spf13/afero](https://github.com/spf13/afero ) from 1.14.0 to 1.15.0.
- [Release notes](https://github.com/spf13/afero/releases )
- [Commits](https://github.com/spf13/afero/compare/v1.14.0...v1.15.0 )
---
updated-dependencies:
- dependency-name: github.com/spf13/afero
dependency-version: 1.15.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-09-30 21:11:14 +02:00
dependabot[bot]
106c8e6de6
build(deps): bump github.com/tdewolff/minify/v2 from 2.24.2 to 2.24.3
...
Bumps [github.com/tdewolff/minify/v2](https://github.com/tdewolff/minify ) from 2.24.2 to 2.24.3.
- [Release notes](https://github.com/tdewolff/minify/releases )
- [Commits](https://github.com/tdewolff/minify/compare/v2.24.2...v2.24.3 )
---
updated-dependencies:
- dependency-name: github.com/tdewolff/minify/v2
dependency-version: 2.24.3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-09-30 21:10:54 +02:00
Bjørn Erik Pedersen
03b33ecb5e
Fix file caching for 404 responses in resources.GetRemote
...
Fixes #14019
2025-09-30 20:43:05 +02:00
dependabot[bot]
9928122eb8
build(deps): bump github.com/evanw/esbuild from 0.25.9 to 0.25.10
...
Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild ) from 0.25.9 to 0.25.10.
- [Release notes](https://github.com/evanw/esbuild/releases )
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md )
- [Commits](https://github.com/evanw/esbuild/compare/v0.25.9...v0.25.10 )
---
updated-dependencies:
- dependency-name: github.com/evanw/esbuild
dependency-version: 0.25.10
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-09-30 17:43:39 +02:00
Dr. Tobias Quathamer
105d3bc32f
tpl: Workaround s390x precision of Atan and Tan
...
On s390x, math.Atan(1) and math.Tan(1) give values that slightly differ
from other architectures, causing TestTemplateFuncsExamples to fail.
The golang math package states in the overview:
"This package does not guarantee bit-identical results across architectures."
2025-09-29 17:09:29 +02:00
Bjørn Erik Pedersen
3e46ba5ce2
cache/httpcache: Add respectCacheControlNoStoreInResponse and respectCacheControlNoStoreInRequest options
...
This cache is used by `resources.GetRemote`.
Default values are:
* respectCacheControlNoStoreInResponse: false
* respectCacheControlNoStoreInRequest: true
This is a slightly breaking change, but the current behaviour is confusing, as:
* Many servers set the `no-store` header without much consideration, see https://developer.chrome.com/docs/web-platform/bfcache-ccns for more context
* We almost always want to cache the `resources.GetRemote` to disk.
Fixes #13990
2025-09-29 17:06:50 +02:00
Bjørn Erik Pedersen
4d1303512b
common/hreflect: Speed up IsTrutfulValue
...
By caching the calculation of whether a type implements `IsZero`:
```
IsTruthFulVAlue-10 467.95n ± ∞ ¹ 79.13n ± ∞ ¹ -83.09% (p=0.029 n=4)
```
2025-09-29 17:06:50 +02:00
dependabot[bot]
9943c1bef0
build(deps): bump golang.org/x/text from 0.28.0 to 0.29.0
...
Bumps [golang.org/x/text](https://github.com/golang/text ) from 0.28.0 to 0.29.0.
- [Release notes](https://github.com/golang/text/releases )
- [Commits](https://github.com/golang/text/compare/v0.28.0...v0.29.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/text
dependency-version: 0.29.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-09-29 15:09:06 +02:00
dependabot[bot]
766757310a
build(deps): bump github.com/olekukonko/tablewriter from 1.0.9 to 1.1.0
...
Bumps [github.com/olekukonko/tablewriter](https://github.com/olekukonko/tablewriter ) from 1.0.9 to 1.1.0.
- [Commits](https://github.com/olekukonko/tablewriter/compare/v1.0.9...v1.1.0 )
---
updated-dependencies:
- dependency-name: github.com/olekukonko/tablewriter
dependency-version: 1.1.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-09-29 15:08:34 +02:00
dependabot[bot]
d71c07cf3c
build(deps): bump github.com/spf13/cast from 1.9.2 to 1.10.0
...
Bumps [github.com/spf13/cast](https://github.com/spf13/cast ) from 1.9.2 to 1.10.0.
- [Release notes](https://github.com/spf13/cast/releases )
- [Commits](https://github.com/spf13/cast/compare/v1.9.2...v1.10.0 )
---
updated-dependencies:
- dependency-name: github.com/spf13/cast
dependency-version: 1.10.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-09-29 15:07:36 +02:00
Joe Mooring
b462980ac2
markup/goldmark: Enhance footnote extension with backlinkHTML option
...
This commit introduces a new option, backlinkHTML, to the Goldmark
footnote extension. This allows users to the set custom text for
footnote backlink anchors.
Closes #11434
2025-09-29 12:21:17 +02:00
Joe Mooring
47678d8cbd
markup/goldmark: Enhance footnote extension with auto-prefixing option
...
This commit introduces a new option, enableAutoIDPrefix, to the Goldmark
footnote extension. When enabled, it prepends a unique prefix to
footnote IDs, preventing clashes when multiple documents are rendered
together. This prefix is unique to each logical path, which means that
the prefix is not unique across content dimensions such as language.
This change also refactors the extension's configuration from a boolean
to a struct.
Closes #8045
2025-09-27 18:16:42 +02:00
hugoreleaser
18b9b6488b
releaser: Prepare repository for 0.151.0-DEV
...
[ci skip]
2025-09-25 10:45:05 +00:00
hugoreleaser
ce44a8e835
releaser: Bump versions for release of 0.150.1
...
[ci skip]
2025-09-25 10:26:04 +00:00
Joe Mooring
64f40731f1
hugolib: Change duplicate content path warning to an info log
...
Improves #13993
2025-09-20 20:13:08 +02:00
Joe Mooring
1140314be1
hugolib: Restore integration test
...
Closes #13991
2025-09-18 18:02:13 +02:00
Joe Mooring
404fd9e512
commands: Map --minify CLI flag to the correct configuration key
...
Closes #13988
2025-09-18 16:50:47 +02:00
Max Kapur
b1b0cdee3a
snap: Add desktop plug
2025-09-18 06:22:39 -07:00
Max Kapur
3eea082903
test(deps): Update setup-ruby action to v1.257.0
2025-09-17 09:30:21 -07:00
hugoreleaser
0f18cbe990
releaser: Prepare repository for 0.151.0-DEV
...
[ci skip]
2025-09-08 13:16:24 +00:00
hugoreleaser
3f5473b7d4
releaser: Bump versions for release of 0.150.0
...
[ci skip]
2025-09-08 13:01:12 +00:00
dependabot[bot]
d1f6a1dc59
build(deps): bump golang.org/x/mod from 0.27.0 to 0.28.0
...
Bumps [golang.org/x/mod](https://github.com/golang/mod ) from 0.27.0 to 0.28.0.
- [Commits](https://github.com/golang/mod/compare/v0.27.0...v0.28.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/mod
dependency-version: 0.28.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-09-08 11:23:39 +02:00
Bjørn Erik Pedersen
747cf4ad65
modules: Add support for direct version module imports in hugo.toml
...
Fixes #13964
2025-09-07 22:47:25 +02:00
Joe Mooring
d8774d7fc3
resources/page: Fix truncated summary logic
...
Fixes #13967
Fixes #13968
2025-09-07 11:07:41 +02:00
Joe Mooring
3b8947d821
config/security: Add PROGRAMDATA to the osenv allowlist
2025-09-06 18:11:38 +02:00
hugoreleaser
321a66ef19
releaser: Prepare repository for 0.150.0-DEV
...
[ci skip]
2025-09-04 14:18:57 +00:00
hugoreleaser
57a784e027
releaser: Bump versions for release of 0.149.1
...
[ci skip]
2025-09-04 14:04:46 +00:00
Lukáš Zapletal
25c0f2408a
Remove noindex meta tag from alias.html
...
Google does not behave as expected when an alias is used. It does not index the client-side alias page, but on top of that it also does not index the original page.
Google does not require noindex to be present and since alias pages do not have any content, it makes little sense to provide it. Therefore, this patch removes the line completely.
https://developers.google.com/search/docs/crawling-indexing/301-redirects
2025-09-04 15:58:23 +02:00
Bjørn Erik Pedersen
4f2d2b2cc4
Fix nilpointer on ToC heading
...
Fixes #11843
Co-authored-by: Joe Mooring <joe.mooring@veriphor.com >
2025-09-04 14:01:51 +02:00
Bjørn Erik Pedersen
b8eb45c9df
tpl/collections: Require collections.D args to be ints
...
Fixes #13952
Co-authored-by: Joe Mooring <joe.mooring@veriphor.com >
2025-09-04 14:01:51 +02:00
Bjørn Erik Pedersen
1d90afff1b
Upgrade to Go 1.25.1
...
Fixes #13960
2025-09-04 11:11:29 +02:00
PikachuTW
e751afa9bd
Fix config env handling for some slice options
...
Fixes #13950
2025-09-04 10:49:14 +02:00
Joe Mooring
a09b8a60eb
minifiers: Update deprecation handling
...
1. With minify.tdewolff.css and minify.tdewolff.svg, check
for "decimals" instead of "decimal"
2. Add deprecation messages for:
- minify.tdewolff.css.decimals
- minify.tdewolff.svg.decimals
- minify.tdewolff.html.keepconditionalcomments
- config root minify (bool)
- config root minifyoutput (bool)
3. Deprecate minify.tdewolff.css.keepcss2 in favor
of minify.tdewolff.css.version
4. Refactor minify configuration tests
Closes #11893
Closes #13947
Closes #13948
2025-09-03 10:56:32 +02:00
Bjørn Erik Pedersen
0071b47b8b
Update README.md
2025-09-01 17:11:08 +02:00
hugoreleaser
70d62993ee
releaser: Prepare repository for 0.150.0-DEV
...
[ci skip]
2025-08-27 15:51:44 +00:00
hugoreleaser
66240338f1
releaser: Bump versions for release of 0.149.0
...
[ci skip]
2025-08-27 15:37:16 +00:00
Bjørn Erik Pedersen
84b5123912
tpl/collections: Add an integration test for collections.D
...
Also
* improve the handling if invalid input
* add a sanity check for number of elements asked for in D (1000000).
2025-08-27 17:25:05 +02:00
Joe Mooring
2912415955
misc: Update Go version to 1.24.0 in README
...
Update Go version requirements for building Hugo.
2025-08-27 16:46:38 +02:00
Justus Perlwitz
bb4e66cd7c
create: Fix new content command with future dates
...
Fixes #12599
2025-08-27 09:33:17 +02:00
dependabot[bot]
45ec2f88bb
build(deps): bump github.com/getkin/kin-openapi from 0.132.0 to 0.133.0
...
Bumps [github.com/getkin/kin-openapi](https://github.com/getkin/kin-openapi ) from 0.132.0 to 0.133.0.
- [Release notes](https://github.com/getkin/kin-openapi/releases )
- [Commits](https://github.com/getkin/kin-openapi/compare/v0.132.0...v0.133.0 )
---
updated-dependencies:
- dependency-name: github.com/getkin/kin-openapi
dependency-version: 0.133.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-08-27 09:31:02 +02:00
Bjørn Erik Pedersen
1ba80874e4
tpl/collections: Add collections.D using Vitter's Method D for sequential random sampling
2025-08-26 20:37:08 +02:00
dependabot[bot]
84dd495f2b
build(deps): bump google.golang.org/api from 0.247.0 to 0.248.0
...
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.247.0 to 0.248.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases )
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md )
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.247.0...v0.248.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/api
dependency-version: 0.248.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-08-26 09:54:26 +02:00
dependabot[bot]
327bbc613f
build(deps): bump github.com/evanw/esbuild from 0.25.6 to 0.25.9
...
Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild ) from 0.25.6 to 0.25.9.
- [Release notes](https://github.com/evanw/esbuild/releases )
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md )
- [Commits](https://github.com/evanw/esbuild/compare/v0.25.6...v0.25.9 )
---
updated-dependencies:
- dependency-name: github.com/evanw/esbuild
dependency-version: 0.25.9
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-08-26 09:54:07 +02:00
dependabot[bot]
2447138f1d
build(deps): bump gocloud.dev from 0.40.0 to 0.43.0
...
Bumps [gocloud.dev](https://github.com/google/go-cloud ) from 0.40.0 to 0.43.0.
- [Release notes](https://github.com/google/go-cloud/releases )
- [Commits](https://github.com/google/go-cloud/compare/v0.40.0...v0.43.0 )
---
updated-dependencies:
- dependency-name: gocloud.dev
dependency-version: 0.43.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-08-25 20:47:05 +02:00
Bjørn Erik Pedersen
61ec7a20a5
commands: Deprecate --omitEmpty on chromastyles command
...
It's no longer needed -- empty classes are now always omitted.
See See https://github.com/alecthomas/chroma/commit/5b2a4c5a26c503c79bc86ba3c4ae5b330028bd3d
2025-08-25 18:24:07 +02:00
Bjørn Erik Pedersen
c289fcaaaa
commands: Add --omitClassComments to the chromastyles command
2025-08-25 18:24:07 +02:00
Bjørn Erik Pedersen
cfc38ecfed
deps: Upgrade github.com/alecthomas/chroma/v2 v2.19.0 => v2.20.0
...
CLoses #13917
2025-08-25 18:24:07 +02:00
dependabot[bot]
22e579e050
build(deps): bump github.com/aws/aws-sdk-go-v2/service/cloudfront
...
Bumps [github.com/aws/aws-sdk-go-v2/service/cloudfront](https://github.com/aws/aws-sdk-go-v2 ) from 1.44.10 to 1.53.0.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases )
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json )
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/macie2/v1.44.10...service/s3/v1.53.0 )
---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/service/cloudfront
dependency-version: 1.53.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-08-25 15:32:19 +02:00
dependabot[bot]
b886615d1b
build(deps): bump github.com/tdewolff/minify/v2 from 2.23.11 to 2.24.0
...
Bumps [github.com/tdewolff/minify/v2](https://github.com/tdewolff/minify ) from 2.23.11 to 2.24.0.
- [Release notes](https://github.com/tdewolff/minify/releases )
- [Commits](https://github.com/tdewolff/minify/compare/v2.23.11...v2.24.0 )
---
updated-dependencies:
- dependency-name: github.com/tdewolff/minify/v2
dependency-version: 2.24.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-08-25 15:29:50 +02:00
minxinyi
ecdef2be70
all: Use slices.Equal
2025-08-24 20:35:18 +02:00
Bjørn Erik Pedersen
ff3ae62933
Merge commit 'bfa74537929f409fca841540b971125b7678963a'
2025-08-23 12:39:28 +02:00
Bjørn Erik Pedersen
bfa7453792
Squashed 'docs/' changes from 60dd993a6..71f739460
...
71f739460 content: Reformat procedures to use description lists instead of H3 elements
420a78802 content: Remove 21YunBox hosting guide
abeea342f content: Add hosting guide for Vercel
3aaca6c0a content: Add hosting guide for Render
d77b06aa6 content: Fix formatting
82885415f content: Change build.sh file perms in Cloudflare hosting docs
0569c68ca content: Fix typo
8f14be5da content: Remove duplicate list items
e76f17815 misc: Fix typo in configuration for the Markdown linter
32e450b7c misc: Fix typo in configuration for the Markdown linter
81bd0056a mics: Update configuration for the Markdown linter
480ae9014 content: Improve file names in the PageInner description
b17999021 content: Adjust Markdown to pass linter tests
1d9d56897 misc: Implement Markdown linter
91fc34c58 content: Miscellaneous edits
b7c60ae0b content: Add admonition for outdated learning resources
51b6df588 misc: Activate stale action
84a897f5f misc: Implement stale action
167ea9713 content: Update GitHub Pages workflow example
3672d9116 misc: Use actions/checkout@v5 in workflows
2f2b4c968 misc: Update spellcheck configs
55a8ff7ae content: Fix typo
36e3d7b7b Adjust sponsors
51014e6b9 content: Fix link
37cfc093f content: Add Cloudflare Worker hosting instructions
09862ffad content: Update hosting considerations related to GitInfo
477f3e7c0 misc: Update cspell config
7a7bb4874 content: Miscellaneous edits
48486d5ac content: Remove Cloudflare Pages documentation
382f8052d content: Remove KeyCDN documentation
8ecbc985c content: Update hosting workflow files
57fd362bf content: Clarify applicability of the slug front matter field
0dcfff9c7 content: Update directory-structure.md
58e3609a0 content: Fix typo
22fb43695 content: Fix search/replace errors
fba8342a8 content: Fix missing link refs
97e035006 Update netlify.toml
6ab5ae6df content: Improve GitLab Pages compression performance
172bfbc4b content: Differentiate content view templates from other templates
978770fc8 content: Clarify handling of goldmark extensions conflict
cb74aa4c7 content: Improve Codeberg Pages hosting instructions
794477792 content: Add custom domain instructions to Codeberg Pages setup
235fac27d content: Improve description of code block render hook options map
35a507d31 content: Improve WP2Hugo description
8191f4dcf content: Improve WP2Hugo description
25cca30fd content: Fix type
e955652ae content: Improve base template description
922aa91bd content: Improve description of partial lookup logic
072536ef6 content: Update template type documentation
5bf153531 Update netlify.toml
cdd20a433 content: Indicate language sort order for relevant page methods
fc9a868c9 content: Add Sitepins to list of commercial CMS platforms
b6077449c content: Update version references
b71388cac content: Fix typo
c27dfdef3 content: Move link reference
d008ea6ac content: Fix typo
040f14a3c content: Fix typo
1ac119d26 content: Fix typo
a5a4fa907 content: More updates for v0.148.0
b7247a8ea content: Remove command chaining from GitHub Actions workflow
6ecb96bcd content: Updates for v0.148.0
aea9e4c29 netlify: Update Hugo version
4e71546d1 Add Ancestors (plural) method to GitInfo, rename Ancestor field to Parent
68620a6c2 source: Expose Ancestor in GitInfo
git-subtree-dir: docs
git-subtree-split: 71f739460f
2025-08-23 12:36:13 +02:00
Dustin Fischer
12ace3ad5c
resources/page: Add :sectionslug and :sectionslugs permalink tokens
...
Add slugified section permalink tokens with fallback behavior and slice syntax support.
Fixes #13788
2025-08-23 12:35:21 +02:00
Bjørn Erik Pedersen
c14fdddada
Upgrade to Go 1.25
...
Fixes #13924
Fixes #13931
2025-08-22 18:17:10 +02:00
Bjørn Erik Pedersen
186934feb4
common/hcontext: Replace with external package
2025-08-22 09:13:46 +02:00
Bjørn Erik Pedersen
13b43e6117
Fix server rebuild when adding a new leaf bundle with resources in one go
...
E.g. `cp -r`.
Note that this was not an issue if you first created the bundle, waited, and then created the resource(s).
Fixes #13925
2025-08-21 21:52:31 +02:00
cui
bff4dddb12
resources/page: Use reflect.TypeFor
2025-08-20 13:20:14 +02:00
dependabot[bot]
885cd299b7
build(deps): bump github.com/tdewolff/minify/v2 from 2.23.8 to 2.23.11
...
Bumps [github.com/tdewolff/minify/v2](https://github.com/tdewolff/minify ) from 2.23.8 to 2.23.11.
- [Release notes](https://github.com/tdewolff/minify/releases )
- [Commits](https://github.com/tdewolff/minify/compare/v2.23.8...v2.23.11 )
---
updated-dependencies:
- dependency-name: github.com/tdewolff/minify/v2
dependency-version: 2.23.11
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-08-20 11:42:54 +02:00
Bjørn Erik Pedersen
80e973ea5c
Remove test with deprecated path usage
...
This now creates a warning and flaky CI tests.
2025-08-20 11:36:10 +02:00
dependabot[bot]
debf3c559a
build(deps): bump github.com/olekukonko/tablewriter from 1.0.8 to 1.0.9
...
Bumps [github.com/olekukonko/tablewriter](https://github.com/olekukonko/tablewriter ) from 1.0.8 to 1.0.9.
- [Commits](https://github.com/olekukonko/tablewriter/compare/v1.0.8...v1.0.9 )
---
updated-dependencies:
- dependency-name: github.com/olekukonko/tablewriter
dependency-version: 1.0.9
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-08-20 11:29:31 +02:00
Bjørn Erik Pedersen
01b0eda96c
Update README.md
2025-08-16 10:51:26 +02:00
Bjørn Erik Pedersen
87e100e61f
Fix rebuild when deleting a content adapter file
2025-08-15 17:32:42 +02:00
dependabot[bot]
1649f3126f
build(deps): bump google.golang.org/api from 0.237.0 to 0.247.0
...
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.237.0 to 0.247.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases )
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md )
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.237.0...v0.247.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/api
dependency-version: 0.247.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-08-15 15:26:53 +02:00
dependabot[bot]
ccd6a4b71e
build(deps): bump github.com/aws/aws-sdk-go-v2 from 1.36.4 to 1.38.0
...
Bumps [github.com/aws/aws-sdk-go-v2](https://github.com/aws/aws-sdk-go-v2 ) from 1.36.4 to 1.38.0.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases )
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json )
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/v1.36.4...v1.38.0 )
---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2
dependency-version: 1.38.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-08-15 14:51:29 +02:00
dependabot[bot]
6dc1a1752b
build(deps): bump golang.org/x/tools from 0.35.0 to 0.36.0
...
Bumps [golang.org/x/tools](https://github.com/golang/tools ) from 0.35.0 to 0.36.0.
- [Release notes](https://github.com/golang/tools/releases )
- [Commits](https://github.com/golang/tools/compare/v0.35.0...v0.36.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/tools
dependency-version: 0.36.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-08-15 14:02:06 +02:00
dependabot[bot]
806d4848c3
build(deps): bump github.com/bep/simplecobra from 0.6.0 to 0.6.1
...
Bumps [github.com/bep/simplecobra](https://github.com/bep/simplecobra ) from 0.6.0 to 0.6.1.
- [Release notes](https://github.com/bep/simplecobra/releases )
- [Commits](https://github.com/bep/simplecobra/compare/v0.6.0...v0.6.1 )
---
updated-dependencies:
- dependency-name: github.com/bep/simplecobra
dependency-version: 0.6.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-08-15 14:01:33 +02:00
Nigel van Keulen
348aae91e8
tpl/strings: Remove unnecessary error check
2025-08-15 13:43:16 +02:00
Joe Mooring
61482cfab6
markup/goldmark: Apply Hugo Goldmark Extras when rendering TOC
...
Closes #12605
2025-08-14 22:39:14 +02:00
dependabot[bot]
04ee1b9784
build(deps): bump golang.org/x/mod from 0.25.0 to 0.27.0
...
Bumps [golang.org/x/mod](https://github.com/golang/mod ) from 0.25.0 to 0.27.0.
- [Commits](https://github.com/golang/mod/compare/v0.25.0...v0.27.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/mod
dependency-version: 0.27.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-08-13 11:29:34 +02:00
dependabot[bot]
7a86fe9905
build(deps): bump github.com/yuin/goldmark from 1.7.12 to 1.7.13
...
Bumps [github.com/yuin/goldmark](https://github.com/yuin/goldmark ) from 1.7.12 to 1.7.13.
- [Release notes](https://github.com/yuin/goldmark/releases )
- [Commits](https://github.com/yuin/goldmark/compare/v1.7.12...v1.7.13 )
---
updated-dependencies:
- dependency-name: github.com/yuin/goldmark
dependency-version: 1.7.13
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-08-13 11:28:53 +02:00
Joe Mooring
5fdcc09062
markup/goldmark: Sanitize TOC heading titles
...
Fixes #13401
2025-08-13 11:23:30 +02:00
dependabot[bot]
f5245a7d5f
build(deps): bump golang.org/x/image from 0.28.0 to 0.30.0
...
Bumps [golang.org/x/image](https://github.com/golang/image ) from 0.28.0 to 0.30.0.
- [Commits](https://github.com/golang/image/compare/v0.28.0...v0.30.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/image
dependency-version: 0.30.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-08-12 14:46:29 +02:00
Joe Mooring
5029676aca
deps: Upgrade github.com/niklasfasching/go-org v1.8.0 => v1.9.1
...
Fixes #13846
2025-08-11 10:54:00 +02:00
n1xx1
2216028620
Add a key to the partialCached deadlock prevention
...
Fixes #13889
2025-08-07 11:17:14 +02:00
n1xx1
ecc3dd1f53
transform: Add support for "format" option in transform.Unmarshal
...
Fixes #13887
2025-08-05 22:19:51 +02:00
Bjørn Erik Pedersen
de4a7f1e04
Skip flakey test on CI
2025-08-05 19:45:46 +02:00
hugoreleaser
3aa22b0942
releaser: Prepare repository for 0.149.0-DEV
...
[ci skip]
2025-07-27 12:59:26 +00:00
hugoreleaser
40c3d8233d
releaser: Bump versions for release of 0.148.2
...
[ci skip]
2025-07-27 12:43:24 +00:00
Bjørn Erik Pedersen
7ff5ec734c
tpl: Add test for recent template selection regression
...
Closes #13868
Co-authored-by: Joe Mooring <joe.mooring@veriphor.com >
2025-07-27 14:39:39 +02:00
Bjørn Erik Pedersen
3937ab24d0
Revert "hugolib: Honor implicit "page" type during template selection"
...
This reverts commit cfc8d315b4 .
See #13868
2025-07-27 14:39:39 +02:00
Bjørn Erik Pedersen
9c57af1351
Fix regression with hyphenated codeblock templates, e.g. render-codeblock-go-html-template.html
...
Fixes #13864
Co-authored-by: Joe Mooring <joe.mooring@veriphor.com >
2025-07-27 14:39:39 +02:00
Bjørn Erik Pedersen
d240a705d6
commands: Avoid full browser refresh on simple CSS changes
2025-07-27 14:39:26 +02:00
hugoreleaser
bbcc2a7973
releaser: Prepare repository for 0.149.0-DEV
...
[ci skip]
2025-07-11 13:13:44 +00:00
hugoreleaser
98ba786f2f
releaser: Bump versions for release of 0.148.1
...
[ci skip]
2025-07-11 12:56:21 +00:00
Bjørn Erik Pedersen
6f42cfbc9b
Fix assignment to entry in nil map
...
Fixes #13853
2025-07-11 14:21:53 +02:00
Bjørn Erik Pedersen
a84beee429
deps: Downgrade github.com/niklasfasching/go-org v1.9.0 => v1.8.0
...
See #13846
2025-07-11 11:10:48 +02:00
hugoreleaser
65893efd8d
releaser: Prepare repository for 0.149.0-DEV
...
[ci skip]
2025-07-08 13:51:56 +00:00
hugoreleaser
c0d9bebacc
releaser: Bump versions for release of 0.148.0
...
[ci skip]
2025-07-08 13:34:49 +00:00
Bjørn Erik Pedersen
3e2f1cdfdb
Add Ancestors (plural) method to GitInfo, rename Ancestor field to Parent
...
Fixes #13839
2025-07-08 15:08:09 +02:00
dependabot[bot]
0a5b870281
build(deps): bump github.com/evanw/esbuild from 0.25.5 to 0.25.6
...
Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild ) from 0.25.5 to 0.25.6.
- [Release notes](https://github.com/evanw/esbuild/releases )
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md )
- [Commits](https://github.com/evanw/esbuild/compare/v0.25.5...v0.25.6 )
---
updated-dependencies:
- dependency-name: github.com/evanw/esbuild
dependency-version: 0.25.6
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-07-08 12:01:51 +02:00
Bjørn Erik Pedersen
bba6996e15
Allow creating home pages from content adapters
...
* Allow "" (empty string) or "/" to represent the home page path.
* Be a little more lenient about path validation.
2025-07-07 18:41:45 +02:00
dependabot[bot]
94e2c276a8
build(deps): bump github.com/olekukonko/tablewriter from 1.0.7 to 1.0.8
...
Bumps [github.com/olekukonko/tablewriter](https://github.com/olekukonko/tablewriter ) from 1.0.7 to 1.0.8.
- [Commits](https://github.com/olekukonko/tablewriter/compare/v1.0.7...v1.0.8 )
---
updated-dependencies:
- dependency-name: github.com/olekukonko/tablewriter
dependency-version: 1.0.8
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-07-07 14:59:20 +02:00
Bjørn Erik Pedersen
90d397b142
Remove the internal GitInfo type and make Page.GitInf() return a pointer
...
See #5693
2025-07-07 14:49:27 +02:00
Jens Broekens
61e6c730dd
source: Expose Ancestor in GitInfo
...
Also updates docs and bumps bep/gitmap to v1.7.0
Closes #5693
Co-authored-by: bep <bjorn.erik.pedersen@gmail.com >
2025-07-07 14:49:27 +02:00
Bjørn Erik Pedersen
e4f6b9eef8
Merge commit 'bb147f91ee9078e6a55e8c32ab4b2e5dbc5cee45'
2025-07-07 13:17:48 +02:00
Bjørn Erik Pedersen
bb147f91ee
Squashed 'docs/' changes from b654fcba0..60dd993a6
...
60dd993a6 content: Update GitHub Pages workflow
6247e3590 content: Fix typo
a22255b0b content: Update version references
21afec198 content: Update version reference
6226532c8 content: Update version reference
80d26621a content: Update version reference
cda7135b5 content: Fix typo
70c509e8a content: Fix typo
136b20310 content: Change render hook example
038246c2f content: Fix accidental removal
441375fa4 netlify: Hugo 0.147.9
4a620931c content: Note that config/env/cascade.xxx is not supported
6d3a7587f config: Ignore front matter param override warnings
623b48624 content: Set searchable param to false for content/en/documentation.md
d1b2aad69 content: Fix Codeberg deployment article
5e3d849b8 search: Use front matter parameter to control search indexing
b4f90e39d content: Note that PATH segments must exclude project directory
a81406e26 content: Create aliases for deleted template pages
7c3adc9ad content: Change order of template types
e093eb036 content: Remove admonition from template types page
0015e7a9b content: Update to align with v0.146.0 template system (phase 1)
cf986240d content: Update templates.Defer note
ab51fdcc7 content: Use consistent templates.Defer examples
b4f8e492f content: Fix formatting
62aa94add content: Fix typo
83747f36b content: Update FAQs
fc644d894 Update netlify.toml
4151f3a5b content: Fix typo
9452bca92 content: Update description ToMath strict option
982b863c3 content: Add instructions about deploying to root of user's Codeberg Pages
fc7cd2878 theme: Generate QR code once per page
784891b87 content: Update links to the CommonMark specification
741113fb5 content: Fix incorrect link to Shortcodes tutorial
c4962f1ac content: Update transform.ToMath
ad7b87223 Update netlify.toml
2d64e57ae theme: Remove bullet from new-in badge
55a832f8e Update ToMath.md
e1e624f49 content: Document transform.ToMath strict mode
2df6218f8 netlify: Hugo 0.147.6
0259b88f1 Revert "theme: Display date on news items from content adapter"
43b35e56a theme: Adjust admonition dark mode colors
2f15e9c34 theme: Add link to Mastodon
d99e979d4 theme: Display date on news items from content adapter
6c93dac97 content: Clarify the AddResource content value
49006468e content: Describe Codeberg's Forgejo Actions
be80c3b82 content: Update css.TailwindCSS opts
b3ba4329c theme: Update css.TailwindCSS opts and remove tailwind.config.js
902e360b0 content: Update stylesheet link for katex.js
8b9e1ba3e content: Update stylesheet link for katex.js
7dae3b0e8 content: Update TailwindCSS instructions
cb093d210 Update netlify.toml
577d6fbb1 content: Remove GitCMS for now
8352af6cd Updates for v0.147.4
2240f07a5 content: Fix typo
677b3fed3 Correct openapi3.Unmarshal example
580477aa5 content: Fix typo
0dc43b481 content: Add GitCMS to commercial front ends list
ac4179f2b content: Fix relref shortcode examples
a699d267b Fix typos
7e28c4380 Make sponsor logo responsive
8e05f0425 Update MaxInt64.md
f715265d3 content: Document math.MaxInt64
0d57ff7d4 Update netlify.toml
d210e3476 theme: Adjust sponsor
e73444b43 content: Clarify page title values
fd4c292b8 content: Fix links to Pandoc
dd074dc67 content: Bump version in GitHub Pages example
fe5537bb2 content: Describe the pandoc format
10834529e theme: Remove duplicate meta element
838706d6e theme: More changes related to new template system
b0b6b1e69 Update new-templatesystem-overview.md
e719d2360 Update new-templatesystem-overview.md
ec2bbd395 Update new-templatesystem-overview.md
53319a681 Add a one pager about the new template system
e17416c05 Fix the spelling issue on the Host on Render description
e8e1c82aa content: Document range-over-int introduced in v0.123.0
bc478f98f content: Fix editing errors
606547b48 Update netlify.toml
e224f3f82 content: Fix formatting
24e4acc41 content: Fix typo
1e773f34b content: Fix typo
5ef94a725 content: Document alternative to shuffle for large collections
7fe42d76c content: Fix sample code formatting
5d601448f content: Update mathematical markup guidance
63b4fe2c0 content: Update version references
722da91f1 content: Fix GO_VERSION in Netlify hosting example
8cc589c3a theme: Add current Hugo version to the header
37aa24ac5 netlify: Hugo 0.147.1
a80b25e24 content: Remove dated new-in
89dcf0f92 content: Fix path formatting
1a5191d78 content: Update transformation examples
3327065ab Update Text.md
557c10dd2 content: Miscellaneous updates for v0.147.0
0dae1a185 netlify: Hugo 0.147.0
9b44821c3 Merge branch 'tempv0.147.0'
f1481e8c3 content: Update GitLab Pages workflow example
2e61a0360 content: Update content format descriptions
fb42d7c2a images: Add option for vertical alignment to images.Text
git-subtree-dir: docs
git-subtree-split: 60dd993a65
2025-07-07 13:16:31 +02:00
Ruslan Semagin
266d46dccc
config: Increase test coverage
2025-07-07 11:27:34 +02:00
dependabot[bot]
e77b2ad8fd
build(deps): bump github.com/niklasfasching/go-org from 1.8.0 to 1.9.0
...
Bumps [github.com/niklasfasching/go-org](https://github.com/niklasfasching/go-org ) from 1.8.0 to 1.9.0.
- [Commits](https://github.com/niklasfasching/go-org/compare/v1.8.0...v1.9.0 )
---
updated-dependencies:
- dependency-name: github.com/niklasfasching/go-org
dependency-version: 1.9.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-07-07 11:23:08 +02:00
dependabot[bot]
9487acf6ab
build(deps): bump github.com/alecthomas/chroma/v2 from 2.18.0 to 2.19.0
...
Bumps [github.com/alecthomas/chroma/v2](https://github.com/alecthomas/chroma ) from 2.18.0 to 2.19.0.
- [Release notes](https://github.com/alecthomas/chroma/releases )
- [Changelog](https://github.com/alecthomas/chroma/blob/master/.goreleaser.yml )
- [Commits](https://github.com/alecthomas/chroma/compare/v2.18.0...v2.19.0 )
---
updated-dependencies:
- dependency-name: github.com/alecthomas/chroma/v2
dependency-version: 2.19.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-07-07 11:22:29 +02:00
Joe Mooring
84b31721bf
markup/goldmark: Change link and image render hook enablement to enums
...
Closes #13535
2025-07-07 11:19:34 +02:00
Bjørn Erik Pedersen
b8ba33ca95
Fix some uglyURLs issues for home, section and taxonomy kind (note)
...
Fixes #4428
Fixes #7497
Co-authored-by: Joe Mooring <joe.mooring@veriphor.com >
2025-07-05 18:11:28 +02:00
Bjørn Erik Pedersen
f967212b72
Fix branch paths when OutputFormat.Path is configured (note)
...
Fixes #13829
Co-authored-by: Joe Mooring <joe.mooring@veriphor.com >
2025-07-05 18:11:28 +02:00
Joe Mooring
1b4c423667
resources/page: Allow full datetime prefix in filenames
...
Allow YYYY-MM-DD-HH-MM-SS prefix when extracting date from file names.
This is in addition to the YYYY-MM-DD prefix that is already supported.
Closes #13830
2025-07-05 11:26:35 +02:00
dependabot[bot]
1e9a0b93e3
build(deps): bump golang.org/x/tools from 0.32.0 to 0.34.0
...
Bumps [golang.org/x/tools](https://github.com/golang/tools ) from 0.32.0 to 0.34.0.
- [Release notes](https://github.com/golang/tools/releases )
- [Commits](https://github.com/golang/tools/compare/v0.32.0...v0.34.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/tools
dependency-version: 0.34.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-07-03 10:46:37 +02:00
Joe Mooring
cfc8d315b4
hugolib: Honor implicit "page" type during template selection
...
Closes #13826
2025-07-02 13:43:40 +02:00
David Jones
dd6e2c8724
deploy: walkLocal worker pool for performance
2025-06-29 16:41:56 +02:00
hugoreleaser
762417617c
releaser: Prepare repository for 0.148.0-DEV
...
[ci skip]
2025-06-23 08:38:21 +00:00
hugoreleaser
29bdbde19c
releaser: Bump versions for release of 0.147.9
...
[ci skip]
2025-06-23 08:22:20 +00:00
Bjørn Erik Pedersen
6a4a3ab8f8
Remove WARN with false negatives
...
Fixes #13806
2025-06-22 16:55:43 +02:00
Bjørn Erik Pedersen
36f6f987a9
resources/page: Make sure a map is always initialized
...
Fixes #13810
2025-06-21 14:38:06 +02:00
Joe Mooring
18a9ca7d7a
tpl/tplimpl: Copy embedded HTML table render hook to each output format
...
Closes #13351
2025-06-21 14:37:47 +02:00
Joe Mooring
b6c8dfa9dc
tpl/tplimpl: Change resources.GetRemote errors to suppressible warnings
...
Closes #13803
2025-06-17 07:35:14 -07:00
dependabot[bot]
621ea42f3c
build(deps): bump google.golang.org/api from 0.221.0 to 0.237.0
...
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.221.0 to 0.237.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases )
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md )
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.221.0...v0.237.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/api
dependency-version: 0.237.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-06-13 13:53:25 +02:00
Bjørn Erik Pedersen
4ef5720141
hugolib: Remove test for deprecated future
2025-06-13 12:17:06 +02:00
dependabot[bot]
34e83789f7
build(deps): bump github.com/aws/aws-sdk-go-v2 from 1.36.1 to 1.36.4
...
Bumps [github.com/aws/aws-sdk-go-v2](https://github.com/aws/aws-sdk-go-v2 ) from 1.36.1 to 1.36.4.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases )
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json )
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/v1.36.1...v1.36.4 )
---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2
dependency-version: 1.36.4
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-06-13 11:25:11 +02:00
dependabot[bot]
4d3ebe4d21
build(deps): bump golang.org/x/image from 0.27.0 to 0.28.0
...
Bumps [golang.org/x/image](https://github.com/golang/image ) from 0.27.0 to 0.28.0.
- [Commits](https://github.com/golang/image/compare/v0.27.0...v0.28.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/image
dependency-version: 0.28.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-06-12 14:17:16 +02:00
Joe Mooring
b5c0383bda
deps: Upgrade github.com/spf13/cast v1.8.0 => v1.9.2
2025-06-12 10:07:09 +02:00
Joe Mooring
4217fee4b0
common/terminal: Enable color output on windows
...
Closes #8209
2025-06-09 11:44:13 +02:00
hugoreleaser
fad57964aa
releaser: Prepare repository for 0.148.0-DEV
...
[ci skip]
2025-06-07 13:13:56 +00:00
hugoreleaser
10da2bd765
releaser: Bump versions for release of 0.147.8
...
[ci skip]
2025-06-07 12:59:52 +00:00
Joe Mooring
01241d5dc9
hugolib: Emit ignorable warning when home page is a leaf bundle
...
Closes #13538
2025-06-07 13:02:28 +02:00
Bjørn Erik Pedersen
8e61f1fe12
dockerfile: Update Alpine
...
Closes #13783
2025-06-06 08:16:30 +02:00
Bjørn Erik Pedersen
f37412a575
dockerfile: Update Go version
...
FIxes #13780
2025-06-04 16:52:17 +02:00
dependabot[bot]
21a4a9acd7
build(deps): bump github.com/evanw/esbuild from 0.25.3 to 0.25.5
...
Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild ) from 0.25.3 to 0.25.5.
- [Release notes](https://github.com/evanw/esbuild/releases )
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md )
- [Commits](https://github.com/evanw/esbuild/compare/v0.25.3...v0.25.5 )
---
updated-dependencies:
- dependency-name: github.com/evanw/esbuild
dependency-version: 0.25.5
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-06-03 11:27:57 +02:00
dependabot[bot]
7a4a4790e5
build(deps): bump github.com/niklasfasching/go-org from 1.7.0 to 1.8.0
...
Bumps [github.com/niklasfasching/go-org](https://github.com/niklasfasching/go-org ) from 1.7.0 to 1.8.0.
- [Commits](https://github.com/niklasfasching/go-org/compare/v1.7.0...v1.8.0 )
---
updated-dependencies:
- dependency-name: github.com/niklasfasching/go-org
dependency-version: 1.8.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-06-03 11:26:51 +02:00
dependabot[bot]
54065b7ef8
build(deps): bump golang.org/x/net from 0.39.0 to 0.40.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.39.0 to 0.40.0.
- [Commits](https://github.com/golang/net/compare/v0.39.0...v0.40.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-version: 0.40.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-06-03 09:01:37 +02:00
dependabot[bot]
e333836f49
build(deps): bump github.com/yuin/goldmark from 1.7.11 to 1.7.12
...
Bumps [github.com/yuin/goldmark](https://github.com/yuin/goldmark ) from 1.7.11 to 1.7.12.
- [Release notes](https://github.com/yuin/goldmark/releases )
- [Commits](https://github.com/yuin/goldmark/compare/v1.7.11...v1.7.12 )
---
updated-dependencies:
- dependency-name: github.com/yuin/goldmark
dependency-version: 1.7.12
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-06-02 18:18:44 +02:00
dependabot[bot]
cc7bfeea32
build(deps): bump github.com/tdewolff/minify/v2 from 2.23.5 to 2.23.8
...
Bumps [github.com/tdewolff/minify/v2](https://github.com/tdewolff/minify ) from 2.23.5 to 2.23.8.
- [Release notes](https://github.com/tdewolff/minify/releases )
- [Commits](https://github.com/tdewolff/minify/compare/v2.23.5...v2.23.8 )
---
updated-dependencies:
- dependency-name: github.com/tdewolff/minify/v2
dependency-version: 2.23.8
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-06-02 18:18:24 +02:00
Bjørn Erik Pedersen
32eb1a8ad4
all: Replace _build with build in tests
...
_build is deprecated and now shows up as warning.
2025-06-02 16:35:37 +02:00
hugoreleaser
32af02cd3e
releaser: Prepare repository for 0.148.0-DEV
...
[ci skip]
2025-05-31 12:55:24 +00:00
hugoreleaser
189453612e
releaser: Bump versions for release of 0.147.7
...
[ci skip]
2025-05-31 12:41:12 +00:00
Bjørn Erik Pedersen
5273a884d4
Fix language handling in shortcode templates
...
Fixes #13767
2025-05-31 13:57:00 +02:00
Bjørn Erik Pedersen
6334948515
Handle KaTeX warnings ( #13760 )
...
Co-authored-by: Joe Mooring <joe.mooring@veriphor.com >
Fixes #13735
2025-05-30 20:57:54 +02:00
dependabot[bot]
75259636c8
build(deps): bump golang.org/x/image from 0.26.0 to 0.27.0
...
Bumps [golang.org/x/image](https://github.com/golang/image ) from 0.26.0 to 0.27.0.
- [Commits](https://github.com/golang/image/compare/v0.26.0...v0.27.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/image
dependency-version: 0.27.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-05-30 15:13:21 +02:00
dependabot[bot]
0df9f3510f
build(deps): bump golang.org/x/text from 0.24.0 to 0.25.0
...
Bumps [golang.org/x/text](https://github.com/golang/text ) from 0.24.0 to 0.25.0.
- [Release notes](https://github.com/golang/text/releases )
- [Commits](https://github.com/golang/text/compare/v0.24.0...v0.25.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/text
dependency-version: 0.25.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-05-30 12:50:09 +02:00
dependabot[bot]
302e6a726b
build(deps): bump github.com/spf13/cast from 1.7.1 to 1.8.0
...
Bumps [github.com/spf13/cast](https://github.com/spf13/cast ) from 1.7.1 to 1.8.0.
- [Release notes](https://github.com/spf13/cast/releases )
- [Commits](https://github.com/spf13/cast/compare/v1.7.1...v1.8.0 )
---
updated-dependencies:
- dependency-name: github.com/spf13/cast
dependency-version: 1.8.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-05-30 08:34:09 +02:00
dependabot[bot]
202fe0d45c
build(deps): bump github.com/alecthomas/chroma/v2 from 2.17.2 to 2.18.0
...
Bumps [github.com/alecthomas/chroma/v2](https://github.com/alecthomas/chroma ) from 2.17.2 to 2.18.0.
- [Release notes](https://github.com/alecthomas/chroma/releases )
- [Changelog](https://github.com/alecthomas/chroma/blob/master/.goreleaser.yml )
- [Commits](https://github.com/alecthomas/chroma/compare/v2.17.2...v2.18.0 )
---
updated-dependencies:
- dependency-name: github.com/alecthomas/chroma/v2
dependency-version: 2.18.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-05-29 22:12:58 +02:00
Joe Mooring
843ffeb48d
resources/page: Respect disablePathToLower for permalink tokens
...
Fixes #13755
2025-05-29 22:10:03 +02:00
Ruslan Semagin
bff5d19121
common/collections: Increase test coverage
2025-05-29 09:17:13 +02:00
Ruslan Semagin
da370d30de
parser/pageparser: Add coverage for all IsX methods of Item
...
Added tests for all boolean methods on Item, increasing overall code coverage.
2025-05-28 21:53:17 +02:00
Bjørn Erik Pedersen
6bd328c584
resources: Remove unused interface
2025-05-28 19:32:28 +02:00
Bjørn Erik Pedersen
766a2e7868
Make sure that unreferenced but changed bundle resources gets republished
...
Fixes #13748
2025-05-28 19:32:28 +02:00
Bjørn Erik Pedersen
13e1617557
deps: Upgrade github.com/olekukonko/tablewriter v0.0.5 => v1.0.7
2025-05-28 18:07:14 +02:00
hugoreleaser
463e440c7a
releaser: Prepare repository for 0.148.0-DEV
...
[ci skip]
2025-05-27 11:31:53 +00:00
hugoreleaser
0a5fd8ebb8
releaser: Bump versions for release of 0.147.6
...
[ci skip]
2025-05-27 11:17:16 +00:00
Andreas Deininger
e57dcd3795
Improve warning message on superfluous prefix when using function 'partials.Include'
2025-05-27 12:16:26 +02:00
Bjørn Erik Pedersen
eaf5ace30d
Fix recent regression with cascading of params to content adapters
...
Fixes #13743
2025-05-26 21:26:19 +02:00
Bjørn Erik Pedersen
9ad26b69ad
Fix it so e.g. de in layouts/_shortcodes/de.html is not interpreted as a language code
...
Fixes #13740
2025-05-26 20:26:56 +02:00
Bjørn Erik Pedersen
f47193669d
commands: Make sure the browser gets refreshed on changes when --disableFastRender is set
...
Fixes #13727
2025-05-23 19:46:16 +02:00
Joe Mooring
013c8cfb25
tpl/transform: Expose the KaTeX strict option
...
Closes #13729
2025-05-23 19:21:38 +02:00
hugoreleaser
e25db38467
releaser: Prepare repository for 0.148.0-DEV
...
[ci skip]
2025-05-22 11:51:47 +00:00
hugoreleaser
7766fc6241
releaser: Bump versions for release of 0.147.5
...
[ci skip]
2025-05-22 11:37:19 +00:00
Bjørn Erik Pedersen
4a48facef4
Merge branch 'release-0.147.4'
2025-05-22 13:19:34 +02:00
Bjørn Erik Pedersen
0c7b1a3f26
Fix live reload when editing inline partials
...
Fixes #13723
2025-05-22 13:15:41 +02:00
dependabot[bot]
970b887ba1
build(deps): bump github.com/tdewolff/minify/v2 from 2.20.37 to 2.23.5
...
Bumps [github.com/tdewolff/minify/v2](https://github.com/tdewolff/minify ) from 2.20.37 to 2.23.5.
- [Release notes](https://github.com/tdewolff/minify/releases )
- [Commits](https://github.com/tdewolff/minify/compare/v2.20.37...v2.23.5 )
---
updated-dependencies:
- dependency-name: github.com/tdewolff/minify/v2
dependency-version: 2.23.5
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-05-20 14:49:06 +02:00
hugoreleaser
b9b95e5aec
releaser: Prepare repository for 0.148.0-DEV
...
[ci skip]
2025-05-20 10:55:43 +00:00
hugoreleaser
84c8426f32
releaser: Bump versions for release of 0.147.4
...
[ci skip]
2025-05-20 10:41:19 +00:00
Bjørn Erik Pedersen
a03a245f0c
Fix it so css.TailwindCSS inlineImports options isn't always enabled
...
To avoid breaking existing setup and to make a better default option, the option is now `disableInlineImports` (default false).
Fixes #13719
2025-05-19 19:36:48 +02:00
Bjørn Erik Pedersen
5a81a3a4cf
tpl: Add a test case
...
I'm not able to reproduce this, but leaving it in.
Closes #13699
2025-05-18 12:48:24 +02:00
Bjørn Erik Pedersen
61317821e4
tpl: Narrow down the usage of plain text shortcodes when rendering HTML
...
After this commit, if you want to resolve `layouts/_shortcodes/myshortcode.txt` when rendering HTML content, you need to use the `{{%` shortcode delimiter:
```
{{% myshortcode %}}
```
This should be what people would do anyway, but we have also as part of this improved the error message to inform about what needs to be done.
Note that this is not relevant for partials.
Fixes #13698
2025-05-18 12:48:24 +02:00
Bjørn Erik Pedersen
6142bc701c
tpl: Fix theme overrides when theme has old layout setup (e.g. _default)
...
Fixes #13715
2025-05-18 12:48:24 +02:00
hugoreleaser
e6574cf7a7
releaser: Prepare repository for 0.148.0-DEV
...
[ci skip]
2025-05-12 12:40:04 +00:00
hugoreleaser
05417512bd
releaser: Bump versions for release of 0.147.3
...
[ci skip]
2025-05-12 12:25:03 +00:00
Joe Mooring
81426998b8
tpl/tplimpl: Change calls to simple versions of embedded shortcodes
...
Closes #13700
2025-05-12 14:19:11 +02:00
Bjørn Erik Pedersen
6def5a1ba9
Update README.md
2025-05-12 12:10:27 +02:00
Bjørn Erik Pedersen
bc98e7a80d
config: Fix env override of slices
...
Fixes #13707
2025-05-11 19:24:24 +02:00
Bjørn Erik Pedersen
c745a3e108
Fix/implement cascade for content adapters
...
Fixes #13692
2025-05-10 15:12:24 +02:00
Joe Mooring
9d1d8c8899
commands: Fix description of new theme commands
...
Fixes #13701
2025-05-09 20:03:21 +02:00
Joe Mooring
84d7a108e8
tpl/tplimpl: Fix vimeo shortcode test to accommodate API changes
...
Fixes #13687
2025-05-09 10:02:00 -07:00
Joe Mooring
325a0dba63
tpl/math: Add MaxInt64 function
...
Closes #13693
2025-05-07 19:40:29 +02:00
hugoreleaser
d70f828e2b
releaser: Prepare repository for 0.148.0-DEV
...
[ci skip]
2025-05-06 11:33:36 +00:00
hugoreleaser
c7feb15d10
releaser: Bump versions for release of 0.147.2
...
[ci skip]
2025-05-06 11:18:55 +00:00
Bjørn Erik Pedersen
363ab48a24
Fix handling of "outputs" from content adapter pages
...
Fixes #13689
2025-05-06 11:40:46 +02:00
Bjørn Erik Pedersen
80f0595311
tpl: Fix case issue in templates.Exists
...
Fixes #13684
2025-05-05 11:23:52 +02:00
Bjørn Erik Pedersen
b39b249623
config: Add some more merge tests
...
See #13681
2025-05-02 11:15:38 +02:00
hugoreleaser
d799c045fd
releaser: Prepare repository for 0.148.0-DEV
...
[ci skip]
2025-05-01 14:04:58 +00:00
hugoreleaser
95666fc5a4
releaser: Bump versions for release of 0.147.1
...
[ci skip]
2025-05-01 13:50:04 +00:00
dependabot[bot]
620fc87b56
build(deps): bump github.com/alecthomas/chroma/v2 from 2.17.0 to 2.17.2
...
Bumps [github.com/alecthomas/chroma/v2](https://github.com/alecthomas/chroma ) from 2.17.0 to 2.17.2.
- [Release notes](https://github.com/alecthomas/chroma/releases )
- [Changelog](https://github.com/alecthomas/chroma/blob/master/.goreleaser.yml )
- [Commits](https://github.com/alecthomas/chroma/compare/v2.17.0...v2.17.2 )
---
updated-dependencies:
- dependency-name: github.com/alecthomas/chroma/v2
dependency-version: 2.17.2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-05-01 15:44:26 +02:00
dependabot[bot]
8b2124e7c3
build(deps): bump github.com/getkin/kin-openapi from 0.131.0 to 0.132.0
...
Bumps [github.com/getkin/kin-openapi](https://github.com/getkin/kin-openapi ) from 0.131.0 to 0.132.0.
- [Release notes](https://github.com/getkin/kin-openapi/releases )
- [Commits](https://github.com/getkin/kin-openapi/compare/v0.131.0...v0.132.0 )
---
updated-dependencies:
- dependency-name: github.com/getkin/kin-openapi
dependency-version: 0.132.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-05-01 13:19:22 +02:00
Bjørn Erik Pedersen
5fec7829b1
tpl: Add some more test cases
...
See #13672
See #13668
2025-05-01 12:55:11 +02:00
dependabot[bot]
927d1ec6c1
build(deps): bump github.com/yuin/goldmark from 1.7.10 to 1.7.11
...
Bumps [github.com/yuin/goldmark](https://github.com/yuin/goldmark ) from 1.7.10 to 1.7.11.
- [Release notes](https://github.com/yuin/goldmark/releases )
- [Commits](https://github.com/yuin/goldmark/compare/v1.7.10...v1.7.11 )
---
updated-dependencies:
- dependency-name: github.com/yuin/goldmark
dependency-version: 1.7.11
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-04-30 22:09:10 +02:00
Bjørn Erik Pedersen
be93d5218b
tpl: Fix overlapping layout sections
...
Fixes #13672
2025-04-30 21:04:03 +02:00
Bjørn Erik Pedersen
a1cb15e1cf
Fix it so the owning taxonomy gets rerendered in server when new tags are added
...
Updates #13648
2025-04-28 21:42:16 +02:00
Joe Mooring
673a4d00eb
commands/server: Display correct multihost language in console
...
Fixes #12564
2025-04-28 20:00:15 +02:00
Joe Mooring
31db7edf6d
hugolib: Use new build key in content placeholder
...
Fixes #13655
2025-04-27 13:18:43 +02:00
hugoreleaser
5857b60cbc
releaser: Prepare repository for 0.148.0-DEV
...
[ci skip]
2025-04-25 15:41:01 +00:00
hugoreleaser
7d0039b86d
releaser: Bump versions for release of 0.147.0
...
[ci skip]
2025-04-25 15:26:28 +00:00
Bjørn Erik Pedersen
07983e04e2
tpl: Fix it so we always prefer internal codeblock rendering over render-codeblock-foo.html and similar
...
Fixes #13651
2025-04-25 10:51:33 +02:00
Joe Mooring
5c491409d3
tpl/tplimpl: Fix allowFullScreen option in Vimeo and YouTube shortcodes
...
Closes #13650
2025-04-24 14:14:46 -07:00
Joe Mooring
75b219db89
create/skeletons: Adjust template names in theme skeleton
2025-04-24 19:02:11 +02:00
Bjørn Erik Pedersen
ad4f63c92f
tpl: Remove some unreached code branches
2025-04-24 14:27:59 +02:00
Bjørn Erik Pedersen
53202314ab
images: Add some test cases for aligny on images.Text
...
See #13414
2025-04-24 14:09:13 +02:00
Pranshu Gaba
2fce0bac03
images: Add option for vertical alignment to images.Text
...
Add option ``aligny`` to specify the vertical alignment of the text
with respect to the ``y`` offset from the top of the image. Possible
values of ``aligny`` are ``top`` (default), ``center``, and ``bottom``.
The height of the block of text is measured from the top of the first
line to the baseline of the last line.
- ``top``: (Current behaviour) The top of the first line of the block of
text is at an offset of ``y`` from the top of the image.
- ``center``: The vertical center of the block of text is at an offset of
``y`` from the top of the image.
- ``bottom``: The baseline of the last line of the text is at an offset
of ``y`` from the top of the image.
Resolves #13414
2025-04-24 14:09:13 +02:00
Bjørn Erik Pedersen
179aea11ac
config: Fix _merge issue when key doesn't exist on the left side
...
Fixes #13643
Fixes #13646
2025-04-24 13:56:27 +02:00
Bjørn Erik Pedersen
b3d87dd0fd
Squashed 'docs/' changes from dc7a9ae12..b654fcba0
...
b654fcba0 content: Fix links
d44357418 content: Update GitLab Pages workflow example
33968c7e2 content: Update Netlify configuration file
a6d0c8c50 content: Update GitHub Pages workflow example
d1aabfa36 content: Fix broken link
7b50139a6 content: Miscellaneous edits
a30e2c189 Menus: add forgotten link target
5c2aa88b4 content: Updates for v0.146.7
114413c18 netlify: Hugo 0.146.7
67e9261b1 netlify: Hugo 0.146.6
efa040229 content: Update templates/embedded.md
b8f888c76 theme: Rename internal templates from partials/ to _partials/
727178cbb content: Fix broken anchor links
0f12708f1 Fix typo
380b1c163 Update Current.md
8b500f3e5 netlify: Hugo 0.146.5
e3d6b6fad netlify: Hugo 0.146.4
ac1b92713 content: Fix text formatting in templates/partial.md
719329530 content: Clarify usage of template function
a95eca524 theme: Misc adjustments for the themes site
8e6c26067 Add package.hugo.json
9691007fb netlify: Hugo 0.146.3
ec08acc59 netlify: Hugo 0.146.2
8f320a0b6 netlify: Hugo 0.146.1
d5e6cb618 content: Remove expired new-in badges
b5779d7fc content: Update templates.Current function
5df1229d5 theme: Move templates to new structure
a7a6a614d theme: Remove accidentally added template
195b368e8 content: Miscellaneous updates related to v0.146.0
0a906ad49 netlify: Hugo 0.146.0
git-subtree-dir: docs
git-subtree-split: b654fcba0d
2025-04-24 10:23:16 +02:00
Bjørn Erik Pedersen
61a286595e
Merge commit 'b3d87dd0fd746f07f9afa6e6a2969aea41da6a38'
2025-04-24 10:23:16 +02:00
Christian Oliff
6a0e04241a
all: Fix typos
2025-04-24 10:19:17 +02:00
dependabot[bot]
1bd7ac7ed9
build(deps): bump github.com/evanw/esbuild from 0.25.2 to 0.25.3
...
Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild ) from 0.25.2 to 0.25.3.
- [Release notes](https://github.com/evanw/esbuild/releases )
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md )
- [Commits](https://github.com/evanw/esbuild/compare/v0.25.2...v0.25.3 )
---
updated-dependencies:
- dependency-name: github.com/evanw/esbuild
dependency-version: 0.25.3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-04-24 10:15:48 +02:00
dependabot[bot]
41cb880f9a
build(deps): bump github.com/alecthomas/chroma/v2 from 2.16.0 to 2.17.0
...
Bumps [github.com/alecthomas/chroma/v2](https://github.com/alecthomas/chroma ) from 2.16.0 to 2.17.0.
- [Release notes](https://github.com/alecthomas/chroma/releases )
- [Changelog](https://github.com/alecthomas/chroma/blob/master/.goreleaser.yml )
- [Commits](https://github.com/alecthomas/chroma/compare/v2.16.0...v2.17.0 )
---
updated-dependencies:
- dependency-name: github.com/alecthomas/chroma/v2
dependency-version: 2.17.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-04-24 10:11:50 +02:00
hugoreleaser
df44ee1353
releaser: Prepare repository for 0.147.0-DEV
...
[ci skip]
2025-04-22 17:42:19 +00:00
hugoreleaser
1ad3d39dc4
releaser: Bump versions for release of 0.146.7
...
[ci skip]
2025-04-22 17:26:42 +00:00
Bjørn Erik Pedersen
496730840e
Revert the breaking change from 0.146.0 with dots in content filenames
...
Closes #13632
2025-04-22 19:23:19 +02:00
Bjørn Erik Pedersen
6d69dc88a4
tpl: Fix indeterminate template lookup with templates with and without lang
...
Close #13636
2025-04-22 17:29:39 +02:00
Joe Mooring
db72a1f075
parser/metadecoders: Add CSV targetType (map or slice) option to transform.Unmarshal
...
Closes #8859
2025-04-21 19:33:20 +02:00
dependabot[bot]
ad787614e8
build(deps): bump github.com/yuin/goldmark-emoji from 1.0.5 to 1.0.6
...
Bumps [github.com/yuin/goldmark-emoji](https://github.com/yuin/goldmark-emoji ) from 1.0.5 to 1.0.6.
- [Release notes](https://github.com/yuin/goldmark-emoji/releases )
- [Commits](https://github.com/yuin/goldmark-emoji/compare/v1.0.5...v1.0.6 )
---
updated-dependencies:
- dependency-name: github.com/yuin/goldmark-emoji
dependency-version: 1.0.6
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-04-21 15:18:02 +02:00
dependabot[bot]
9c65b9e88d
build(deps): bump github.com/bep/imagemeta from 0.11.0 to 0.12.0
...
Bumps [github.com/bep/imagemeta](https://github.com/bep/imagemeta ) from 0.11.0 to 0.12.0.
- [Release notes](https://github.com/bep/imagemeta/releases )
- [Commits](https://github.com/bep/imagemeta/compare/v0.11.0...v0.12.0 )
---
updated-dependencies:
- dependency-name: github.com/bep/imagemeta
dependency-version: 0.12.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-04-21 15:17:49 +02:00
Bjørn Erik Pedersen
4eb0e4286a
tpl/collections: Fix where ... not in with empty slice
...
Fixes #13621
2025-04-21 15:17:20 +02:00
Bjørn Erik Pedersen
5e62cc6fce
tpl: Fix layout fall back logic when layout is set in front matter but not found
...
Fixes #13630
2025-04-21 15:17:20 +02:00
Bjørn Erik Pedersen
1408c156d8
tpl: Detect and fail on infinite template recursion
...
Fixes #13627
2025-04-21 15:17:20 +02:00
dependabot[bot]
be3b147860
build(deps): bump github.com/yuin/goldmark from 1.7.9 to 1.7.10
...
Bumps [github.com/yuin/goldmark](https://github.com/yuin/goldmark ) from 1.7.9 to 1.7.10.
- [Release notes](https://github.com/yuin/goldmark/releases )
- [Commits](https://github.com/yuin/goldmark/compare/v1.7.9...v1.7.10 )
---
updated-dependencies:
- dependency-name: github.com/yuin/goldmark
dependency-version: 1.7.10
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-04-21 11:56:44 +02:00
hugoreleaser
99fff2997d
releaser: Prepare repository for 0.147.0-DEV
...
[ci skip]
2025-04-20 11:13:56 +00:00
hugoreleaser
1e0b058efe
releaser: Bump versions for release of 0.146.6
...
[ci skip]
2025-04-20 10:58:40 +00:00
Bjørn Erik Pedersen
088cd2f996
tpl: Fix when layout specified in front matter and no match is found
...
Fixes #13628
2025-04-20 12:55:18 +02:00
broughtupsy
a88b488181
Update watchtestscripts.sh
2025-04-16 08:28:19 +02:00
hugoreleaser
d5a8c330cb
releaser: Prepare repository for 0.147.0-DEV
...
[ci skip]
2025-04-15 18:09:42 +00:00
hugoreleaser
61328976e1
releaser: Bump versions for release of 0.146.5
...
[ci skip]
2025-04-15 17:54:38 +00:00
dependabot[bot]
64cf008880
build(deps): bump github.com/yuin/goldmark from 1.7.8 to 1.7.9
...
Bumps [github.com/yuin/goldmark](https://github.com/yuin/goldmark ) from 1.7.8 to 1.7.9.
- [Release notes](https://github.com/yuin/goldmark/releases )
- [Commits](https://github.com/yuin/goldmark/compare/v1.7.8...v1.7.9 )
---
updated-dependencies:
- dependency-name: github.com/yuin/goldmark
dependency-version: 1.7.9
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-04-15 14:33:56 +02:00
Bjørn Erik Pedersen
d61b9fc605
tpl: Fix language handling in partials
...
We now use the same code path for all templates re this.
Fixes #13612
2025-04-15 11:25:54 +02:00
hugoreleaser
01667275d4
releaser: Prepare repository for 0.147.0-DEV
...
[ci skip]
2025-04-14 13:25:05 +00:00
hugoreleaser
985af1c097
releaser: Bump versions for release of 0.146.4
...
[ci skip]
2025-04-14 13:10:30 +00:00
Bjørn Erik Pedersen
65c94c7b23
tpl: Fix issue with partials without suffix
...
Fixes #13601
2025-04-14 14:38:22 +02:00
Bjørn Erik Pedersen
e8e8ce10d2
tpl: Avoid panic on nonsensical return construct
...
Fixes #13600
2025-04-14 14:38:22 +02:00
Bjørn Erik Pedersen
cf9e6904cc
tpl: Fix the case for a shortcode in a nested folder only
...
Fixes #13605
2025-04-14 14:38:22 +02:00
Bjørn Erik Pedersen
8a2830f2dc
tpl: Add proper file context to template parse errors
...
Fixes #13604
2025-04-14 14:38:22 +02:00
Bjørn Erik Pedersen
1e0287f472
tpl: Make {{ template "partials/foo.html" . }} work in older setups
...
Fixes #13599
2025-04-14 14:38:22 +02:00
hugoreleaser
915ba3f7f0
releaser: Prepare repository for 0.147.0-DEV
...
[ci skip]
2025-04-12 17:36:11 +00:00
hugoreleaser
05ef8b713a
releaser: Bump versions for release of 0.146.3
...
[ci skip]
2025-04-12 17:21:50 +00:00
Bjørn Erik Pedersen
30b9c19c76
tpl: Make any layout set in front matter higher priority
...
Fixes #13541
2025-04-12 18:12:06 +02:00
Bjørn Erik Pedersen
c8710625b7
tpl: Fix it so embedded render-codeblock-goat is used even if custom render-codeblock exists
...
Fixes #13595
2025-04-12 13:03:45 +02:00
hugoreleaser
53221f88ca
releaser: Prepare repository for 0.147.0-DEV
...
[ci skip]
2025-04-11 17:39:58 +00:00
hugoreleaser
ff3ab192c2
releaser: Bump versions for release of 0.146.2
...
[ci skip]
2025-04-11 17:25:13 +00:00
Bjørn Erik Pedersen
d1c394442b
tpl: Fix codeblock hook resolve issue
...
Fixes #13593
2025-04-11 18:59:42 +02:00
Bjørn Erik Pedersen
1074e01152
tpl: Fix legacy section mappings
...
Fixes #13584
2025-04-11 18:23:51 +02:00
Bjørn Erik Pedersen
c19f1f2363
tpl: Resolve layouts/all.html for all html output formats
...
Fixes #13587
2025-04-11 18:23:51 +02:00
Bjørn Erik Pedersen
9221cbca49
tpl: Fix some baseof lookup issues
...
We were mistakingly using the templates (e.g. list.html) descriptor to resolve the base template and not the page,
which worked fine in most cases, but not all.
Fixes #13583
2025-04-11 18:23:51 +02:00
hugoreleaser
e3e3f9ae17
releaser: Prepare repository for 0.147.0-DEV
...
[ci skip]
2025-04-10 16:59:48 +00:00
hugoreleaser
acc4fe24be
releaser: Bump versions for release of 0.146.1
...
[ci skip]
2025-04-10 16:44:46 +00:00
Bjørn Erik Pedersen
3b9f2a7ded
tpl: Skip dot and temp files inside /layouts
...
Fixes #13579
2025-04-10 18:41:01 +02:00
hugoreleaser
648204b3f1
releaser: Prepare repository for 0.147.0-DEV
...
[ci skip]
2025-04-10 15:13:26 +00:00
hugoreleaser
5d1b9d3985
releaser: Bump versions for release of 0.146.0
...
[ci skip]
2025-04-10 14:57:56 +00:00
Bjørn Erik Pedersen
383dd82f95
tpl: Warn and skip non-hook templates inside /layouts/_markup
...
Fixes #13577
2025-04-10 16:54:05 +02:00
Bjørn Erik Pedersen
653f1c1d46
Merge commit '5be51ac3db225d5df501ed1fa1499c41d97dbf65'
2025-04-10 13:04:51 +02:00
Bjørn Erik Pedersen
5be51ac3db
Squashed 'docs/' changes from d1a251933..dc7a9ae12
...
dc7a9ae12 content: Update JS options
07d3d8803 npm: Use tilde ranges for versions
e06362a13 Minor grammar fixes
c42db0838 content: Algolia DocSearch clarification
d67412b82 deps: Upgrade to TailwindCSS 4.1.0
da1fb12d3 theme: Update Lato font path for images.Text example
140fa3bb9 Update introduction.md
7b1fcca27 content: Fix links to embedded template source
908a55532 theme: Improve dark mode syntax highlighting background
d830e5962 Update XxHash.md
807be5dbf Update Defer.md
4b56693f6 content: Update GitHub Pages sample workflow
57b766fba Update TailwindCSS.md
64982ab6a Update TailwindCSS.md
1b6e879c6 Update TailwindCSS.md
e67cbcdd2 content: Add caching to the GitHub Pages workflow example
b7ca3b07c Update index.md
14e1a3977 Update XxHash.md
980f344ae Update XxHash.md
6b815f03e theme: Remove aria-label attribute from links
1c00bbc45 theme: Update npm dependencies
533149bf9 theme: Include section pages in related content
2b6bda6bd content: Fix typos
92ce95cbb content: Miscellaneous edits
f12936681 theme: Add a simple LRU cache for search
339ca3388 Fix the previous broken commit
8537e59e0 Make it into a non-link
e13f17d29 Add Algolia logo/link to the search listing dialog
d3e09e886 content: Fix typo
7217f64b6 content: Miscellaneous edits
51aa1ae73 content: Improve some examples
8ebaa53f9 theme: Adjust shortcodes
898870438 theme: Hide anchor until mouse-over
c933ea237 content: More front matter cleanup
f26ca047a content: Miscellaneous edits
e272b2039 theme: Fix inline partial refs
c540e6d29 content: Replace note shortcode calls with blockquote alerts
aef899bc5 theme: Add title and QR code when printing
bd46ef626 theme: Implement blockquote render hook
ddefbefaa content: Improve contributing page
f41d28ee1 content: Adjust usage of whitespace removal with action delimiters
03315336d theme: Use full title in related content sidebar
4f4076364 misc: Document the front matter fields used on this site
2f78d7632 misc: Fix gitignore file
7de6dbab3 content: Fix front matter for several function pages
5d3542ea6 config: Disable tags taxonomy
68bc28d67 content: Add linkTitle to shortcode pages
5f32c92ed theme: Restore deduplication logic for related items
a943a4bb8 theme: Implement related content tooling
fd628be6e content: Replace calls to the code shortcode with fenced code blocks
b23c9a583 content: Fix position of new-in badges
ec056f251 content: Fix typo
245351c84 theme: Adjust spacing in highlighting theme examples
2fcd21ee5 content: Remove "related" array from function and method pages
71d8426ee theme: Create code block render hook
4cdde6649 theme: Adjust number of news items to display
34ab45261 content: Miscellaneous edits
b6cae5cbc content: Consolidate configuration documentation
727ef6f66 theme: Fix overflow issue for wide tables
c4f759e01 Add es2024
93cce62c8 Update support list of more recent targets with js.Build / esbuild
974d0655f Update hosting-on-codeberg.md
b3f0ed9ce content: Add hosting instructions for Codeberg Pages
8217c0900 content: Correct the SourceHut repository URL
a8cf3d28f content: Add hosting instructions for SourceHut Pages
8c059cbe1 theme: Use content adapter for news section
03938c600 Remove some old new-in
5c50a75e8 content: Fix typo
5cf89f2f6 theme: Re-enable banner gtag outbound link tracking
3c555d5f8 One more copy button
94bce999a Add some copy buttons
9e1cc0c2b Update PortableText.md
dd26ac49f Document transform.PortableText
5f632ab32 netlify: Hugo 0.145.0
59e057bb4 Update index.md
d07e07d6c Remove some unused home page front matter
d482657b7 Add footnote about alias to the build front matter key
f0629b77c content: Fix typo
d91c4cccf theme: Fix news items URLs
ca931cd1f theme: Restore RSS feed for news section
e6b870bc9 theme: Adjust copy-to-clipboard button
071851431 Update netlify.toml
e68431034 theme: Format layouts
aa3cd839a theme: Format assets
22ad3eee3 theme: Add some more space on the right for copy buttons
f4a19083a netlify: Hugo 0.144.1
974cb8795 theme: Remove Internet Explorer configs (#2929 )
4a23a1f41 content: Fix typos
d49f15d03 theme: Get the scrollspy back working
720c7ff67 config: Evict getresource cache hourly
1f62ca97e theme: Hide the Turbo progress bar
f6449ace3 Move the dark class up to the html element
074cd1a07 content: Miscellaneous edits
e098a7716 content: Miscellaneous edits
8e1e104aa content: Updates for v0.144.0
18e1aa916 theme: Add anchor links via JS
ac3b5505c Close new-in
bfa4db6b8 netlify: Hugo 0.144.0
fd6e7feee Regen CLI docs
da9d1218a Regen docs helper
5de494ded Merge branch 'tempv0.144.0'
f683e6469 theme: Minor improvements to base template
ef8bf89d8 resources/page: Revise the new contentbasename permalinks tokens
901adb07b resources/page: Add :contentbasename and :contentbasenameorslug permalink tokens
0fca8ef25 all: Change shortcode usage and design to prevent invalid HTML
c41d76613 Update RegularPagesRecursive.md
e93574748 content: Correct return type for strings.Split
3d504abba Revert "content: Add ids to the Netlify steps"
c08c8e15e content: Add ids to the Netlify steps
5a3b470a2 theme: "move" the id from content to article
b878613aa theme: Add page kind as a CSS class to body
269657e8f content: Fix formatting error
664f6c92f config: Change image cache location
fa6b719b1 theme: Reduce ToC to level 2-4
bc16341ca theme: Render mathematical markup with transform.ToMath
14bf9dc70 theme: Add aria-label attribute to search fields
ed42af5b3 theme: Adjust search field and search activation
f042e4970 dev: Add prettier-plugin-void-html
f6ec83533 content: Fix inline shortcode example
0a74210e2 theme: Remove readfile shortcode
334ca06ac theme: Fix some dark mode accessibility as reported by Axe core
02626ff92 theme: aria-lbabel => aria-label
227b76ab7 Add Prettier and config
43ab22428 content: Bump minimum required Go version to 1.23.0
03e54683f modules: Add GOAUTH to module config
9f06a3b9c js/esbuild: Add drop option
ddcd99369 Merge commit 'a024bc7d76fcc5e49e8210f9b0896db9ef21861a'
733731253 helpers: Add Chroma styles to docs.yaml
git-subtree-dir: docs
git-subtree-split: dc7a9ae127
2025-04-10 13:02:49 +02:00
Bjørn Erik Pedersen
208a0de6c3
tpl: Add a partial lookup cache
...
````
│ stash.bench │ perf-v146.bench │
│ sec/op │ sec/op vs base │
LookupPartial-10 248.00n ± 0% 14.75n ± 2% -94.05% (p=0.002 n=6)
│ stash.bench │ perf-v146.bench │
│ B/op │ B/op vs base │
LookupPartial-10 48.00 ± 0% 0.00 ± 0% -100.00% (p=0.002 n=6)
│ stash.bench │ perf-v146.bench │
│ allocs/op │ allocs/op vs base │
LookupPartial-10 3.000 ± 0% 0.000 ± 0% -100.00% (p=0.002 n=6)
```
THe speedup above assumes reuse of the same partials over and over again, which I think is not uncommon.
This commits also adds some more lookup benchmarks. The current output of these on my MacBook looks decent:
```
BenchmarkLookupPagesLayout/Single_root-10 3031562 395.5 ns/op 0 B/op 0 allocs/op
BenchmarkLookupPagesLayout/Single_sub_folder-10 2515915 480.9 ns/op 0 B/op 0 allocs/op
BenchmarkLookupPartial-10 84808112 14.13 ns/op 0 B/op 0 allocs/op
BenchmarkLookupShortcode/toplevelpage-10 8111779 148.2 ns/op 0 B/op 0 allocs/op
BenchmarkLookupShortcode/nestedpage-10 8088183 148.6 ns/op 0 B/op 0 allocs/op
```
Note that in the above the partial lookups are cahced, the others not (they are harder to cache because of the page path).
Closes #13571
2025-04-10 11:07:19 +02:00
dependabot[bot]
18d2d2f985
build(deps): bump github.com/fsnotify/fsnotify from 1.8.0 to 1.9.0
...
Bumps [github.com/fsnotify/fsnotify](https://github.com/fsnotify/fsnotify ) from 1.8.0 to 1.9.0.
- [Release notes](https://github.com/fsnotify/fsnotify/releases )
- [Changelog](https://github.com/fsnotify/fsnotify/blob/main/CHANGELOG.md )
- [Commits](https://github.com/fsnotify/fsnotify/compare/v1.8.0...v1.9.0 )
---
updated-dependencies:
- dependency-name: github.com/fsnotify/fsnotify
dependency-version: 1.9.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-04-10 10:51:46 +02:00
dependabot[bot]
cd3e3499bd
build(deps): bump golang.org/x/tools from 0.31.0 to 0.32.0
...
Bumps [golang.org/x/tools](https://github.com/golang/tools ) from 0.31.0 to 0.32.0.
- [Release notes](https://github.com/golang/tools/releases )
- [Commits](https://github.com/golang/tools/compare/v0.31.0...v0.32.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/tools
dependency-version: 0.32.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-04-10 10:51:20 +02:00
dependabot[bot]
8cd799aac9
build(deps): bump github.com/evanw/esbuild from 0.25.1 to 0.25.2
...
Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild ) from 0.25.1 to 0.25.2.
- [Release notes](https://github.com/evanw/esbuild/releases )
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md )
- [Commits](https://github.com/evanw/esbuild/compare/v0.25.1...v0.25.2 )
---
updated-dependencies:
- dependency-name: github.com/evanw/esbuild
dependency-version: 0.25.2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-04-10 10:51:07 +02:00
Bjørn Erik Pedersen
d4c6dd16b1
tpl: Add templates.Current
...
This commit also
* Unexport all internal state in TemplateInfo.
* Make the dispatcher keys used for passing context.Context into uint8 from string to save memory allocations.
Co-authored-by: Joe Mooring <joe@mooring.com >
Updates #13571
2025-04-09 20:15:40 +02:00
dependabot[bot]
af0602c343
build(deps): bump golang.org/x/image from 0.25.0 to 0.26.0
...
Bumps [golang.org/x/image](https://github.com/golang/image ) from 0.25.0 to 0.26.0.
- [Commits](https://github.com/golang/image/compare/v0.25.0...v0.26.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/image
dependency-version: 0.26.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-04-09 13:07:03 +02:00
dependabot[bot]
650fe6cd01
build(deps): bump github.com/pelletier/go-toml/v2 from 2.2.3 to 2.2.4
...
Bumps [github.com/pelletier/go-toml/v2](https://github.com/pelletier/go-toml ) from 2.2.3 to 2.2.4.
- [Release notes](https://github.com/pelletier/go-toml/releases )
- [Changelog](https://github.com/pelletier/go-toml/blob/v2/.goreleaser.yaml )
- [Commits](https://github.com/pelletier/go-toml/compare/v2.2.3...v2.2.4 )
---
updated-dependencies:
- dependency-name: github.com/pelletier/go-toml/v2
dependency-version: 2.2.4
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-04-09 13:06:38 +02:00
dependabot[bot]
d63491beb2
build(deps): bump github.com/alecthomas/chroma/v2 from 2.15.0 to 2.16.0
...
Bumps [github.com/alecthomas/chroma/v2](https://github.com/alecthomas/chroma ) from 2.15.0 to 2.16.0.
- [Release notes](https://github.com/alecthomas/chroma/releases )
- [Changelog](https://github.com/alecthomas/chroma/blob/master/.goreleaser.yml )
- [Commits](https://github.com/alecthomas/chroma/compare/v2.15.0...v2.16.0 )
---
updated-dependencies:
- dependency-name: github.com/alecthomas/chroma/v2
dependency-version: 2.16.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-04-09 13:05:13 +02:00
Joe Mooring
24ac6a9de9
commands/new: Improve theme creation
...
- Update the skeleton structure to match the new template system.
- Add a --format flag to the `hugo new theme` command to control the
format of the site configuration and default archetype files.
- Remove theme.toml. This file's presence can be confusing for new
users, and the README in the themes repository already has an example.
- Remove the LICENSE and README files from the skeleton. These files
are not needed for a theme to work, and they can be added later by
the user if desired.
Closes #13489
Closes #13544
2025-04-08 16:35:46 +02:00
dependabot[bot]
e6e18e9122
build(deps): bump golang.org/x/net from 0.37.0 to 0.39.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.37.0 to 0.39.0.
- [Commits](https://github.com/golang/net/compare/v0.37.0...v0.39.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-version: 0.39.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-04-08 12:14:30 +02:00
dependabot[bot]
43af3bc07d
build(deps): bump github.com/bep/imagemeta from 0.10.0 to 0.11.0
...
Bumps [github.com/bep/imagemeta](https://github.com/bep/imagemeta ) from 0.10.0 to 0.11.0.
- [Release notes](https://github.com/bep/imagemeta/releases )
- [Commits](https://github.com/bep/imagemeta/compare/v0.10.0...v0.11.0 )
---
updated-dependencies:
- dependency-name: github.com/bep/imagemeta
dependency-version: 0.11.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-04-08 12:02:20 +02:00
Joe Mooring
10b55439a8
deps: Upgrade github.com/gohugoio/hugo-goldmark-extensions/passthrough v0.3.0 => v0.3.1
2025-04-07 21:33:06 +02:00
Joe Mooring
1e00842489
tpl/tplimpl: Update embedded pagination template
2025-04-07 21:29:53 +02:00
Bjørn Erik Pedersen
83cfdd78ca
Reimplement and simplify Hugo's template system
...
See #13541 for details.
Fixes #13545
Fixes #13515
Closes #7964
Closes #13365
Closes #12988
Closes #4891
2025-04-06 20:59:41 +02:00
Bjørn Erik Pedersen
812ea0b325
config: Use the non-global logger for deprecations when possible
...
To prevent warnings leaking into parallel tests.
2025-04-03 13:43:54 +02:00
Joe Mooring
07cbe5701e
tpl/time: Add time.In function
...
Closes #13548
2025-04-03 09:45:51 +02:00
Joe Mooring
c15ebce2fd
resources: Add option to silence dependency deprecation warnings
...
Closes #13530
2025-03-29 19:04:53 +01:00
Joe Mooring
6f14dbe24c
tpl/tplimpl: Fix full screen option in vimeo and youtube shortcodes
...
Closes #13531
Co-authored-by: Stefan Ritter <60473875+gideonstar-git@users.noreply.github.com >
2025-03-27 12:32:00 +01:00
Bjørn Erik Pedersen
8d2379bcb3
common/hreflect: Replace the map/RWMutex method cache with sync.Map
...
It's much faster when running in parallel:
```
GetMethodByName-10 125.1n ± 6% 181.7n ± 7% +45.30% (p=0.002 n=6)
GetMethodByNamePara-10 770.10n ± 1% 24.77n ± 9% -96.78% (p=0.002 n=6)
```
2025-03-26 14:24:51 +01:00
dependabot[bot]
26d986fc0d
build(deps): bump golang.org/x/tools from 0.30.0 to 0.31.0
...
Bumps [golang.org/x/tools](https://github.com/golang/tools ) from 0.30.0 to 0.31.0.
- [Release notes](https://github.com/golang/tools/releases )
- [Commits](https://github.com/golang/tools/compare/v0.30.0...v0.31.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/tools
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-03-25 12:02:15 +01:00
dependabot[bot]
ebc0693659
build(deps): bump github.com/getkin/kin-openapi from 0.129.0 to 0.131.0
...
Bumps [github.com/getkin/kin-openapi](https://github.com/getkin/kin-openapi ) from 0.129.0 to 0.131.0.
- [Release notes](https://github.com/getkin/kin-openapi/releases )
- [Commits](https://github.com/getkin/kin-openapi/compare/v0.129.0...v0.131.0 )
---
updated-dependencies:
- dependency-name: github.com/getkin/kin-openapi
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-03-25 12:02:03 +01:00
dependabot[bot]
7ca6bb06b6
build(deps): bump github.com/spf13/afero from 1.11.0 to 1.14.0
...
Bumps [github.com/spf13/afero](https://github.com/spf13/afero ) from 1.11.0 to 1.14.0.
- [Release notes](https://github.com/spf13/afero/releases )
- [Commits](https://github.com/spf13/afero/compare/v1.11.0...v1.14.0 )
---
updated-dependencies:
- dependency-name: github.com/spf13/afero
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-03-25 12:00:07 +01:00
dependabot[bot]
bddd2f9001
build(deps): bump github.com/bep/imagemeta from 0.9.0 to 0.10.0
...
Bumps [github.com/bep/imagemeta](https://github.com/bep/imagemeta ) from 0.9.0 to 0.10.0.
- [Release notes](https://github.com/bep/imagemeta/releases )
- [Commits](https://github.com/bep/imagemeta/compare/v0.9.0...v0.10.0 )
---
updated-dependencies:
- dependency-name: github.com/bep/imagemeta
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-03-24 10:45:08 +01:00
dependabot[bot]
1c691358f7
build(deps): bump github.com/golang-jwt/jwt/v5 from 5.2.1 to 5.2.2
...
Bumps [github.com/golang-jwt/jwt/v5](https://github.com/golang-jwt/jwt ) from 5.2.1 to 5.2.2.
- [Release notes](https://github.com/golang-jwt/jwt/releases )
- [Changelog](https://github.com/golang-jwt/jwt/blob/main/VERSION_HISTORY.md )
- [Commits](https://github.com/golang-jwt/jwt/compare/v5.2.1...v5.2.2 )
---
updated-dependencies:
- dependency-name: github.com/golang-jwt/jwt/v5
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-03-24 10:44:37 +01:00
dependabot[bot]
17db4edb02
build(deps): bump github.com/evanw/esbuild from 0.24.2 to 0.25.1
...
Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild ) from 0.24.2 to 0.25.1.
- [Release notes](https://github.com/evanw/esbuild/releases )
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG-2024.md )
- [Commits](https://github.com/evanw/esbuild/compare/v0.24.2...v0.25.1 )
---
updated-dependencies:
- dependency-name: github.com/evanw/esbuild
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-03-24 10:44:16 +01:00
dependabot[bot]
3968f9158e
build(deps): bump github.com/bep/godartsass/v2 from 2.4.0 to 2.4.1
...
Bumps [github.com/bep/godartsass/v2](https://github.com/bep/godartsass ) from 2.4.0 to 2.4.1.
- [Release notes](https://github.com/bep/godartsass/releases )
- [Commits](https://github.com/bep/godartsass/compare/v2.4.0...v2.4.1 )
---
updated-dependencies:
- dependency-name: github.com/bep/godartsass/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-03-24 10:43:58 +01:00
dependabot[bot]
e9bd2373a0
build(deps): bump golang.org/x/net from 0.35.0 to 0.37.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.35.0 to 0.37.0.
- [Commits](https://github.com/golang/net/compare/v0.35.0...v0.37.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-03-23 21:01:52 +01:00
Joe Mooring
a6bd67793b
common/hexec: Remove github.com/cli/safeexec
...
We began using the safeexec package in v0.79.1 to address
https://github.com/gohugoio/hugo/security/advisories/GHSA-8j34-9876-pvfq .
The vulnerability was addressed by the Go team in 1.19, so the safeexec
package is no longer needed.
Closes #13516
2025-03-23 13:55:42 +01:00
Ville Vesilehto
f34cdc382a
parser/metadecoder: Improve errors for non-map XML root values
...
Previously, the XML decoder would panic when encountering a root element with
a non-map value due to an unsafe type assertion.
The fix adds proper type checking before the map conversion and provides
clear error messages to help users identify and fix invalid XML structures.
Example error for invalid XML like:
<root>just text</root>
Will now return:
"XML root element 'root' must be a map/object, got string"
2025-03-22 18:48:23 +01:00
Bjørn Erik Pedersen
52561d561a
identity: Use clear to clear the finder seen map
...
Faster:
```
Finder/Find_one-10 172.8n ± 26% 129.3n ± 2% -25.18% (p=0.002 n=6)
Finder/Find_none-10 174.0n ± 1% 130.6n ± 0% -24.94% (p=0.002 n=6)
```
2025-03-15 19:05:45 +01:00
dependabot[bot]
f4f21f5ea3
build(deps): bump github.com/bep/godartsass/v2 from 2.3.2 to 2.4.0
...
Bumps [github.com/bep/godartsass/v2](https://github.com/bep/godartsass ) from 2.3.2 to 2.4.0.
- [Release notes](https://github.com/bep/godartsass/releases )
- [Commits](https://github.com/bep/godartsass/compare/v2.3.2...v2.4.0 )
---
updated-dependencies:
- dependency-name: github.com/bep/godartsass/v2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-03-15 18:37:33 +01:00
Joe Mooring
a98ec3bd01
commands/gen: Set url in command pages to /docs/reference/commands/
2025-03-14 21:11:46 +01:00
khayyam
d28c84a871
cache: Apply httpcache defaults for polling config
...
Previously, compiling the config with partial or missing poll configs
would introduce a panic. This ensures that the default poll configs
are applied in such scenarios to ensure config is valid.
Fixes #13471
2025-03-14 14:37:26 +01:00
dependabot[bot]
61c39ae63b
build(deps): bump golang.org/x/image from 0.24.0 to 0.25.0
...
Bumps [golang.org/x/image](https://github.com/golang/image ) from 0.24.0 to 0.25.0.
- [Commits](https://github.com/golang/image/compare/v0.24.0...v0.25.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/image
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-03-13 16:17:49 +01:00
Bjørn Erik Pedersen
2037137fbf
deps: Upgrade golang.org/x/mod v0.23.0 => v0.24.0
...
Closes #13484
2025-03-12 16:24:48 +01:00
dependabot[bot]
d78d4cf161
build(deps): bump github.com/bep/overlayfs from 0.9.2 to 0.10.0
...
Bumps [github.com/bep/overlayfs](https://github.com/bep/overlayfs ) from 0.9.2 to 0.10.0.
- [Release notes](https://github.com/bep/overlayfs/releases )
- [Commits](https://github.com/bep/overlayfs/compare/v0.9.2...v0.10.0 )
---
updated-dependencies:
- dependency-name: github.com/bep/overlayfs
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-03-11 21:03:49 +01:00
dependabot[bot]
f9aae1581b
build(deps): bump github.com/bep/lazycache from 0.7.0 to 0.8.0
...
Bumps [github.com/bep/lazycache](https://github.com/bep/lazycache ) from 0.7.0 to 0.8.0.
- [Release notes](https://github.com/bep/lazycache/releases )
- [Commits](https://github.com/bep/lazycache/compare/v0.7.0...v0.8.0 )
---
updated-dependencies:
- dependency-name: github.com/bep/lazycache
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-03-11 21:03:27 +01:00
Joe Mooring
b9add1c702
tpl/tplimpl: Add loading attribute to Vimeo shortcode
...
Closes #13445
2025-03-11 21:02:12 +01:00
dependabot[bot]
b0686712ba
build(deps): bump github.com/bep/imagemeta from 0.8.4 to 0.9.0
...
Bumps [github.com/bep/imagemeta](https://github.com/bep/imagemeta ) from 0.8.4 to 0.9.0.
- [Release notes](https://github.com/bep/imagemeta/releases )
- [Commits](https://github.com/bep/imagemeta/compare/v0.8.4...v0.9.0 )
---
updated-dependencies:
- dependency-name: github.com/bep/imagemeta
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-03-11 16:51:32 +01:00
dependabot[bot]
93d9c0533a
build(deps): bump github.com/bep/simplecobra from 0.5.0 to 0.6.0
...
Bumps [github.com/bep/simplecobra](https://github.com/bep/simplecobra ) from 0.5.0 to 0.6.0.
- [Release notes](https://github.com/bep/simplecobra/releases )
- [Commits](https://github.com/bep/simplecobra/compare/v0.5.0...v0.6.0 )
---
updated-dependencies:
- dependency-name: github.com/bep/simplecobra
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-03-11 16:51:19 +01:00
Joe Mooring
93df17661f
commands: Add --omitEmpty flag to gen chromastyles
...
Closes #13475
2025-03-11 16:50:59 +01:00
Will Faught
eebea9ec41
tpl: Add trailing newline to robots.txt template
2025-03-05 15:02:50 +01:00
Bjørn Erik Pedersen
3f2e1c08e3
commands: Skip flaky test on Windows
...
Closes #13465
2025-03-03 12:50:33 +01:00
Hannes Braun
3a11d22da3
resources/image: Mark loong64 as FMA-using architecture
2025-02-26 21:17:06 +01:00
hugoreleaser
cb4a097190
releaser: Prepare repository for 0.146.0-DEV
...
[ci skip]
2025-02-26 15:58:38 +00:00
hugoreleaser
666444f0a5
releaser: Bump versions for release of 0.145.0
...
[ci skip]
2025-02-26 15:41:25 +00:00
margau
e5eecbd9bc
github: Build docker image with both extended and withdeploy tags
2025-02-26 16:33:22 +01:00
coliff
4094a1e12c
all: Typo fixes
2025-02-26 15:10:28 +01:00
Bjørn Erik Pedersen
6927e6f048
deps: Upgrade github.com/rogpeppe/go-internal v1.13.1 => v1.14.1
...
Closes #13449
2025-02-26 14:43:03 +01:00
Bjørn Erik Pedersen
c498d0fe1e
Use the page path and not the backing filename as the last resort in the default sort
...
This should:
1. Fix some (rare) tiebreaker issues when sorting pages from multiple content adapters.
2. Improve the sorting for pages without a backing file.
2025-02-26 13:06:26 +01:00
Bjørn Erik Pedersen
521911a576
all: Run modernize -fix ./...
2025-02-26 11:44:25 +01:00
dependabot[bot]
b7ae24b9c2
build(deps): bump github.com/yuin/goldmark-emoji from 1.0.4 to 1.0.5
...
Bumps [github.com/yuin/goldmark-emoji](https://github.com/yuin/goldmark-emoji ) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/yuin/goldmark-emoji/releases )
- [Commits](https://github.com/yuin/goldmark-emoji/compare/v1.0.4...v1.0.5 )
---
updated-dependencies:
- dependency-name: github.com/yuin/goldmark-emoji
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-26 10:56:23 +01:00
Christian Oliff
2f4e666d7e
tpl: HTTPS the instagram Shortcode JS
...
This JavaScript will always load over HTTPS so it's best to specify that. Protocol-less loaded resources are an anti-pattern (REF: https://www.paulirish.com/2010/the-protocol-relative-url/ )
2025-02-26 09:27:31 +01:00
dependabot[bot]
1a4851f138
build(deps): bump github.com/google/go-cmp from 0.6.0 to 0.7.0
...
Bumps [github.com/google/go-cmp](https://github.com/google/go-cmp ) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/google/go-cmp/releases )
- [Commits](https://github.com/google/go-cmp/compare/v0.6.0...v0.7.0 )
---
updated-dependencies:
- dependency-name: github.com/google/go-cmp
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-25 19:41:18 +01:00
dependabot[bot]
d1f23309bf
build(deps): bump github.com/tetratelabs/wazero from 1.8.2 to 1.9.0
...
Bumps [github.com/tetratelabs/wazero](https://github.com/tetratelabs/wazero ) from 1.8.2 to 1.9.0.
- [Release notes](https://github.com/tetratelabs/wazero/releases )
- [Commits](https://github.com/tetratelabs/wazero/compare/v1.8.2...v1.9.0 )
---
updated-dependencies:
- dependency-name: github.com/tetratelabs/wazero
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-25 19:40:01 +01:00
Bjørn Erik Pedersen
04f21b4d80
Add transform.PortableText
...
Using this in a content adapter could look like this:
```handlebars
{{ $projectID := "<myproject>" }}
{{ $useCached := true }}
{{ $api := "api" }}
{{ if $useCached }}
{{/* See https://www.sanity.io/docs/api-cdn */}}
{{ $api = "apicdn" }}
{{ end }}
{{ $url := printf "https://%s.%s.sanity.io/v2021-06-07/data/query/production " $projectID $api }}
{{/* prettier-ignore-start */ -}}
{{ $q := `*[_type == 'post']{
title, publishedAt, summary, slug, body[]{
...,
_type == "image" => {
...,
asset->{
_id,
path,
url,
altText,
title,
description,
metadata {
dimensions {
aspectRatio,
width,
height
}
}
}
}
},
}`
}}
{{/* prettier-ignore-end */ -}}
{{ $body := dict "query" $q | jsonify }}
{{ $opts := dict "method" "post" "body" $body }}
{{ $t := debug.Timer "sanity.get" }}
{{ $r := resources.GetRemote $url $opts }}
{{ $t.Stop }}
{{ $m := $r | transform.Unmarshal }}
{{ $result := $m.result }}
{{ $t := debug.Timer "sanity.parse" }}
{{ range $result }}
{{ if not .slug }}
{{ continue }}
{{ end }}
{{ $markdown := transform.PortableText .body }}
{{ $t.Stop }}
{{ $content := dict
"mediaType" "text/markdown"
"value" $markdown
}}
{{ $params := dict
"portabletext" (.body | jsonify (dict "indent" " "))
}}
{{ $page := dict
"content" $content
"kind" "page"
"path" .slug.current
"title" .title
"date" (.publishedAt | time )
"summary" .summary
"params" $params
}}
{{ $.AddPage $page }}
{{ end }}
```
2025-02-25 19:35:47 +01:00
Martey Dodoo
ab9e545760
readme: Fix relative links in Editions section
...
Make relative gohugo.io links used in Editions section of README
absolute so that they resolve successfully.
2025-02-25 18:26:05 +01:00
Bjørn Erik Pedersen
381c0da85d
Fix some related content issues with content adapters
...
Fixes #13443
2025-02-25 14:14:56 +01:00
Bjørn Erik Pedersen
227e429267
Fix potential nilpointer in httpcache config
2025-02-24 18:42:50 +01:00
Joe Mooring
d0ce942190
hugolib: Deprecate _build front matter key in favor of build
...
We effectively aliased "_build" to "build" in v0.123.0, and
removed "_build" from the documentation at the same time.
2025-02-24 10:13:53 +01:00
Joe Mooring
4fd7f3233f
snap: Update Node.js to 22.x
2025-02-22 07:49:02 -08:00
Bjørn Erik Pedersen
c3d435acfa
Fix --printPathWarnings when site calls templates.Defer
...
This issue was introduced recently in eb7a5aabaa .
Fixes #13420
2025-02-19 12:59:40 +01:00
hugoreleaser
669216e204
releaser: Prepare repository for 0.145.0-DEV
...
[ci skip]
2025-02-18 12:29:51 +00:00
hugoreleaser
a79d63a446
releaser: Bump versions for release of 0.144.1
...
[ci skip]
2025-02-18 12:14:07 +00:00
Bjørn Erik Pedersen
494e88abf6
markup/goldmark: Fix panic on empty Markdown header
...
Fixes #13416
2025-02-18 11:12:39 +01:00
hugoreleaser
f1e799c2e1
releaser: Prepare repository for 0.145.0-DEV
...
[ci skip]
2025-02-17 16:36:56 +00:00
hugoreleaser
b289b17c43
releaser: Bump versions for release of 0.144.0
...
[ci skip]
2025-02-17 16:22:31 +00:00
Bjørn Erik Pedersen
85c1727748
markup/goldmark: Fix panic on stray attribute nodes
2025-02-17 17:19:53 +01:00
Bjørn Erik Pedersen
641403f7de
Fix Position for passthrough hooks
...
Fixes #13406
2025-02-17 12:23:49 +01:00
Bjørn Erik Pedersen
24cc25552f
Fix auto generated header ids so they don't contain e.g. hyperlink destinations (note)
...
This makes the header ids match the newly added dt ids.
Also make sure newlines are preserved in hooks' `.PlainText`.
Fixes #13405
Fixes #13410
2025-02-17 12:23:49 +01:00
dependabot[bot]
a2ca95629a
build(deps): bump github.com/spf13/cobra from 1.8.1 to 1.9.1
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.8.1 to 1.9.1.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Commits](https://github.com/spf13/cobra/compare/v1.8.1...v1.9.1 )
---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-17 12:08:14 +01:00
dependabot[bot]
367fe526e2
build(deps): bump github.com/sanity-io/litter from 1.5.7 to 1.5.8
...
Bumps [github.com/sanity-io/litter](https://github.com/sanity-io/litter ) from 1.5.7 to 1.5.8.
- [Changelog](https://github.com/sanity-io/litter/blob/main/CHANGELOG.md )
- [Commits](https://github.com/sanity-io/litter/compare/v1.5.7...v1.5.8 )
---
updated-dependencies:
- dependency-name: github.com/sanity-io/litter
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-17 12:06:55 +01:00
Joe Mooring
5de3913ed4
config/allconfig: Deprecate :filename and :slugorfilename tokens
2025-02-17 12:06:32 +01:00
Bjørn Erik Pedersen
7b7a0f3624
resources/page: Revise the new contentbasename permalinks tokens
...
* Make it work for all pages, including those created from content adapters and not backed by a file.
* Allow the `slug` to win, so the new tokens are:
`:contentbasename`:
1. ContentBaseName
`:slugorcontentbasename`:
1. Slug
2. ContentBaseName
Note that a page will always have a `ContentBaseName`, so no need to fall back to e.g. the title.
Closes #11722
2025-02-17 09:41:49 +01:00
Henrique Dias
cb7a4339b7
resources/page: Add :contentbasename and :contentbasenameorslug permalink tokens
...
See #11722
2025-02-17 09:41:49 +01:00
Bjørn Erik Pedersen
157d3703c3
Add autoID for definition terms
...
Fixes #13403
See #11566
Co-authored-by: Joe Mooring <joe@mooring.com >
2025-02-16 20:55:27 +01:00
dependabot[bot]
9c2f8ec61b
build(deps): bump github.com/sanity-io/litter from 1.5.5 to 1.5.7
...
Bumps [github.com/sanity-io/litter](https://github.com/sanity-io/litter ) from 1.5.5 to 1.5.7.
- [Changelog](https://github.com/sanity-io/litter/blob/main/CHANGELOG.md )
- [Commits](https://github.com/sanity-io/litter/compare/v1.5.5...v1.5.7 )
---
updated-dependencies:
- dependency-name: github.com/sanity-io/litter
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-14 14:25:11 +01:00
dependabot[bot]
bd77944ba2
build(deps): bump github.com/gohugoio/hugo-goldmark-extensions/extras
...
Bumps [github.com/gohugoio/hugo-goldmark-extensions/extras](https://github.com/gohugoio/hugo-goldmark-extensions ) from 0.2.0 to 0.3.0.
- [Release notes](https://github.com/gohugoio/hugo-goldmark-extensions/releases )
- [Commits](https://github.com/gohugoio/hugo-goldmark-extensions/compare/extras/v0.2.0...extras/v0.3.0 )
---
updated-dependencies:
- dependency-name: github.com/gohugoio/hugo-goldmark-extensions/extras
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-14 14:24:04 +01:00
Peter Weston
c1f4228d61
config: Fix server.redirects.fromRe being ignored unless server.redirects.from is also set
2025-02-14 10:21:19 +01:00
Joe Mooring
503dcf6252
internal/warpc: Enable KaTeX mhchem extension
2025-02-14 10:04:15 +01:00
Joe Mooring
5dd0ba00f7
Update README.md
...
- Include section about editions
- Bump minimum required Go version for building from source
- Include instructions for building the extended/deploy edition
- Update dependency list
2025-02-13 17:17:59 +01:00
dependabot[bot]
2e835d0841
build(deps): bump golang.org/x/tools from 0.29.0 to 0.30.0
...
Bumps [golang.org/x/tools](https://github.com/golang/tools ) from 0.29.0 to 0.30.0.
- [Release notes](https://github.com/golang/tools/releases )
- [Commits](https://github.com/golang/tools/compare/v0.29.0...v0.30.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/tools
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-13 15:01:51 +01:00
Bjørn Erik Pedersen
2c77719cd6
modules: Add GOAUTH to module config
...
Closes #13385
2025-02-13 15:01:28 +01:00
dependabot[bot]
d89b9d891c
build(deps): bump github.com/aws/aws-sdk-go-v2/service/cloudfront
...
Bumps [github.com/aws/aws-sdk-go-v2/service/cloudfront](https://github.com/aws/aws-sdk-go-v2 ) from 1.44.9 to 1.44.10.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases )
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json )
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/macie2/v1.44.9...service/s3control/v1.44.10 )
---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/service/cloudfront
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-13 13:48:54 +01:00
dependabot[bot]
8721a35202
build(deps): bump google.golang.org/api from 0.206.0 to 0.221.0
...
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.206.0 to 0.221.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases )
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md )
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.206.0...v0.221.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/api
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-13 13:47:55 +01:00
Bjørn Erik Pedersen
fd38aee694
Support menus as maps in content adapters
...
Fixes #13384
2025-02-13 13:29:24 +01:00
Bjørn Erik Pedersen
d25f7ec172
js/esbuild: Add drop option
...
Fixes #13362
2025-02-13 13:26:46 +01:00
Bjørn Erik Pedersen
a024bc7d76
Squashed 'docs/' changes from 73a01565c..d1a251933
...
d1a251933 theme: Optimize for printing
d906488d5 theme: Add border to highlighted code blocks within list items
9630c38cb theme: Display short command on commands list
7f81dd997 content: Regen commands markup
a84008e99 content: Cleanup primary list page
0874b03e9 content: Publish QR code examples to the images/qr directory
ef1ce3498 Restore static/img
489a68458 content: Restore KeyCDN screen captures
7d6e6184b theme: Move search button in navbar to the right on smaller screens
b03b96082 theme: Misc style adjustments
ecad97821 theme: Misc fixes
cf5e07b0f content: Restore example data and images
c7265041f content: Reformat css.TailwindCSS setup steps
3226e668f theme: Make the search button more compact on mobile
1f6614ee8 content: Update css.TailwindCSS example
49a2e7d71 theme: Improve search output
7e6b81ffa misc: Create issue template
826740223 theme: Misc search improvements
75f32b2f6 theme: Remove the search alert
fd3de4ac2 config: Enable link render hook warnings
769e387cd Adjust logic to mark current section for Algolia
ba73ce646 Adjust markup to make it easier to match in Algolia
5accec5f1 Misc adjustments
eb5842566 Some content adjustments
bdf97b7b4 Add new theme
b19d68ee5 Remove old theme
a04e96e55 Rewrite the css.TailwindCSS page
1c46f1864 Update deprecation notes
aedcb444c Fix typo
c3290b876 Changes related to release of v0.144.0
a0012fcce netlify: Hugo 0.143.1
9e4d73e87 Include sections in quick-reference page collection
4591058f5 Miscellaneous edits
612b8528f glossary: More edits
1f0c54e60 Fit typo
6f14084c1 Move glossary to quick reference section
2d94905be Improve branch bundle admonition
2ea56bef3 Fix typos found with codespell
71c5fe951 Close shortcode
e95d06592 Document the responseHeaders option for resources.GetRemote
da7c12aaa Deprecate gist shortcode
c2d3e2c25 netlify: Bump to 0.143.0
367d3a7ab Improve new-in shortcode
1a7413a16 Clean up shortcode documentation
d847892aa Improve glossary
6a7fd42ff Update pages describing Store methods and functions
fa7643d1b Revert "Improve link render hook performance"
fe4c86ec4 Reformat MathJax example
cea44922a Update MathJax example to use safe mode
0b6d0292c Update KaTeX example to use latest version
fd4508645 Improve link render hook performance
23aeb5bd0 Update purgecss example
f7ef83e56 Refer each Hugo Pipe page to the corresponding function
81b91ef4e Remove related pages from pages for deprecated functions and methods
53c7627d5 Remove body from deprecated functions and methods
d9cf034c8 Consolidate css.ToCSS information
b7ed108f9 Improve js.Build example and presentation of options
86a4a5088 Improve babel example and description of options
d1874c5f5 Consistently use "edition" when referring to standard, extended, etc.
92f03a350 Revise description of privacy settings
152a92d80 Update Last.md
82a2365bd Add print-only QR code example
d22cadc25 Update mathematics.md
b8160af03 Delete page self-reference in page/type.md
ce24fe4e0 Update param.md
51cb92180 Improve description of output format template selection
78bcf358e Update Tailwind CSS npm package version to 4.0
2ca9da4af Include winget command to uninstall
git-subtree-dir: docs
git-subtree-split: d1a2519330
2025-02-13 10:40:34 +01:00
Bjørn Erik Pedersen
304a7e5e74
Merge commit 'a024bc7d76fcc5e49e8210f9b0896db9ef21861a'
2025-02-13 10:40:34 +01:00
dependabot[bot]
c054e18827
build(deps): bump github.com/bep/imagemeta from 0.8.3 to 0.8.4
...
Bumps [github.com/bep/imagemeta](https://github.com/bep/imagemeta ) from 0.8.3 to 0.8.4.
- [Release notes](https://github.com/bep/imagemeta/releases )
- [Commits](https://github.com/bep/imagemeta/compare/v0.8.3...v0.8.4 )
---
updated-dependencies:
- dependency-name: github.com/bep/imagemeta
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-13 09:02:59 +01:00
Joe Mooring
34dcac53bf
config: Remove unused code
2025-02-13 08:40:49 +01:00
Joe Mooring
ee438606dd
commands: Use punctuation consistently in short description
2025-02-13 08:40:26 +01:00
Bjørn Erik Pedersen
fd8b0fbf8a
Upgrade to Go 1.24
...
Fixes #13381
2025-02-12 22:01:25 +01:00
Bjørn Erik Pedersen
9b5f786df8
Deprecate kind, lang, and path from front matter
...
These were added to the page meta object when we implemented "pages from data", but were not meant to be used in front matter.
That is not supported, so we might as well add validation.
Fixes #12484
2025-02-10 21:22:43 +01:00
Bjørn Erik Pedersen
e6feb9e0be
commands: Move the CHMOD event filter up
...
To prevent ghost rebuilds (from VSCode and possibly others).
Fixes #13373
2025-02-10 17:02:06 +01:00
dependabot[bot]
5e4ffa0e89
build(deps): bump golang.org/x/image from 0.22.0 to 0.24.0
...
Bumps [golang.org/x/image](https://github.com/golang/image ) from 0.22.0 to 0.24.0.
- [Commits](https://github.com/golang/image/compare/v0.22.0...v0.24.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/image
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-10 12:46:06 +01:00
dependabot[bot]
0cdcc2b584
build(deps): bump golang.org/x/mod from 0.22.0 to 0.23.0
...
Bumps [golang.org/x/mod](https://github.com/golang/mod ) from 0.22.0 to 0.23.0.
- [Commits](https://github.com/golang/mod/compare/v0.22.0...v0.23.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/mod
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-10 11:43:49 +01:00
dependabot[bot]
a591c4406a
build(deps): bump github.com/gohugoio/hashstructure from 0.3.0 to 0.5.0
...
Bumps [github.com/gohugoio/hashstructure](https://github.com/gohugoio/hashstructure ) from 0.3.0 to 0.5.0.
- [Release notes](https://github.com/gohugoio/hashstructure/releases )
- [Commits](https://github.com/gohugoio/hashstructure/compare/v0.3.0...v0.5.0 )
---
updated-dependencies:
- dependency-name: github.com/gohugoio/hashstructure
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-10 11:43:11 +01:00
dependabot[bot]
2d86a0512c
build(deps): bump github.com/bep/simplecobra from 0.4.0 to 0.5.0
...
Bumps [github.com/bep/simplecobra](https://github.com/bep/simplecobra ) from 0.4.0 to 0.5.0.
- [Release notes](https://github.com/bep/simplecobra/releases )
- [Commits](https://github.com/bep/simplecobra/compare/v0.4.0...v0.5.0 )
---
updated-dependencies:
- dependency-name: github.com/bep/simplecobra
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-09 23:31:45 +01:00
Dominik Süß
f02da7fbce
parser: Handle org-mode filetags as slice
...
This adds support for filetags by slicing them according to [the org mode tag
specification](https://orgmode.org/guide/Tags.html ).
Can be used to create taxonomies based on org-mode tags
2025-02-09 22:40:28 +01:00
dependabot[bot]
22ee0918f3
build(deps): bump github.com/aws/aws-sdk-go-v2/service/cloudfront
...
Bumps [github.com/aws/aws-sdk-go-v2/service/cloudfront](https://github.com/aws/aws-sdk-go-v2 ) from 1.41.0 to 1.44.9.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases )
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json )
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/s3/v1.41.0...service/macie2/v1.44.9 )
---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/service/cloudfront
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-08 15:46:45 +01:00
dependabot[bot]
b50ab04031
build(deps): bump github.com/aws/aws-sdk-go-v2 from 1.32.4 to 1.36.1
...
Bumps [github.com/aws/aws-sdk-go-v2](https://github.com/aws/aws-sdk-go-v2 ) from 1.32.4 to 1.36.1.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases )
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json )
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/v1.32.4...v1.36.1 )
---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-08 10:33:03 +01:00
dependabot[bot]
b772f0e3d2
build(deps): bump github.com/getkin/kin-openapi from 0.123.0 to 0.129.0
...
Bumps [github.com/getkin/kin-openapi](https://github.com/getkin/kin-openapi ) from 0.123.0 to 0.129.0.
- [Release notes](https://github.com/getkin/kin-openapi/releases )
- [Commits](https://github.com/getkin/kin-openapi/compare/v0.123.0...v0.129.0 )
---
updated-dependencies:
- dependency-name: github.com/getkin/kin-openapi
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-08 10:32:42 +01:00
dependabot[bot]
d58c0198d3
build(deps): bump github.com/spf13/pflag from 1.0.5 to 1.0.6
...
Bumps [github.com/spf13/pflag](https://github.com/spf13/pflag ) from 1.0.5 to 1.0.6.
- [Release notes](https://github.com/spf13/pflag/releases )
- [Commits](https://github.com/spf13/pflag/compare/v1.0.5...v1.0.6 )
---
updated-dependencies:
- dependency-name: github.com/spf13/pflag
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-08 10:31:42 +01:00
Bjørn Erik Pedersen
c2fb221209
Add ContentTypes to config
...
This is an empty struct for now, but we will most likely expand on that.
```
[contentTypes]
[contentTypes.'text/markdown']
```
The above means that only Markdown will be considered a content type. E.g. HTML will be treated as plain text.
Fixes #12274
2025-02-08 10:31:15 +01:00
Oleksandr Redko
4245a4514d
all: Remove deprecated build tags
2025-02-08 10:29:42 +01:00
Joe Mooring
f0c1852978
helpers: Add Chroma styles to docs.yaml
...
Closes #13360
2025-02-08 00:30:05 +01:00
Joe Mooring
a352e69b02
commands: Validate style argument passed to gen chromastyles
...
Closes #13357
2025-02-07 22:44:22 +01:00
Bjørn Erik Pedersen
1dd27be81a
Update CONTRIBUTING.md
2025-02-07 22:25:19 +01:00
Bjørn Erik Pedersen
eb7a5aabaa
Move "print unused templates" after renderDeferred
...
Fixes #13355
2025-02-07 18:04:12 +01:00
Bjørn Erik Pedersen
029d1e0ced
Add some more server options/improvements
...
New options:
* `FromHeaders`: Server header matching for redirects
* `FromRe`: Regexp with group support, i.e. it replaces $1, $2 in To with the group matches.
Note that if both `From` and `FromRe` is set, both must match.
Also
* Allow redirects to non HTML URLs as long as the Sec-Fetch-Mode is set to navigate on the request.
* Detect and stop redirect loops.
This was all done while testing out InertiaJS with Hugo. So, after this commit, this setup will support the main parts of the protocol that Inertia uses:
```toml
[server]
[[server.headers]]
for = '/**/inertia.json'
[server.headers.values]
Content-Type = 'text/html'
X-Inertia = 'true'
Vary = 'Accept'
[[server.redirects]]
force = true
from = '/**/'
fromRe = "^/(.*)/$"
fromHeaders = { "X-Inertia" = "true" }
status = 301
to = '/$1/inertia.json'
```
Unfortunately, a provider like Netlify does not support redirects matching by request headers. It should be possible with some edge function, but then again, I'm not sure that InertiaJS is a very good fit with the common Hugo use cases.
But this commit should be generally useful.
2025-02-05 18:14:15 +01:00
Bjørn Erik Pedersen
e865d59844
Fix shortcode name in error message on self-closing shortcodes with no .Inner
...
Fixes #13344
2025-02-05 16:35:02 +01:00
hugoreleaser
377287a614
releaser: Prepare repository for 0.144.0-DEV
...
[ci skip]
2025-02-04 09:14:03 +00:00
hugoreleaser
0270364a34
releaser: Bump versions for release of 0.143.1
...
[ci skip]
2025-02-04 08:57:38 +00:00
Bjørn Erik Pedersen
760c13a7ac
Fix RSS with baseURL with sub dir when render hooks is enabled
...
Fixes #13332
2025-02-03 19:00:12 +01:00
Oleksandr Redko
3bd73d262d
mage: Simplify magefile
2025-02-03 18:34:16 +01:00
Joe Mooring
7104de83ce
common/hugo: Adjust deprecation timing and message
...
Closes #13333
2025-02-03 18:32:30 +01:00
Bjørn Erik Pedersen
835579b338
Re-introduce the LRU-evicted identities in change set calculation
...
This is a follow up to db28695ff5 -- that commit dropped the cache items evicted in the LRU process. This was done as performance optimization for large Hugo sites.
That made much sense, but now there's a slight chance that we miss out on a change when rebuilding.
This commit fixes this by applying the same logic to the evicted items as if they were still in the cache. This should preserve the performance gains in db28695ff5 and close the hole for the possible false negatives.
2025-02-02 15:55:11 +01:00
hugoreleaser
05e067ced8
releaser: Prepare repository for 0.144.0-DEV
...
[ci skip]
2025-02-01 16:09:38 +00:00
hugoreleaser
ee48d9692a
releaser: Bump versions for release of 0.143.0
...
[ci skip]
2025-02-01 15:56:04 +00:00
Bjørn Erik Pedersen
db28695ff5
Fix some server/watch rebuild issues
...
Two issues:
1. Fixe potential edit-loop in server/watch mode (see below)
2. Drain the cache eviction stack before we start calculating the change set. This should allow more fine grained rebuilds for bigger sites and/or in low memory situations.
The fix in 6c68142cc1 wasn't really fixing the complete problem.
In Hugo we have some steps that takes more time than others, one example being CSS building with TailwindCSS.
The symptom here is that sometimes when you:
1. Edit content or templates that does not trigger a CSS rebuild => Snappy rebuild.
2. Edit stylesheet or add a CSS class to template that triggers a CSS rebuild => relatively slow rebuild (expected)
3. Then back to content editing or template edits that should not trigger a CSS rebuild => relatively slow rebuild (not expected)
This commit fixes this by pulling the dynacache GC step up and merge it with the cache buster step.
Fixes #13316
2025-02-01 16:29:14 +01:00
Bjørn Erik Pedersen
778f0d9002
Don't re-render aliases on server rebuilds
...
This can lead to stale aliases when rebuilding, but that's a trade-off we need to take for snappier rebuilds on bigger sites.
Note that it should be possible to detect alias changes, but I'm not sure it's worth it.
2025-02-01 15:23:36 +01:00
Alex Shpak
13b208e2f7
tpl/tplimpl: Remove leading whitespaces produced by Youtube shortcode
2025-01-31 09:29:10 +01:00
Bjørn Erik Pedersen
329b2342f0
Fix "concurrent map iteration and map write" in pages from data
...
Fixes #13254
2025-01-30 19:57:09 +01:00
Joe Mooring
33b46d8a41
resources: Remove debug statement
...
Closes #13320
2025-01-30 11:32:57 +01:00
Bjørn Erik Pedersen
6c68142cc1
Fix TailwindCSS related server rebuild issue
...
Fixes #13316
2025-01-29 18:46:12 +01:00
Joe Mooring
e08d9af21e
markup/goldmark: Trim space from blockquote render hook text
...
Closes #13302
2025-01-24 19:58:45 +01:00
Bjørn Erik Pedersen
cd7dc7a372
Fix some server rebuild issues for non-HTML custom output formats
...
The failing test case here is
* A custom search output format defined on the home page, marked as `noAlternative` and not `permalinkable`
* In fast render mode, when making a change to a data source for that search output format, the JSON file was not refreshed.
There are variants of the above, but the gist of it is:
* The change set was correctly determined, but since the search JSON file was not in the recently visited browser stack, we skipped rendering it.
Running with `hugo server --disableFastRender` would be a workaround for the above.
This commit fixes this by:
* Adding a check for the HTTP request header `Sec-Fetch-Mode = navigation` to the condition for if we should track server request as a user navigation (and not e.g. a HTTP request for a linked CSS stylesheet).
* Making sure that we compare against the real relative URL for non-permalinkable output formats.
Fixes #13014
2025-01-24 17:27:02 +01:00
Guilherme Soares
c939c33fd3
parser/pageparser: Don't allow parameters after closing tag in shortcodes
...
Problem:
Previously, the following self-closing shortcode syntax was incorrectly allowed:
{{% sc / param %}}
Solution:
Only allow parameters before the self-closing tag
2025-01-24 15:31:44 +01:00
Bjørn Erik Pedersen
bb7b3d3cdb
Fix cascade with overlapping sections
...
Fixes #12465
2025-01-24 15:25:54 +01:00
Joe Mooring
873a5cda1a
tpl/tplimpl: Improve shortcode test coverage
2025-01-24 09:10:45 +01:00
Joe Mooring
f42a4b6af5
tpl/tplimpl: Deprecate gist shortcode
...
Closes #13211
2025-01-23 20:12:36 +01:00
Bjørn Erik Pedersen
a5637831cd
resources: Remove conditional used for debugging
2025-01-23 17:53:38 +01:00
Bjørn Erik Pedersen
68586c891c
resources: Add responseHeaders option to resources.GetRemote
...
* These response headers will be included in `.Data.Headers` if found.
* The header name matching is case insensitive.
* `Data.Headers` is of type `map[string][]string`
* In most cases there will be only one value per header key, but e.g. `Set-Cookie` commonly has multiple values.
Fixes #12521
2025-01-23 15:20:03 +01:00
Bjørn Erik Pedersen
51bb2fedab
tpl/tplimpl: Skip TestTemplateFuncsExamples on s390x
...
Closes #13204
2025-01-23 10:18:43 +01:00
Bjørn Erik Pedersen
43307b07f8
Merge commit '346b60358dd8ec2ca228e6635bff9d7914b398b7'
2025-01-23 09:47:46 +01:00
Bjørn Erik Pedersen
346b60358d
Squashed 'docs/' changes from 4429eeeea..73a01565c
...
73a01565c Remove comment shortcode documentation
0ca7ccd30 Replace usage of comment shortcode with HTML comments
fe10d9899 Remove expired new-in labels
11e89dfcb [editorial] Link to proper render-hook page in relref.md
11a581c2f netlify: Hugo 0.142.0
1a4fcf7f7 Miscellaneous edits
2c7a3165f Markdown linting and cleanup
69d7a781b Replace links to glossary terms with custom render hook syntax
441752d2d Refactor glossary lookup portion of link render hook
80109a14f Fix glossary term linking for plural form
cd95f0f34 Update link render hook to support glossary links
53eadb430 Remove the glossary template
1d40a7f3b Improve transform.ToMath examples
586970df2 Misc edits
6a06a8de7 Add glossary link shortcode
4171c0eb7 Improve description of masking with non-transparent images
41c8feb64 Fix example of image.Mask filter
704a81656 Add alignx option to images.Text usage example
7c03eb0cc Clarify context in example of using the try statement
56d9c9b71 Refactor glossary of terms
042a6846b Add expiry dates to deprecated methods pages
365ab345f Remove services key from instagram shortcode page
b7fe31e07 Reorder options list for images.Text filter
8051ff818 Format directory names, file names, and file paths as code
d09a14623 Update version refs for Hugo and Dart Sass
3bb006974 Add NODE_VERSION to Netlify config examples
3a0f2531e Fix typo
7e3198eaf Fix typo
cf56452a3 Fix typo
a9f51d13e Fix typo
82bfdd8c3 Fix typo
a5c41a053 Fix typo
abcfed7a5 Fix typo
8c1debf3a Remove outdated new-in badges
809ddf9ef Update theme
63867d56f Use warnf instead of errorf in try-catch example
dee3e5f09 Update theme
9791f7057 Remove TODO from comment shortcode examples
a346ca1fd Elevate embedded shortcode documentation to its own section
8fa19b50f hugoreleaser.toml => hugoreleaser.yaml
575d60345 Update docs for v0.141.0
a0a442d62 netlify: Hugo 0.141.0
6667cbcd8 Merge commit '81a7b6390036138356773c87a886679c81c524e1'
f36fc013e docs: Regen CLI docs
365a47ded tpl/images: Change signature of images.QR to images.QR TEXT OPTIONS
ae8f8af0a images.Text: Add "alignx" option for horizontal alignment
8f45ccca6 docs: Regen CLI docs
f0e6304f4 Merge commit 'e9fbadacc3f09191e2e19f112a49777eeb8df06c'
cb9bec2b2 tpl/images: Add images.QR function
git-subtree-dir: docs
git-subtree-split: 73a01565c5
2025-01-23 09:46:02 +01:00
Bjørn Erik Pedersen
7f0f50b133
Make cascade front matter order deterministic
...
Fixes #12594
2025-01-23 09:45:47 +01:00
Joe Mooring
77a8e347bc
tpl/tplimpl: Deprecate comment shortcode
2025-01-22 19:38:02 +01:00
Patrice Chalin
f704d75699
markup/goldmark: Fix typo in func comment
2025-01-22 14:57:24 +01:00
hugoreleaser
9d765e1b99
releaser: Prepare repository for 0.143.0-DEV
...
[ci skip]
2025-01-22 12:35:08 +00:00
hugoreleaser
1f746a8724
releaser: Bump versions for release of 0.142.0
...
[ci skip]
2025-01-22 12:20:52 +00:00
Bjørn Erik Pedersen
6aa72acaf9
Fix render hook's PlainText with typographer extension enabled
...
Fixes #13286
Fixes #13292
2025-01-22 12:49:25 +01:00
Bjørn Erik Pedersen
9885e7020d
Improve assert
2025-01-22 09:44:26 +01:00
Bjørn Erik Pedersen
91101d24f2
Improve assertions
2025-01-22 09:44:26 +01:00
Bjørn Erik Pedersen
637995ba8f
Also handle inline HTML comments
2025-01-22 09:44:26 +01:00
Bjørn Erik Pedersen
f1de5d2a04
Do not warn on potentially unsafe HTML comments when unsafe=false
...
We will still not render these comments, so from a safety perspective this is the same, but HTML comments are very common also inside Markdown and too useful to throw away.
Updates #13278
2025-01-22 09:44:26 +01:00
W. Michael Petullo
4b0c194fb3
Fix build with Go 1.24
...
Go 1.24 provides stricter checking that forbids passing a variable as
a format string to Printf-family functions with no other arguments. Remove
instances of this. See also:
https://tip.golang.org/doc/go1.24#vet
Signed-off-by: W. Michael Petullo <mike@flyn.org >
2025-01-21 11:10:03 +01:00
Joe Mooring
8de4ffb294
tpl/tplimpl: Fix context in shortcode error messages
...
Fixes #13279
2025-01-20 16:17:55 +01:00
Bjørn Erik Pedersen
1f5a15aba0
resources: Fix 2 image file cache key issues
...
* Always include the content hash in the cache key for unprocessed images.
* Always include the image config hash in the cache key.
This is also a major cleanup/simplification of the implementation in this area.
Note that this, unfortunately, forces new hashes/filenames for generated images.
Fixes #13273
Fixes #13272
2025-01-18 12:23:18 +01:00
Nicolas Friedli
8897113666
tpl: Add loading attribute to qr shortcode
2025-01-17 19:06:54 +01:00
hugoreleaser
e91d3cff98
releaser: Prepare repository for 0.142.0-DEV
...
[ci skip]
2025-01-16 13:26:52 +00:00
hugoreleaser
e7bd51698e
releaser: Bump versions for release of 0.141.0
...
[ci skip]
2025-01-16 13:11:18 +00:00
Bjørn Erik Pedersen
1fad3832a9
tpl/tplimpl: Simplify some test assertions
2025-01-16 11:29:24 +01:00
Jack Baldry
8b52626915
common/paths: Fix docstring
2025-01-16 10:58:18 +01:00
Bjørn Erik Pedersen
81a7b63900
Squashed 'docs/' changes from f0f4bcb24..4429eeeea
...
4429eeeea Update image render hooks examples to conform with Commonmark
5391dddea Add class attribute to heading render hook examples
git-subtree-dir: docs
git-subtree-split: 4429eeeea8
2025-01-16 10:35:07 +01:00
Bjørn Erik Pedersen
5c5508817f
Merge commit '81a7b6390036138356773c87a886679c81c524e1'
2025-01-16 10:35:07 +01:00
Bjørn Erik Pedersen
88ecc3b753
docs: Regen CLI docs
2025-01-16 10:34:52 +01:00
Joe Mooring
1191467c05
tpl/tplimpl: Deprecate twitter shortcode in favor of x shortcode
...
Closes #13214
2025-01-16 10:33:34 +01:00
Bjørn Erik Pedersen
60c24fc5ee
commands: Fix spelling in comment
2025-01-15 22:31:52 +01:00
Bjørn Erik Pedersen
41137077bc
commands: Set up the glboal logger early
...
Fixes #13265
2025-01-15 22:31:08 +01:00
Bjørn Erik Pedersen
5bb1564575
commands: Add --printZero to the config command
...
Will include zero config values (e.g. "", 0, false) in the output and will be more verbose, but useful if you cant to discover all available config options.
2025-01-15 22:48:14 +02:00
Bjørn Erik Pedersen
76993369a0
For render hooks, only fallback to HTML (or the defaultOutputFormat) template
...
Closes #13242
2025-01-15 19:59:58 +02:00
Bjørn Erik Pedersen
de7137cc35
tpl/collections: Use MapRange/SetIterKey/SetIterValue for Where, Sort and Merge
...
Some relevant benchmarks:
Where with maps:
```
cpu: Apple M1 Pro
│ master.bench │ fix-mapkeys.bench │
│ sec/op │ sec/op vs base │
WhereMap-10 79.26µ ± 1% 26.58µ ± 1% -66.46% (p=0.002 n=6)
│ master.bench │ fix-mapkeys.bench │
│ B/op │ B/op vs base │
WhereMap-10 56685.0 ± 0% 111.0 ± 1% -99.80% (p=0.002 n=6)
│ master.bench │ fix-mapkeys.bench │
│ allocs/op │ allocs/op vs base │
WhereMap-10 2003.000 ± 0% 4.000 ± 0% -99.80% (p=0.002 n=6)
```
Merge:
```
│ master.bench │ fix-mapkeys.bench │
│ sec/op │ sec/op vs base │
Merge-10 3.285µ ± 0% 2.268µ ± 1% -30.96% (p=0.002 n=6)
│ master.bench │ fix-mapkeys.bench │
│ B/op │ B/op vs base │
Merge-10 3.079Ki ± 0% 1.891Ki ± 0% -38.58% (p=0.002 n=6)
│ master.bench │ fix-mapkeys.bench │
│ allocs/op │ allocs/op vs base │
Merge-10 64.00 ± 0% 26.00 ± 0% -59.38% (p=0.002 n=6)
```
Sort:
```
cpu: Apple M1 Pro
│ master.bench │ fix-mapkeys.bench │
│ sec/op │ sec/op vs base │
SortMap-10 1008.0n ± 1% 915.5n ± 0% -9.18% (p=0.002 n=6)
│ master.bench │ fix-mapkeys.bench │
│ B/op │ B/op vs base │
SortMap-10 640.0 ± 0% 512.0 ± 0% -20.00% (p=0.002 n=6)
│ master.bench │ fix-mapkeys.bench │
│ allocs/op │ allocs/op vs base │
SortMap-10 16.00 ± 0% 15.00 ± 0% -6.25% (p=0.002 n=6)
```
2025-01-13 16:24:48 +02:00
Bjørn Erik Pedersen
a2edf04c27
deps: Upgrade github.com/gohugoio/hashstructure from 0.1.0 to 0.3.0
...
Faster hashing of maps:
```
│ stash.bench │ deps-hashstructv030.bench │
│ sec/op │ sec/op vs base │
HashMap-10 198.9µ ± ∞ ¹ 142.6µ ± ∞ ¹ -28.31% (p=0.029 n=4)
¹ need >= 6 samples for confidence interval at level 0.95
│ stash.bench │ deps-hashstructv030.bench │
│ B/op │ B/op vs base │
HashMap-10 92.38Ki ± ∞ ¹ 37.14Ki ± ∞ ¹ -59.80% (p=0.029 n=4)
¹ need >= 6 samples for confidence interval at level 0.95
│ stash.bench │ deps-hashstructv030.bench │
│ allocs/op │ allocs/op vs base │
HashMap-10 6.747k ± ∞ ¹ 4.748k ± ∞ ¹ -29.63% (p=0.029 n=4)
```
2025-01-13 16:22:24 +02:00
Bjørn Erik Pedersen
956f915f77
tpl/collections: Add BenchmarkWhereMap
2025-01-13 12:57:48 +02:00
Bjørn Erik Pedersen
a2a4166f6d
tpl/collections: Add BenchmarkSortMap
2025-01-13 10:38:12 +02:00
Bjørn Erik Pedersen
39f582f9f4
tpl/collections: Add Merge benchmark
2025-01-13 10:32:41 +02:00
Bjørn Erik Pedersen
2501de7aab
resources/images: Refactor golden image tests to locate them closer to the implementation
2025-01-11 18:27:53 +02:00
Bjørn Erik Pedersen
06cc8673fa
resources/images: Add some mask tests
...
Closes #13244
2025-01-11 12:20:11 +02:00
Markus Kienast
71fae99189
resources/images: Add images.Mask
...
See #13244
2025-01-11 12:20:11 +02:00
Joe Mooring
8af04745fb
tpl/tplimpl: Use plain text for image render hook alt attribute
...
Co-authored-by: Heracles <email@heracl.es >
2025-01-10 19:44:39 +02:00
Bjørn Erik Pedersen
dde9d9d544
Adjust error handling in ToMath vs try (note)
...
Closes #13239
2025-01-09 11:47:19 +01:00
Bjørn Erik Pedersen
892b49110e
resources/images: Add some golden tests for images.QR
2025-01-09 08:02:43 +01:00
Bjørn Erik Pedersen
c5a63a3b4f
Fix branch resource overlapping bundle path
...
Fixes #13228
2025-01-09 08:00:30 +01:00
Bjørn Erik Pedersen
61d3d20129
templates: Fix handling of multiple defers in the same template
...
Fixes #13236
2025-01-09 07:59:25 +01:00
Joe Mooring
b13d0a68e6
tpl/images: Change signature of images.QR to images.QR TEXT OPTIONS
...
Closes #13230
2025-01-08 19:59:39 +01:00
Bjørn Erik Pedersen
d9594a96fc
resources/images: Add some golden tests for images.Text
2025-01-08 18:56:26 +01:00
Julius Künzel
4a5cc2dd26
images.Text: Add "alignx" option for horizontal alignment
...
Add an "alignx" option to the images.Text to control whether the value of the "x" option is the left border of the text (current behaviour), the center of each line or the right border.
Fixes #10849
2025-01-08 17:23:46 +01:00
Bjørn Erik Pedersen
9cad8d38ca
images: Rework the golden tests
2025-01-08 17:11:27 +01:00
Bjørn Erik Pedersen
cfa0801815
Fix NPX issue with TailwindCSS v4
...
This allows the `tailwindcss` CLI binary to live in the `PATH` for NPM-less projects.
Fixes #13221
2025-01-07 13:12:08 +01:00
dependabot[bot]
f024a5050e
build(deps): bump golang.org/x/tools from 0.28.0 to 0.29.0
...
Bumps [golang.org/x/tools](https://github.com/golang/tools ) from 0.28.0 to 0.29.0.
- [Release notes](https://github.com/golang/tools/releases )
- [Commits](https://github.com/golang/tools/compare/v0.28.0...v0.29.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/tools
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-01-07 10:46:27 +01:00
dependabot[bot]
80704bc9a1
build(deps): bump golang.org/x/net from 0.33.0 to 0.34.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.33.0 to 0.34.0.
- [Commits](https://github.com/golang/net/compare/v0.33.0...v0.34.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-01-07 10:46:04 +01:00
Joe Mooring
3682027a51
snap: Always package latest stable version of Go
2025-01-06 12:50:40 -08:00
Bjørn Erik Pedersen
44628616af
docs: Regen CLI docs
2025-01-06 18:12:20 +01:00
Bjørn Erik Pedersen
0fc86783ee
Merge commit 'e9fbadacc3f09191e2e19f112a49777eeb8df06c'
2025-01-06 18:11:07 +01:00
Bjørn Erik Pedersen
e9fbadacc3
Squashed 'docs/' changes from 8390a4a3a..f0f4bcb24
...
f0f4bcb24 Update Batch.md
15a8b1de6 Update Batch.md
eb841ce66 Update theme
751097f24 Use CI_PAGES_URL in GitLab Pages workflow
8584a0581 Fix typos
b030a7149 Update configuration.md
f7ec2ee9c Revert "Update shortcode.md"
f8188f1c8 Update shortcode.md
083fc39c6 Update shortcode.md
d4bdfb96b Update Filter.md
ef00649db Document wrapperClass highlighting option
e227dc422 Hugo 0.140.2
b95d28444 Fix description of the the hugo server command
41ca381b0 Fix documentation of Fragments
73a6cd966 Update theme
2573fd120 netlify: Hugo 0.140.1
90b19ec0d Merge branch 'tempv0.140.1'
ad2e9aeec Update gocloud and docs for S3-Compatible Endpoints
34b30bad2 Remove indentation from include shortcode examples
97b4ef544 Update related.md
7234e0189 Update related.md
32cc191f6 Clarify Name and Title menu entry methods
bce733c63 Update theme
2f1843d10 Use .Page.GetPage in examples of an include shortcode
9e1c85bbd Revert "Document PAGE.String"
bb30e7c08 Document PAGE.String
2d151d77f Fix link
fbe2d442f Miscellaneous updates for v0.140.0
4d3195223 Update JS docs vs Hugo v0.140
8c190aabc netlify: Hugo 0.140.0
826005ffe Merge branch 'tempv0.140.0'
107289a2c Update theme (again)
9884425f9 Update theme
ff0a358d3 Update Go tool version in hugo.work
c9b23cf6d tpl/tplimpl: Update details shortcode
f29f19aff tpl/tplimpl: Add details shortcode
git-subtree-dir: docs
git-subtree-split: f0f4bcb243
2025-01-06 18:09:20 +01:00
Bjørn Erik Pedersen
2a7bb1c7c9
create: Respect --noBuildLock in hugo new
2025-01-06 17:59:24 +01:00
dependabot[bot]
b7b49fb0f8
build(deps): bump github.com/evanw/esbuild from 0.24.0 to 0.24.2
...
Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild ) from 0.24.0 to 0.24.2.
- [Release notes](https://github.com/evanw/esbuild/releases )
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md )
- [Commits](https://github.com/evanw/esbuild/compare/v0.24.0...v0.24.2 )
---
updated-dependencies:
- dependency-name: github.com/evanw/esbuild
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-01-06 15:07:05 +01:00
Bjørn Erik Pedersen
5f2adad2c7
tpl/images: Format the QR hashes as hex
...
Slightly shorter, and it looks more like a ... hash.
2025-01-06 15:05:03 +01:00
dependabot[bot]
a837976731
build(deps): bump github.com/alecthomas/chroma/v2 from 2.14.0 to 2.15.0
...
Bumps [github.com/alecthomas/chroma/v2](https://github.com/alecthomas/chroma ) from 2.14.0 to 2.15.0.
- [Release notes](https://github.com/alecthomas/chroma/releases )
- [Changelog](https://github.com/alecthomas/chroma/blob/master/.goreleaser.yml )
- [Commits](https://github.com/alecthomas/chroma/compare/v2.14.0...v2.15.0 )
---
updated-dependencies:
- dependency-name: github.com/alecthomas/chroma/v2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-01-06 13:38:55 +01:00
Bjørn Erik Pedersen
0918e087ec
resources: Replace error handling in GetRemote with try (note)
...
Closes #13216
2025-01-06 12:22:17 +01:00
Joe Mooring
4ea94c451d
tpl/images: Add images.QR function
...
Closes #13205
2025-01-06 12:05:59 +01:00
Bjørn Erik Pedersen
5d2cbee989
Add try
...
Updates #9737
2025-01-05 15:32:21 +01:00
Bjørn Erik Pedersen
723e3f4342
resources: Add FromOpts for more effective resource creation
...
E.g. when the targetPath already contains a hash or if the resource content is expensive to create.
2025-01-05 12:43:37 +01:00
Bjørn Erik Pedersen
d913f46a8b
Fix server refresh on 404 template changes
...
Fixes #13209
2025-01-02 11:21:25 +01:00
Joe Mooring
2db43f841c
markup/highlight: Remove noHl option
...
Closes #9885
2024-12-31 15:46:46 +01:00
hugoreleaser
46ce1f191b
releaser: Prepare repository for 0.141.0-DEV
...
[ci skip]
2024-12-30 15:16:00 +00:00
hugoreleaser
aae02ca612
releaser: Bump versions for release of 0.140.2
...
[ci skip]
2024-12-30 15:01:53 +00:00
Diwas Rimal
83cec785cf
Print cli usage of hugo gen chromastyles alongside css
2024-12-30 15:06:35 +01:00
dependabot[bot]
4e52be8b90
build(deps): bump golang.org/x/net from 0.32.0 to 0.33.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.32.0 to 0.33.0.
- [Commits](https://github.com/golang/net/compare/v0.32.0...v0.33.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-12-30 10:57:04 +01:00
Joe Mooring
7888ac585c
config/allconfig: Fix slice of language configs
...
Fixes #13201
2024-12-30 10:54:56 +01:00
Joe Mooring
eb1dbe0709
config/allconfig: Throw error when output format is not defined
...
Fixes #13199
2024-12-29 21:38:46 +01:00
Bjørn Erik Pedersen
77824d704c
Fix same resource file published more than once
...
This may still happen, though, in low memory situations or very big sites, but I'm not sure it's worth spending time on fixing that. Writing the same file more than once isn't harmful, the negative effect is the false path warning.
We may find a way to detect that situation if this becomes a real problem.
Fixes #13164
2024-12-27 18:55:24 +01:00
Bjørn Erik Pedersen
ec0caaec7c
markup/highlight: Add wrapperClass option
...
The need comes from Tailwind's typography plugin. There's currently no way to turn that off outside of the markup, see https://github.com/tailwindlabs/tailwindcss-typography/pull/363
2024-12-25 19:31:47 +01:00
Bjørn Erik Pedersen
845b8885de
Update README.md
2024-12-23 18:57:19 +01:00
hugoreleaser
43385d6aeb
releaser: Prepare repository for 0.141.0-DEV
...
[ci skip]
2024-12-23 16:40:37 +00:00
hugoreleaser
a9b0b95ef4
releaser: Bump versions for release of 0.140.1
...
[ci skip]
2024-12-23 16:26:35 +00:00
Chris Moultrie
e229f4b387
Update gocloud and docs for S3-Compatible Endpoints
2024-12-22 22:58:36 +01:00
Bjørn Erik Pedersen
020253904f
js/esbuild: Don't try to resolve packages in /assets marked as external
...
Fixes #13183
2024-12-22 21:29:18 +01:00
Bjørn Erik Pedersen
4a5e94087b
Fix union, complement, symdiff, and intersect for transient resources
...
Fixes #13181
2024-12-22 19:25:03 +01:00
Bjørn Erik Pedersen
48a7aee961
release: Add withdeploy deb extended archives
...
Also refactor and get the config up to date for new version of Hugoreleaser.
Closes #13166
2024-12-22 16:55:52 +01:00
Joe Mooring
6c583e3227
common/loggers: Write PrintTimerIfDelayed output to stdErr
...
Closes #13171
2024-12-19 19:52:13 +01:00
dependabot[bot]
5d64b492f4
build(deps): bump github.com/spf13/cast from 1.7.0 to 1.7.1
...
Bumps [github.com/spf13/cast](https://github.com/spf13/cast ) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/spf13/cast/releases )
- [Commits](https://github.com/spf13/cast/compare/v1.7.0...v1.7.1 )
---
updated-dependencies:
- dependency-name: github.com/spf13/cast
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-12-19 12:08:10 +01:00
Joe Mooring
b3f32949cb
hugolib: Fix fallbacks for menu entry Name and Title
...
Closes #13161
2024-12-19 08:47:53 +01:00
hugoreleaser
55ecd3a90e
releaser: Prepare repository for 0.141.0-DEV
...
[ci skip]
2024-12-17 14:37:51 +00:00
hugoreleaser
3f35721fb2
releaser: Bump versions for release of 0.140.0
...
[ci skip]
2024-12-17 14:20:55 +00:00
Bjørn Erik Pedersen
5c80cb0d20
js/esbuild: Add missing es2024 target
2024-12-17 14:35:13 +01:00
Bjørn Erik Pedersen
a5e5be234c
Fix panic on server rebuilds when using both base templates and template.Defer
...
Fixes #12963
2024-12-16 18:03:04 +01:00
Bjørn Erik Pedersen
565c30eac9
js: Fix js.Batch for multihost setups
...
Note that this is an unreleased feature.
Fixes #13151
2024-12-16 11:52:18 +01:00
Joe Mooring
48dd6a918a
parser/pageparser: Fix Org Mode summary delimiter assignment
...
Closes #13152
2024-12-16 10:30:27 +01:00
Bjørn Erik Pedersen
744b8566ec
Fix a rebuild on resource rename case
2024-12-16 08:33:10 +01:00
Bjørn Erik Pedersen
7de5317aef
js/esbuild: Add runners after scripts
2024-12-16 08:33:10 +01:00
Bjørn Erik Pedersen
4cbd4ef991
js/esbuild: Batch: Avoid nil Instances slice
...
Ranging over a nil slice in Go works great, but is a hassle onced passed to JS.
2024-12-16 08:33:10 +01:00
Joe Mooring
a32c889a7b
tpl/tplimpl: Fix title attribute in details shortcode
2024-12-13 10:50:17 -08:00
Joe Mooring
852d868549
tpl/tplimpl: Update youtube shortcode
...
Pass a map instead of a slice to the collections.Querify function.
2024-12-13 15:16:55 +01:00
Joe Mooring
1e34e5b26d
tpl/tplimpl: Update details shortcode
...
- Remove localization of default summary value
- Add title attribute
- Reformat to be consistent with other embedded templates
- Simplify and improve integration test
- Update documentation
2024-12-13 14:21:13 +01:00
Joe Mooring
641d2616c7
tpl/collections: Allow querify to accept a map argument
...
Closes #13131
2024-12-13 13:30:55 +01:00
Bjørn Erik Pedersen
a834bb9f7e
js/esbuild: Build groups in order of their ID
...
We already do this for scripts e.g. inside a group.
This makes sure that group A's entry points gets added before B's, which can be an important property, see https://github.com/evanw/esbuild/issues/399#issuecomment-1458680887
2024-12-13 13:29:35 +01:00
racehd
4f130f6e4f
tpl/tplimpl: Add details shortcode
...
- Add new shortcode to render details HTML element.
- Implement integration tests to check: default state, custom summary, open state, attribute sanitization, allowed attributes, and localization of default summary text.
- Update docs to include details shortcode.
Closes # 13090
2024-12-13 09:24:20 +01:00
Bjørn Erik Pedersen
9dfa112617
Write all logging (INFO, WARN, ERROR) to stderr
...
The old setup tried to log >= warning to stderr, the rest to stdout.
However, that logic was flawed, so warnings ended up in stdout, which makes `hugo list all` etc. hard to reason about from scripts.
This commit fixes this by making all logging (info, warn, error) log to stderr and let stdout be reserved for program output.
Fixes #13074
2024-12-13 09:23:09 +01:00
Bjørn Erik Pedersen
ec1933f79d
js/esbuild: Add platform option
...
Closes #13136
2024-12-12 22:53:15 +01:00
Bjørn Erik Pedersen
75ad9cdaab
Add config option disableDefaultLanguageRedirect
...
Fixes #13133
2024-12-12 21:47:03 +01:00
Bjørn Erik Pedersen
e293e7ca6d
Add js.Batch
...
Fixes #12626
Closes #7499
Closes #9978
Closes #12879
Closes #13113
Fixes #13116
2024-12-12 21:43:17 +01:00
dependabot[bot]
157d86414d
build(deps): bump golang.org/x/crypto from 0.30.0 to 0.31.0
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.30.0 to 0.31.0.
- [Commits](https://github.com/golang/crypto/compare/v0.30.0...v0.31.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-12-12 12:19:49 +01:00
Bjørn Erik Pedersen
6be253000f
Upgrade to Go 1.23.4
...
Closes #13130
2024-12-12 10:39:59 +01:00
dependabot[bot]
947e4e66b5
build(deps): bump golang.org/x/tools from 0.27.0 to 0.28.0
...
Bumps [golang.org/x/tools](https://github.com/golang/tools ) from 0.27.0 to 0.28.0.
- [Release notes](https://github.com/golang/tools/releases )
- [Commits](https://github.com/golang/tools/compare/v0.27.0...v0.28.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/tools
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-12-12 09:25:40 +01:00
Bjørn Erik Pedersen
989b299b55
Remove some old and unused shell scripts
2024-12-11 13:15:09 +01:00
dependabot[bot]
5f897868c0
build(deps): bump github.com/hairyhenderson/go-codeowners
...
Bumps [github.com/hairyhenderson/go-codeowners](https://github.com/hairyhenderson/go-codeowners ) from 0.6.1 to 0.7.0.
- [Release notes](https://github.com/hairyhenderson/go-codeowners/releases )
- [Changelog](https://github.com/hairyhenderson/go-codeowners/blob/main/CHANGELOG.md )
- [Commits](https://github.com/hairyhenderson/go-codeowners/compare/v0.6.1...v0.7.0 )
---
updated-dependencies:
- dependency-name: github.com/hairyhenderson/go-codeowners
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-12-11 10:10:14 +01:00
Bjørn Erik Pedersen
e477373487
Squashed 'docs/' changes from 227aab619..8390a4a3a
...
8390a4a3a Add Void Linux installation instructions
d6099aae8 Update link to PostCSS plugins
25dad4693 netlify: Hugo 0.139.4
2b1fa118c Fix typo
3ef1eb505 Update hosting-on-aws-amplify
c0f6d35d6 Fix typo
aa54d4301 Correct directory name
98aa26bdb Improve instructions for hosting with AWS Amplify
a07638a80 Add new-in badges
6ad018055 netlify: Hugo 0.139.3
1050835d6 Update title of hugo.Store page
ebbd2e851 Clarify the shortcode Ordinal method
b7716ed95 Revise code block render hook for Mermaid diagrams
f1da9b6ea netlify: Hugo 0.139.2
d8ac9f428 Downgrade the Go toolchain in go.mod to a slightly older Go version
254b3c4f2 netlify: Hugo 0.139.1
03e666038 Add hugo.Store, site.Store and Shortcode.Store
157e8983b Update Anchorize.md
59fa9f214 Document the PageRef menu entry method
bda544cce docs(transform.Unmarshal): match lang attribute to title language in examples
1985886bd Adjust front matter of shared Markdown snippets
da5bd70d1 Fix typo
431b65d6b Update theme
b63ef69f5 Update style guidance
d50ed3422 Remove old new-in badges
12bfb9933 Update docs.yaml
0b936cacd netlify: Hugo 0.139.0
ab7668b4d dartsass: Add silenceDeprecations option
154df9bfc Merge commit '838bd312b1a287bb33962ad478dbc54737654f35'
efa80477c docs: Regen CLI docs
ad99e4a7a docs: Regenerate CLI docs
git-subtree-dir: docs
git-subtree-split: 8390a4a3ac
2024-12-11 09:53:33 +01:00
Bjørn Erik Pedersen
b47376586a
Merge commit 'e477373487abcccdbed95688e37aa74b9b8fc198'
2024-12-11 09:53:33 +01:00
Bjørn Erik Pedersen
5ab38de363
Fix Sass imports on the form index.{scss,sass}
...
Fixes #13123
2024-12-10 13:33:27 +01:00
dependabot[bot]
7b69218489
build(deps): bump golang.org/x/net from 0.31.0 to 0.32.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.31.0 to 0.32.0.
- [Commits](https://github.com/golang/net/compare/v0.31.0...v0.32.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-12-10 09:49:56 +01:00
Joe Mooring
34373407b7
markup/goldmark: Fix blockquote render hook text parsing
...
Fixes #12913
Fixes #13119
2024-12-10 09:43:33 +01:00
hugoreleaser
3afe91d4b1
releaser: Bump versions for release of 0.139.4
...
[ci skip]
2024-12-09 17:45:23 +00:00
Joe Mooring
54398f8d57
tpl/tplimpl: Escape Markdown attributes in render hooks and shortcodes
2024-12-09 17:58:57 +01:00
Bjørn Erik Pedersen
b8c15f245b
deps: Upgrade github.com/bep/godartsass/v2 v2.3.1 => v2.3.2
...
See https://github.com/bep/godartsass/issues/31 for some context.
2024-12-06 14:37:51 +01:00
Oleksandr Redko
d0dc518844
common/maps: Simplify TestScratchSetInMap/DeleteInMap
2024-12-05 12:40:59 +01:00
Joe Mooring
b529859008
markup/tableofcontents: Cast Fragments.ToHTML args to int
...
Closes #13107
2024-12-04 21:37:06 +01:00
hugoreleaser
487bb96474
releaser: Prepare repository for 0.140.0-DEV
...
[ci skip]
2024-11-29 15:51:07 +00:00
hugoreleaser
2f6864387c
releaser: Bump versions for release of 0.139.3
...
[ci skip]
2024-11-29 15:36:56 +00:00
Bjørn Erik Pedersen
c1dc35dd71
Fix server edits of resources included in shortcode/hooks
...
Fixes #13093
2024-11-29 14:22:39 +01:00
huajin tong
fc3d1cbadb
Fix some typos
2024-11-28 11:20:02 +01:00
dependabot[bot]
7e130e34f2
build(deps): bump github.com/bep/godartsass/v2 from 2.3.0 to 2.3.1
...
Bumps [github.com/bep/godartsass/v2](https://github.com/bep/godartsass ) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/bep/godartsass/releases )
- [Commits](https://github.com/bep/godartsass/compare/v2.3.0...v2.3.1 )
---
updated-dependencies:
- dependency-name: github.com/bep/godartsass/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-28 11:06:11 +01:00
dependabot[bot]
88b7868fbd
build(deps): bump github.com/tetratelabs/wazero from 1.8.1 to 1.8.2
...
Bumps [github.com/tetratelabs/wazero](https://github.com/tetratelabs/wazero ) from 1.8.1 to 1.8.2.
- [Release notes](https://github.com/tetratelabs/wazero/releases )
- [Commits](https://github.com/tetratelabs/wazero/compare/v1.8.1...v1.8.2 )
---
updated-dependencies:
- dependency-name: github.com/tetratelabs/wazero
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-27 23:50:07 +01:00
Bjørn Erik Pedersen
dea158c885
commands: Fix flaw in the livereload logic
...
I guess most commonly an issue with TailwindCSS editing in templates:
* Build changes both CSS and index.html => reload OK.
* Build changes both CSS and index.html and some other files => only CSS reloaded.
The above would fix itself with one more edit, but that's annoying.
2024-11-25 10:39:17 +01:00
hugoreleaser
467444ef64
releaser: Prepare repository for 0.140.0-DEV
...
[ci skip]
2024-11-23 15:46:37 +00:00
hugoreleaser
770f548b47
releaser: Bump versions for release of 0.139.2
...
[ci skip]
2024-11-23 15:33:51 +00:00
Bjørn Erik Pedersen
0ab81896d9
modules: Skip empty lines in modules.txt
...
Closes #13084
2024-11-23 16:29:32 +01:00
hugoreleaser
e00fdae456
releaser: Prepare repository for 0.140.0-DEV
...
[ci skip]
2024-11-23 14:26:42 +00:00
hugoreleaser
21299a7a67
releaser: Bump versions for release of 0.139.1
...
[ci skip]
2024-11-23 14:13:46 +00:00
Bjørn Erik Pedersen
aa3dd197f7
Revert "build(deps): bump github.com/tdewolff/minify/v2 from 2.20.37 to 2.21.1"
...
This reverts commit 7a2f04ee8c .
Closes #13082
2024-11-23 15:11:09 +01:00
Bjørn Erik Pedersen
5a50eee9da
minifiers: Add failing test for upstream bug
...
See #13082
2024-11-23 15:11:09 +01:00
Bjørn Erik Pedersen
8d017a60fb
dartsass: Fix nilpointer on Close when Dart Sass isn't installed
...
Fixes #13076
2024-11-21 20:00:36 +01:00
wangjingcun
8fcd3c1487
common: Fix some GoDoc typos
2024-11-19 11:29:19 +01:00
Bjørn Erik Pedersen
2d4c0c6c8d
readme: Update dependency list
2024-11-19 10:05:42 +01:00
hugoreleaser
59a55a1f9e
releaser: Prepare repository for 0.140.0-DEV
...
[ci skip]
2024-11-18 16:32:01 +00:00
hugoreleaser
dacef0df92
releaser: Bump versions for release of 0.139.0
...
[ci skip]
2024-11-18 16:17:45 +00:00
Bjørn Erik Pedersen
8d92042ab9
dartsass: Fix error message
...
Closes #13065
2024-11-18 17:14:56 +01:00
Bjørn Erik Pedersen
e917401c71
Make sure term is always set
...
Fixes #13063
2024-11-18 16:20:25 +01:00
dependabot[bot]
eb298144b6
build(deps): bump github.com/aws/aws-sdk-go-v2/service/cloudfront
...
Bumps [github.com/aws/aws-sdk-go-v2/service/cloudfront](https://github.com/aws/aws-sdk-go-v2 ) from 1.38.4 to 1.41.0.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases )
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/s3/v1.38.4...service/s3/v1.41.0 )
---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/service/cloudfront
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-18 13:41:31 +01:00
Bjørn Erik Pedersen
3b6eaf9b1f
dartsass: Add silenceDeprecations option
...
Fixes #13045
2024-11-18 13:41:12 +01:00
Bjørn Erik Pedersen
1fd845eee4
dartsass: Remove support for v1 of the protocol/binary (note)
...
People who stil use a very old binary named `dart-sass-embedded` need to upgrade.
See https://gohugo.io/functions/css/sass/#dart-sass
2024-11-18 12:32:39 +01:00
dependabot[bot]
61e2ce2a49
build(deps): bump google.golang.org/api from 0.191.0 to 0.206.0
...
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.191.0 to 0.206.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases )
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md )
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.191.0...v0.206.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/api
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-18 10:51:33 +01:00
dependabot[bot]
2d503f82ac
build(deps): bump github.com/aws/aws-sdk-go-v2 from 1.30.3 to 1.32.4
...
Bumps [github.com/aws/aws-sdk-go-v2](https://github.com/aws/aws-sdk-go-v2 ) from 1.30.3 to 1.32.4.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases )
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/v1.30.3...v1.32.4 )
---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-18 10:51:04 +01:00
dependabot[bot]
3a6b2e6b14
build(deps): bump github.com/fsnotify/fsnotify from 1.7.0 to 1.8.0
...
Bumps [github.com/fsnotify/fsnotify](https://github.com/fsnotify/fsnotify ) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/fsnotify/fsnotify/releases )
- [Changelog](https://github.com/fsnotify/fsnotify/blob/main/CHANGELOG.md )
- [Commits](https://github.com/fsnotify/fsnotify/compare/v1.7.0...v1.8.0 )
---
updated-dependencies:
- dependency-name: github.com/fsnotify/fsnotify
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-18 10:50:22 +01:00
Bjørn Erik Pedersen
bbbfeb340a
Merge commit '838bd312b1a287bb33962ad478dbc54737654f35'
2024-11-18 10:11:18 +01:00
Bjørn Erik Pedersen
838bd312b1
Squashed 'docs/' changes from 159c843fd..227aab619
...
227aab619 Update configuration-markup.md
019ff776c Fix grammatical error
c889827bf Remove old new-in
39807c5bc Remove duplicate yaml key
git-subtree-dir: docs
git-subtree-split: 227aab6190
2024-11-18 10:11:17 +01:00
Bjørn Erik Pedersen
6bde8abaad
deps: Upgrade github.com/bep/imagemeta v0.8.1 => v0.8.3
2024-11-17 12:05:37 +01:00
Bjørn Erik Pedersen
66dd6ecab2
docs: Regen CLI docs
2024-11-16 20:34:00 +01:00
Bjørn Erik Pedersen
ad43d137d5
Remove deprecations <= v0.122.0 (note)
...
These have, once we release this, been logging ERROR for 6 minor versions.
2024-11-16 20:32:43 +01:00
Bjørn Erik Pedersen
f7fc6ccd59
release: Add missing withdeploy archive for arm64 Linux
...
Closes #13029
2024-11-16 18:29:13 +01:00
Bjørn Erik Pedersen
d4de780edc
Fix extra newline/paragraphs issue with .RenderShortcodes
...
Fixes #13051
2024-11-16 17:51:11 +01:00
dependabot[bot]
2c54c32986
build(deps): bump golang.org/x/tools from 0.26.0 to 0.27.0
...
Bumps [golang.org/x/tools](https://github.com/golang/tools ) from 0.26.0 to 0.27.0.
- [Release notes](https://github.com/golang/tools/releases )
- [Commits](https://github.com/golang/tools/compare/v0.26.0...v0.27.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/tools
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-15 11:46:07 +01:00
dependabot[bot]
7a2f04ee8c
build(deps): bump github.com/tdewolff/minify/v2 from 2.20.37 to 2.21.1
...
Bumps [github.com/tdewolff/minify/v2](https://github.com/tdewolff/minify ) from 2.20.37 to 2.21.1.
- [Release notes](https://github.com/tdewolff/minify/releases )
- [Commits](https://github.com/tdewolff/minify/compare/v2.20.37...v2.21.1 )
---
updated-dependencies:
- dependency-name: github.com/tdewolff/minify/v2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-15 10:04:07 +01:00
dependabot[bot]
7921777da1
build(deps): bump github.com/fatih/color from 1.17.0 to 1.18.0
...
Bumps [github.com/fatih/color](https://github.com/fatih/color ) from 1.17.0 to 1.18.0.
- [Release notes](https://github.com/fatih/color/releases )
- [Commits](https://github.com/fatih/color/compare/v1.17.0...v1.18.0 )
---
updated-dependencies:
- dependency-name: github.com/fatih/color
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-15 10:02:13 +01:00
dependabot[bot]
33e964d40b
build(deps): bump golang.org/x/image from 0.21.0 to 0.22.0
...
Bumps [golang.org/x/image](https://github.com/golang/image ) from 0.21.0 to 0.22.0.
- [Commits](https://github.com/golang/image/compare/v0.21.0...v0.22.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/image
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-15 10:01:30 +01:00
Bjørn Erik Pedersen
5e3133a7d8
Run go mod tidy
2024-11-14 16:45:21 +01:00
Bjørn Erik Pedersen
58a3c91a7f
docs: Regenerate CLI docs
2024-11-14 16:10:38 +01:00
Bjørn Erik Pedersen
ac6962d284
commands: Add -O flag to server to open browser
...
Fixes #13040
2024-11-14 15:59:23 +01:00
KN4CK3R
23d21b0d16
Preserve input type.
2024-11-14 15:05:37 +01:00
Bjørn Erik Pedersen
588c9019cf
deps: Upgrade github.com/yuin/goldmark v1.7.4 => v1.7.8
...
Closes #12958
2024-11-14 14:31:04 +01:00
Bjørn Erik Pedersen
ce9cf882a5
server: Strip ANSI escape codes from browser error log
...
Fixes #13037
2024-11-14 14:25:07 +01:00
dependabot[bot]
46e17053c8
build(deps): bump golang.org/x/sync from 0.8.0 to 0.9.0
...
Bumps [golang.org/x/sync](https://github.com/golang/sync ) from 0.8.0 to 0.9.0.
- [Commits](https://github.com/golang/sync/compare/v0.8.0...v0.9.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sync
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-14 14:02:35 +01:00
dependabot[bot]
cb6580d008
build(deps): bump github.com/hairyhenderson/go-codeowners
...
Bumps [github.com/hairyhenderson/go-codeowners](https://github.com/hairyhenderson/go-codeowners ) from 0.6.0 to 0.6.1.
- [Release notes](https://github.com/hairyhenderson/go-codeowners/releases )
- [Changelog](https://github.com/hairyhenderson/go-codeowners/blob/main/CHANGELOG.md )
- [Commits](https://github.com/hairyhenderson/go-codeowners/compare/v0.6.0...v0.6.1 )
---
updated-dependencies:
- dependency-name: github.com/hairyhenderson/go-codeowners
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-14 14:01:41 +01:00
Bjørn Erik Pedersen
8aba6dc661
parser/metadecoders: Add benchmark
2024-11-13 14:57:18 +01:00
Bjørn Erik Pedersen
a7df536a52
Add site.Store and hugo.Store and Shortcode.Store
...
Closes #13021
2024-11-13 12:41:16 +01:00
Bjørn Erik Pedersen
de0df119b5
Squashed 'docs/' changes from ccb1b97cb..159c843fd
...
159c843fd Fix front matter menu entry example
c3a476a19 Document soft deprecation of PAGE.Scratch
cdead9785 netlify: Hugo 0.138.0
9169b4da4 Update version references
3bc6bf431 Update embedded.md
5c7743b2e Update creation instructions for the emoji quick reference
109efe3eb Document the comment shortcode
83d7d3005 Update theme
d3c205054 netlify: Hugo 0.137.1
545290351 Handle inline HTML content
0204be97d Update theme
18d09235e Remove JS and CSS that prevents FOUC with client side math rendering
63d9dd876 Update RenderShortcodes.md
064b95539 Update output-format-definition.md
3744f3be2 Describe and refer to the extended/deploy edition
3d3302308 netlify: Hugo 0.137.0
b53aedcea Update RenderShortcodes.md
b5f289165 Replace HTML comments in markdown with the new comment shortcode
c673880b6 Remove superfluous right bracket
f80b0c61e Update faq.md
2ede707eb Document installation on NixOS
09b114914 Update theme
76a9f90b2 Update passthrough.md
9f3355630 Update Scratch.md
bc080ecaa Update Store.md
1507ede32 Update Scratch.md
54a90f569 Update Store.md
7c9145c43 Fix broken link
dd15f183b Update ToMath.md
2b021c34b Move the [build] documentation to its own page
cbb6677ec Fix typo
ac0969063 Update ToMath.md
7fbdfd7c8 netlify: Hugo 0.136.5
17f54223c Update ToMath.md
4c9c3bb06 Update multilingual.md
1432da7bd Make site and page language methods linkable
fd5b746cb Update urls.md
a746f1b3a Update urls.md
abf8738e2 netlify: Hugo 0.136.4
bd8759996 Update TrimSpace.md
6103c1e84 Documents strings.TrimSpace
533dd3a7b netlify: Hugo 0.136.3
30f3f97cf Update quick-start.md
b0d7b41a0 Update configuration-markup.md
760e5e4f0 Update quick-start.md
17daeb866 Update quick-start.md
1e158e723 netlify: Hugo 0.136.2
d32530839 Update theme
edb9bee02 Update description of url front matter field
e1c576e18 netlify: Hugo 0.136.1
1ad28e1e0 Describe how to configure uglyURLs per section
cbbd4c4fe netlify: Hugo 0.136.0
bb7f35e99 Merge branch 'tempv0.136.0'
706110736 docs: Regen CLI docs
bf0c7821f Update urls.md
8c544e6c0 Update quick-start.md
8d02733d0 Update Paginator.md
a45327aac Update Paginate.md
1377ed4de Clarify date parsing
e19fb8043 Document front matter date field aliases
a39951847 Update Tailwind CSS installation instructions
3be164c35 Remove duplicate token
05fc815f7 commands: Add "hugo build" as an alias for "hugo"
cb3cb504c Update table render hook example
efbee0bff Clarify resources.GetRemote 404 handling
4312d49c9 Update compare.Conditional documentation
4a46d53b6 Update theme
93e542d4f netlify: Hugo 0.135.0
b4da1c104 Remvoe some old new-in shortcodes
4c316f051 Update TailwindCSS.md
c2fe91509 Update introduction.md
906b7c66b Update configuration.md
5ab6b3cdd Update documentation.md
26fb4bb4c Update documentation.md
e9e917f37 Update version refs
83ce07f24 netlify: Hugo 0.134.3
8cb32f802 Update front-matter.md
94d7f576a Update faq.md
fafc1d8d9 netlify: Hugo 0.134.2
bfe9cdc3d Update content-adapters.md
9e49ae3e1 Document ignoreLogs configuration setting
6b47a1d57 Update configuration.md
fd98a0372 Document CLI options that can be set in configuration
07c2400d8 Document alternative to Summary method
d053fa163 Update to reflect changes in v0.134.1
137dc3241 Update ContentWithoutSummary.md
e8f6427d9 netlify: Hugo 0.134.1
git-subtree-dir: docs
git-subtree-split: 159c843fd7
2024-11-13 11:07:57 +01:00
Bjørn Erik Pedersen
3477d9fcec
Merge commit 'de0df119b504a91c9e1f442b07954f366ffb2932'
2024-11-13 11:07:57 +01:00
Andreas Deininger
e79ee0d516
markup/goldmark: Fix typo in error message
2024-11-13 10:12:26 +01:00
Joe Mooring
2b97a2a8bf
markup/goldmark: Improve the raw HTML omitted warning
...
Closes #13023
2024-11-07 23:00:09 +02:00
hugoreleaser
35afe6fe2a
releaser: Prepare repository for 0.139.0-DEV
...
[ci skip]
2024-11-06 11:36:12 +00:00
hugoreleaser
ad82998d54
releaser: Bump versions for release of 0.138.0
...
[ci skip]
2024-11-06 11:22:34 +00:00
Bjørn Erik Pedersen
95e2d5beb8
Fix concurrent map read and map write in short page lookups
...
Regression introduced in Hugo `v0.137.0`.
Fixes #13019
2024-11-06 12:17:30 +01:00
Bjørn Erik Pedersen
2c3efc8106
Alias Page.Scratch to Page.Store (note)
...
Fixes #13016
2024-11-06 09:49:23 +01:00
hugoreleaser
df8bd4af4f
releaser: Prepare repository for 0.138.0-DEV
...
[ci skip]
2024-11-05 12:04:27 +00:00
hugoreleaser
17e15b2148
releaser: Bump versions for release of 0.137.1
...
[ci skip]
2024-11-05 11:49:09 +00:00
Bjørn Erik Pedersen
ca4fc587c3
common/hugo: Add withdeploy to the version string printed in hugo version
2024-11-05 11:40:42 +01:00
Bjørn Erik Pedersen
4faaaf9c2f
markup: Goldmark log "Raw HTML omitted" warning also for inline HTML
...
Fixes #13013
2024-11-05 11:40:42 +01:00
Bjørn Erik Pedersen
94b46c36b4
build: Add missing withdeploy archive for Windows
...
Fixes #13009
2024-11-05 11:40:42 +01:00
Bjørn Erik Pedersen
2b0b3b8584
commands: Print the "deploy not available" error message even if flags provided
...
Fixes #13012
2024-11-05 11:40:42 +01:00
Joe Mooring
801035bb7a
tpl/tplimpl: Create an embedded comment shortcode
...
Closes #13010
2024-11-04 21:05:07 +01:00
hugoreleaser
b7861e586e
releaser: Prepare repository for 0.138.0-DEV
...
[ci skip]
2024-11-04 16:19:39 +00:00
hugoreleaser
59c1158135
releaser: Bump versions for release of 0.137.0
...
[ci skip]
2024-11-04 16:04:06 +00:00
Bjørn Erik Pedersen
fcdc454cc5
Do not watch directories with no mounted files in it
...
Fixes #12912
Fixes #13007
2024-11-04 12:44:07 +01:00
Bjørn Erik Pedersen
6cf23bf882
markup/goldmark: Only log Raw HTML omitted WARN on block entering
...
Updates #12997
2024-11-04 10:13:53 +01:00
Bjørn Erik Pedersen
62a96cef7f
markup/goldmark: Add warning (using Warnidf) on Goldmark <!-- raw HTML omitted -->
...
Fixes #12997
2024-11-03 14:17:10 +01:00
Bjørn Erik Pedersen
30d9aea860
Fix stale pages on rebuilds in GetPage with short refs
...
Fixes #13004
2024-11-03 13:33:31 +01:00
Bjørn Erik Pedersen
1f23b4949c
Fix some RenderShortcodes error cases
...
This issue fixes two cases where `{{__hugo_ctx` artifacts were left in the rendered output:
1. Inclusion when `.RenderShortcodes` is wrapped in HTML.
2. Inclusion of Markdown file without a trailing newline in some cases.
Closes #12854
Updates #12998
2024-11-03 13:33:31 +01:00
Joe Mooring
5fc1639035
Update README.md
2024-11-01 21:10:52 -07:00
Joe Mooring
889308dd85
resources: Address Dart Sass deprecation of global built-in functions
...
See https://github.com/sass/dart-sass/releases/tag/1.80.0
Fixes #12961
2024-11-01 14:05:27 +01:00
Joe Mooring
72352f205a
github: Adjust test workflow to install Dart Sass v1.80.3
2024-11-01 13:37:45 +01:00
Bjørn Erik Pedersen
e3304db617
deps: Upgrade github.com/bep/godartsass/v2 v2.1.0 => v2.2.0
2024-11-01 12:37:55 +01:00
Bjørn Erik Pedersen
1ec6fa36c0
Update README.md
2024-11-01 10:16:05 +01:00
Bjørn Erik Pedersen
89bd025ebf
Build without the deploy feature by default
...
Build tags setup changed to:
* !nodeploy => withdeploy
* nodeploy => !withdeploy
Also move the deploy feature out into its own release archives.
See #12994 for the primary motivation for this change. But this also greatly reduces the number of dependencies in Hugo when you don't need this feature and cuts the binary size greatly.
Fixes #12994
2024-10-30 11:46:40 +01:00
Bjørn Erik Pedersen
62567d3820
deps: Upgrade github.com/bep/lazycache v0.6.0 => v0.7.0
2024-10-27 12:43:36 +01:00
Bjørn Erik Pedersen
e10915f80a
dynacache: Fix potential deadlocks on panics in GetOrCreate
2024-10-26 18:27:10 +02:00
hugoreleaser
ec3890affe
releaser: Prepare repository for 0.137.0-DEV
...
[ci skip]
2024-10-24 12:41:02 +00:00
hugoreleaser
46cccb021b
releaser: Bump versions for release of 0.136.5
...
[ci skip]
2024-10-24 12:26:27 +00:00
Bjørn Erik Pedersen
cb6e27b32a
hugolib/commands: Fix stuck server error issues
...
Fixes #11378
2024-10-24 13:34:11 +02:00