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]
v0.149.1
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]
v0.149.0
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 5b2a4c5a26
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: 71f739460f43e3e1226d3b778ccd1c20c4ca9af3
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