]> git.maquefel.me Git - brevno-suite/hugo/log
brevno-suite/hugo
10 months agocommands: Map --minify CLI flag to the correct configuration key
Joe Mooring [Wed, 17 Sep 2025 16:11:12 +0000 (09:11 -0700)]
commands: Map --minify CLI flag to the correct configuration key

Closes #13988

10 months agosnap: Add desktop plug
Max Kapur [Thu, 18 Sep 2025 13:22:39 +0000 (08:22 -0500)]
snap: Add desktop plug

10 months agotest(deps): Update setup-ruby action to v1.257.0
Max Kapur [Wed, 17 Sep 2025 16:30:21 +0000 (11:30 -0500)]
test(deps): Update setup-ruby action to v1.257.0

10 months agoreleaser: Prepare repository for 0.151.0-DEV
hugoreleaser [Mon, 8 Sep 2025 13:16:24 +0000 (13:16 +0000)]
releaser: Prepare repository for 0.151.0-DEV

[ci skip]

10 months agoreleaser: Bump versions for release of 0.150.0
hugoreleaser [Mon, 8 Sep 2025 13:01:12 +0000 (13:01 +0000)]
releaser: Bump versions for release of 0.150.0

[ci skip]

10 months agobuild(deps): bump golang.org/x/mod from 0.27.0 to 0.28.0
dependabot[bot] [Mon, 8 Sep 2025 08:14:53 +0000 (08:14 +0000)]
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>
10 months agomodules: Add support for direct version module imports in hugo.toml
Bjørn Erik Pedersen [Fri, 5 Sep 2025 06:00:39 +0000 (08:00 +0200)]
modules: Add support for direct version module imports in hugo.toml

Fixes #13964

10 months agoresources/page: Fix truncated summary logic
Joe Mooring [Fri, 5 Sep 2025 19:21:17 +0000 (12:21 -0700)]
resources/page: Fix truncated summary logic

Fixes #13967
Fixes #13968

10 months agoconfig/security: Add PROGRAMDATA to the osenv allowlist
Joe Mooring [Thu, 4 Sep 2025 19:49:26 +0000 (12:49 -0700)]
config/security: Add PROGRAMDATA to the osenv allowlist

10 months agoreleaser: Prepare repository for 0.150.0-DEV
hugoreleaser [Thu, 4 Sep 2025 14:18:57 +0000 (14:18 +0000)]
releaser: Prepare repository for 0.150.0-DEV

[ci skip]

10 months agoreleaser: Bump versions for release of 0.149.1
hugoreleaser [Thu, 4 Sep 2025 14:04:46 +0000 (14:04 +0000)]
releaser: Bump versions for release of 0.149.1

[ci skip]

10 months agoRemove noindex meta tag from alias.html
Lukáš Zapletal [Sat, 30 Aug 2025 17:55:41 +0000 (19:55 +0200)]
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

10 months agoFix nilpointer on ToC heading
Bjørn Erik Pedersen [Thu, 4 Sep 2025 09:21:29 +0000 (11:21 +0200)]
Fix nilpointer on ToC heading

Fixes #11843

Co-authored-by: Joe Mooring <joe.mooring@veriphor.com>
10 months agotpl/collections: Require collections.D args to be ints
Bjørn Erik Pedersen [Thu, 4 Sep 2025 09:18:39 +0000 (11:18 +0200)]
tpl/collections: Require collections.D args to be ints

Fixes #13952

Co-authored-by: Joe Mooring <joe.mooring@veriphor.com>
10 months agoUpgrade to Go 1.25.1
Bjørn Erik Pedersen [Thu, 4 Sep 2025 09:11:29 +0000 (11:11 +0200)]
Upgrade to Go 1.25.1

Fixes #13960

10 months agoFix config env handling for some slice options
PikachuTW [Thu, 4 Sep 2025 08:49:14 +0000 (16:49 +0800)]
Fix config env handling for some slice options

Fixes #13950

10 months agominifiers: Update deprecation handling
Joe Mooring [Fri, 29 Aug 2025 14:54:15 +0000 (07:54 -0700)]
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

10 months agoUpdate README.md
Bjørn Erik Pedersen [Mon, 1 Sep 2025 15:11:08 +0000 (17:11 +0200)]
Update README.md

11 months agoreleaser: Prepare repository for 0.150.0-DEV
hugoreleaser [Wed, 27 Aug 2025 15:51:44 +0000 (15:51 +0000)]
releaser: Prepare repository for 0.150.0-DEV

[ci skip]

11 months agoreleaser: Bump versions for release of 0.149.0
hugoreleaser [Wed, 27 Aug 2025 15:37:16 +0000 (15:37 +0000)]
releaser: Bump versions for release of 0.149.0

[ci skip]

11 months agotpl/collections: Add an integration test for collections.D
Bjørn Erik Pedersen [Wed, 27 Aug 2025 13:21:29 +0000 (15:21 +0200)]
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).

11 months agomisc: Update Go version to 1.24.0 in README
Joe Mooring [Wed, 27 Aug 2025 14:42:21 +0000 (07:42 -0700)]
misc: Update Go version to 1.24.0 in README

Update Go version requirements for building Hugo.

11 months agocreate: Fix new content command with future dates
Justus Perlwitz [Wed, 27 Aug 2025 07:33:17 +0000 (07:33 +0000)]
create: Fix new content command with future dates

Fixes #12599

11 months agobuild(deps): bump github.com/getkin/kin-openapi from 0.132.0 to 0.133.0
dependabot[bot] [Wed, 27 Aug 2025 02:16:25 +0000 (02:16 +0000)]
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>
11 months agotpl/collections: Add collections.D using Vitter's Method D for sequential random...
Bjørn Erik Pedersen [Tue, 26 Aug 2025 18:37:08 +0000 (20:37 +0200)]
tpl/collections: Add collections.D using Vitter's Method D for sequential random sampling

11 months agobuild(deps): bump google.golang.org/api from 0.247.0 to 0.248.0
dependabot[bot] [Mon, 25 Aug 2025 20:30:36 +0000 (20:30 +0000)]
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>
11 months agobuild(deps): bump github.com/evanw/esbuild from 0.25.6 to 0.25.9
dependabot[bot] [Mon, 25 Aug 2025 14:56:08 +0000 (14:56 +0000)]
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>
11 months agobuild(deps): bump gocloud.dev from 0.40.0 to 0.43.0
dependabot[bot] [Mon, 25 Aug 2025 16:04:37 +0000 (16:04 +0000)]
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>
11 months agocommands: Deprecate --omitEmpty on chromastyles command
Bjørn Erik Pedersen [Mon, 25 Aug 2025 14:21:30 +0000 (16:21 +0200)]
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

11 months agocommands: Add --omitClassComments to the chromastyles command
Bjørn Erik Pedersen [Mon, 25 Aug 2025 13:27:19 +0000 (15:27 +0200)]
commands: Add --omitClassComments to the chromastyles command

11 months agodeps: Upgrade github.com/alecthomas/chroma/v2 v2.19.0 => v2.20.0
Bjørn Erik Pedersen [Mon, 25 Aug 2025 13:09:04 +0000 (15:09 +0200)]
deps: Upgrade github.com/alecthomas/chroma/v2 v2.19.0 => v2.20.0

CLoses #13917

11 months agobuild(deps): bump github.com/aws/aws-sdk-go-v2/service/cloudfront
dependabot[bot] [Fri, 22 Aug 2025 08:35:07 +0000 (08:35 +0000)]
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>
11 months agobuild(deps): bump github.com/tdewolff/minify/v2 from 2.23.11 to 2.24.0
dependabot[bot] [Thu, 21 Aug 2025 08:34:16 +0000 (08:34 +0000)]
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>
11 months agoall: Use slices.Equal
minxinyi [Sun, 24 Aug 2025 18:35:18 +0000 (02:35 +0800)]
all: Use slices.Equal

11 months agoMerge commit 'bfa74537929f409fca841540b971125b7678963a'
Bjørn Erik Pedersen [Sat, 23 Aug 2025 10:39:28 +0000 (12:39 +0200)]
Merge commit 'bfa74537929f409fca841540b971125b7678963a'

11 months agoSquashed 'docs/' changes from 60dd993a6..71f739460
Bjørn Erik Pedersen [Sat, 23 Aug 2025 10:36:13 +0000 (12:36 +0200)]
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

11 months agoresources/page: Add :sectionslug and :sectionslugs permalink tokens
Dustin Fischer [Sat, 23 Aug 2025 10:35:21 +0000 (12:35 +0200)]
resources/page: Add :sectionslug and :sectionslugs permalink tokens

Add slugified section permalink tokens with fallback behavior and slice syntax support.

Fixes #13788

11 months agoUpgrade to Go 1.25
Bjørn Erik Pedersen [Thu, 21 Aug 2025 10:13:53 +0000 (12:13 +0200)]
Upgrade to Go 1.25

Fixes #13924
Fixes #13931

11 months agocommon/hcontext: Replace with external package
Bjørn Erik Pedersen [Thu, 21 Aug 2025 19:58:43 +0000 (21:58 +0200)]
common/hcontext: Replace with external package

11 months agoFix server rebuild when adding a new leaf bundle with resources in one go
Bjørn Erik Pedersen [Thu, 21 Aug 2025 08:38:57 +0000 (10:38 +0200)]
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

11 months agoresources/page: Use reflect.TypeFor
cui [Wed, 20 Aug 2025 11:20:14 +0000 (19:20 +0800)]
resources/page: Use reflect.TypeFor

11 months agobuild(deps): bump github.com/tdewolff/minify/v2 from 2.23.8 to 2.23.11
dependabot[bot] [Tue, 19 Aug 2025 19:07:11 +0000 (19:07 +0000)]
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>
11 months agoRemove test with deprecated path usage
Bjørn Erik Pedersen [Wed, 20 Aug 2025 09:36:10 +0000 (11:36 +0200)]
Remove test with deprecated path usage

This now creates a warning and flaky CI tests.

11 months agobuild(deps): bump github.com/olekukonko/tablewriter from 1.0.8 to 1.0.9
dependabot[bot] [Tue, 19 Aug 2025 20:54:16 +0000 (20:54 +0000)]
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>
11 months agoUpdate README.md
Bjørn Erik Pedersen [Sat, 16 Aug 2025 08:51:26 +0000 (10:51 +0200)]
Update README.md

11 months agoFix rebuild when deleting a content adapter file
Bjørn Erik Pedersen [Fri, 15 Aug 2025 11:10:27 +0000 (13:10 +0200)]
Fix rebuild when deleting a content adapter file

11 months agobuild(deps): bump google.golang.org/api from 0.237.0 to 0.247.0
dependabot[bot] [Fri, 15 Aug 2025 12:03:47 +0000 (12:03 +0000)]
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>
11 months agobuild(deps): bump github.com/aws/aws-sdk-go-v2 from 1.36.4 to 1.38.0
dependabot[bot] [Wed, 13 Aug 2025 09:25:01 +0000 (09:25 +0000)]
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>
11 months agobuild(deps): bump golang.org/x/tools from 0.35.0 to 0.36.0
dependabot[bot] [Fri, 15 Aug 2025 08:14:46 +0000 (08:14 +0000)]
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>
11 months agobuild(deps): bump github.com/bep/simplecobra from 0.6.0 to 0.6.1
dependabot[bot] [Thu, 14 Aug 2025 08:03:00 +0000 (08:03 +0000)]
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>
11 months agotpl/strings: Remove unnecessary error check
Nigel van Keulen [Fri, 15 Aug 2025 11:43:16 +0000 (13:43 +0200)]
tpl/strings: Remove unnecessary error check

11 months agomarkup/goldmark: Apply Hugo Goldmark Extras when rendering TOC
Joe Mooring [Mon, 11 Aug 2025 20:07:42 +0000 (13:07 -0700)]
markup/goldmark: Apply Hugo Goldmark Extras when rendering TOC

Closes #12605

11 months agobuild(deps): bump golang.org/x/mod from 0.25.0 to 0.27.0
dependabot[bot] [Tue, 12 Aug 2025 12:48:25 +0000 (12:48 +0000)]
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>
11 months agobuild(deps): bump github.com/yuin/goldmark from 1.7.12 to 1.7.13
dependabot[bot] [Tue, 12 Aug 2025 15:03:53 +0000 (15:03 +0000)]
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>
11 months agomarkup/goldmark: Sanitize TOC heading titles
Joe Mooring [Sun, 10 Aug 2025 22:12:31 +0000 (15:12 -0700)]
markup/goldmark: Sanitize TOC heading titles

Fixes #13401

11 months agobuild(deps): bump golang.org/x/image from 0.28.0 to 0.30.0
dependabot[bot] [Mon, 11 Aug 2025 08:55:38 +0000 (08:55 +0000)]
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>
11 months agodeps: Upgrade github.com/niklasfasching/go-org v1.8.0 => v1.9.1
Joe Mooring [Sun, 10 Aug 2025 13:09:15 +0000 (06:09 -0700)]
deps: Upgrade github.com/niklasfasching/go-org v1.8.0 => v1.9.1

Fixes #13846

11 months agoAdd a key to the partialCached deadlock prevention
n1xx1 [Thu, 7 Aug 2025 09:17:14 +0000 (11:17 +0200)]
Add a key to the partialCached deadlock prevention

Fixes #13889

11 months agotransform: Add support for "format" option in transform.Unmarshal
n1xx1 [Tue, 5 Aug 2025 20:19:51 +0000 (22:19 +0200)]
transform: Add support for "format" option in transform.Unmarshal

Fixes #13887

11 months agoSkip flakey test on CI
Bjørn Erik Pedersen [Tue, 5 Aug 2025 08:50:14 +0000 (10:50 +0200)]
Skip flakey test on CI

12 months agoreleaser: Prepare repository for 0.149.0-DEV
hugoreleaser [Sun, 27 Jul 2025 12:59:26 +0000 (12:59 +0000)]
releaser: Prepare repository for 0.149.0-DEV

[ci skip]

12 months agoreleaser: Bump versions for release of 0.148.2
hugoreleaser [Sun, 27 Jul 2025 12:43:24 +0000 (12:43 +0000)]
releaser: Bump versions for release of 0.148.2

[ci skip]

12 months agotpl: Add test for recent template selection regression
Bjørn Erik Pedersen [Sun, 27 Jul 2025 10:20:24 +0000 (12:20 +0200)]
tpl: Add test for recent template selection regression

Closes #13868

Co-authored-by: Joe Mooring <joe.mooring@veriphor.com>
12 months agoRevert "hugolib: Honor implicit "page" type during template selection"
Bjørn Erik Pedersen [Sun, 27 Jul 2025 10:18:13 +0000 (12:18 +0200)]
Revert "hugolib: Honor implicit "page" type during template selection"

This reverts commit cfc8d315b4f1a21c3daed0f9e78b7edb19f298d1.

See #13868

12 months agoFix regression with hyphenated codeblock templates, e.g. render-codeblock-go-html...
Bjørn Erik Pedersen [Sun, 27 Jul 2025 10:02:21 +0000 (12:02 +0200)]
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>
12 months agocommands: Avoid full browser refresh on simple CSS changes
Bjørn Erik Pedersen [Sun, 27 Jul 2025 09:58:49 +0000 (11:58 +0200)]
commands: Avoid full browser refresh on simple CSS changes

12 months agoreleaser: Prepare repository for 0.149.0-DEV
hugoreleaser [Fri, 11 Jul 2025 13:13:44 +0000 (13:13 +0000)]
releaser: Prepare repository for 0.149.0-DEV

[ci skip]

12 months agoreleaser: Bump versions for release of 0.148.1
hugoreleaser [Fri, 11 Jul 2025 12:56:21 +0000 (12:56 +0000)]
releaser: Bump versions for release of 0.148.1

[ci skip]

12 months agoFix assignment to entry in nil map
Bjørn Erik Pedersen [Thu, 10 Jul 2025 14:28:36 +0000 (16:28 +0200)]
Fix assignment to entry in nil map

Fixes #13853

12 months agodeps: Downgrade github.com/niklasfasching/go-org v1.9.0 => v1.8.0
Bjørn Erik Pedersen [Thu, 10 Jul 2025 10:11:28 +0000 (12:11 +0200)]
deps: Downgrade github.com/niklasfasching/go-org v1.9.0 => v1.8.0

See #13846

12 months agoreleaser: Prepare repository for 0.149.0-DEV
hugoreleaser [Tue, 8 Jul 2025 13:51:56 +0000 (13:51 +0000)]
releaser: Prepare repository for 0.149.0-DEV

[ci skip]

12 months agoreleaser: Bump versions for release of 0.148.0
hugoreleaser [Tue, 8 Jul 2025 13:34:49 +0000 (13:34 +0000)]
releaser: Bump versions for release of 0.148.0

[ci skip]

12 months agoAdd Ancestors (plural) method to GitInfo, rename Ancestor field to Parent
Bjørn Erik Pedersen [Mon, 7 Jul 2025 18:20:42 +0000 (20:20 +0200)]
Add Ancestors (plural) method to GitInfo, rename Ancestor field to Parent

Fixes #13839

12 months agobuild(deps): bump github.com/evanw/esbuild from 0.25.5 to 0.25.6
dependabot[bot] [Tue, 8 Jul 2025 08:54:15 +0000 (08:54 +0000)]
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>
12 months agoAllow creating home pages from content adapters
Bjørn Erik Pedersen [Sun, 15 Jun 2025 09:19:27 +0000 (11:19 +0200)]
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.

12 months agobuild(deps): bump github.com/olekukonko/tablewriter from 1.0.7 to 1.0.8
dependabot[bot] [Mon, 7 Jul 2025 12:04:39 +0000 (12:04 +0000)]
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>
12 months agoRemove the internal GitInfo type and make Page.GitInf() return a pointer
Bjørn Erik Pedersen [Mon, 7 Jul 2025 11:03:57 +0000 (13:03 +0200)]
Remove the internal GitInfo type and make Page.GitInf() return a pointer

See #5693

12 months agosource: Expose Ancestor in GitInfo
Jens Broekens [Wed, 26 Mar 2025 19:12:48 +0000 (20:12 +0100)]
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>
12 months agoMerge commit 'bb147f91ee9078e6a55e8c32ab4b2e5dbc5cee45'
Bjørn Erik Pedersen [Mon, 7 Jul 2025 11:17:48 +0000 (13:17 +0200)]
Merge commit 'bb147f91ee9078e6a55e8c32ab4b2e5dbc5cee45'

12 months agoSquashed 'docs/' changes from b654fcba0..60dd993a6
Bjørn Erik Pedersen [Mon, 7 Jul 2025 11:16:31 +0000 (13:16 +0200)]
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: 60dd993a651f1b58c5dabf0e3896f1e96bb846ff

12 months agoconfig: Increase test coverage
Ruslan Semagin [Thu, 29 May 2025 13:01:21 +0000 (16:01 +0300)]
config: Increase test coverage

12 months agobuild(deps): bump github.com/niklasfasching/go-org from 1.8.0 to 1.9.0
dependabot[bot] [Fri, 4 Jul 2025 08:56:30 +0000 (08:56 +0000)]
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>
12 months agobuild(deps): bump github.com/alecthomas/chroma/v2 from 2.18.0 to 2.19.0
dependabot[bot] [Fri, 4 Jul 2025 08:56:42 +0000 (08:56 +0000)]
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>
12 months agomarkup/goldmark: Change link and image render hook enablement to enums
Joe Mooring [Sat, 21 Jun 2025 13:41:08 +0000 (06:41 -0700)]
markup/goldmark: Change link and image render hook enablement to enums

Closes #13535

12 months agoFix some uglyURLs issues for home, section and taxonomy kind (note)
Bjørn Erik Pedersen [Sat, 5 Jul 2025 10:13:34 +0000 (12:13 +0200)]
Fix some uglyURLs issues for home, section and taxonomy kind (note)

Fixes #4428
Fixes #7497

Co-authored-by: Joe Mooring <joe.mooring@veriphor.com>
12 months agoFix branch paths when OutputFormat.Path is configured (note)
Bjørn Erik Pedersen [Sat, 5 Jul 2025 09:33:52 +0000 (11:33 +0200)]
Fix branch paths when OutputFormat.Path is configured (note)

Fixes #13829

Co-authored-by: Joe Mooring <joe.mooring@veriphor.com>
12 months agoresources/page: Allow full datetime prefix in filenames
Joe Mooring [Fri, 4 Jul 2025 18:29:35 +0000 (11:29 -0700)]
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

12 months agobuild(deps): bump golang.org/x/tools from 0.32.0 to 0.34.0
dependabot[bot] [Fri, 13 Jun 2025 13:35:24 +0000 (13:35 +0000)]
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>
12 months agohugolib: Honor implicit "page" type during template selection
Joe Mooring [Wed, 2 Jul 2025 10:05:40 +0000 (03:05 -0700)]
hugolib: Honor implicit "page" type during template selection

Closes #13826

12 months agodeploy: walkLocal worker pool for performance
David Jones [Sun, 29 Jun 2025 14:41:56 +0000 (15:41 +0100)]
deploy: walkLocal worker pool for performance

13 months agoreleaser: Prepare repository for 0.148.0-DEV
hugoreleaser [Mon, 23 Jun 2025 08:38:21 +0000 (08:38 +0000)]
releaser: Prepare repository for 0.148.0-DEV

[ci skip]

13 months agoreleaser: Bump versions for release of 0.147.9
hugoreleaser [Mon, 23 Jun 2025 08:22:20 +0000 (08:22 +0000)]
releaser: Bump versions for release of 0.147.9

[ci skip]

13 months agoRemove WARN with false negatives
Bjørn Erik Pedersen [Sun, 22 Jun 2025 11:07:34 +0000 (13:07 +0200)]
Remove WARN with false negatives

Fixes #13806

13 months agoresources/page: Make sure a map is always initialized
Bjørn Erik Pedersen [Thu, 19 Jun 2025 17:52:08 +0000 (19:52 +0200)]
resources/page: Make sure a map is always initialized

Fixes #13810

13 months agotpl/tplimpl: Copy embedded HTML table render hook to each output format
Joe Mooring [Fri, 20 Jun 2025 17:42:56 +0000 (10:42 -0700)]
tpl/tplimpl: Copy embedded HTML table render hook to each output format

Closes #13351

13 months agotpl/tplimpl: Change resources.GetRemote errors to suppressible warnings
Joe Mooring [Tue, 17 Jun 2025 14:35:14 +0000 (07:35 -0700)]
tpl/tplimpl: Change resources.GetRemote errors to suppressible warnings

Closes #13803

13 months agobuild(deps): bump google.golang.org/api from 0.221.0 to 0.237.0
dependabot[bot] [Fri, 13 Jun 2025 10:19:20 +0000 (10:19 +0000)]
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>
13 months agohugolib: Remove test for deprecated future
Bjørn Erik Pedersen [Fri, 13 Jun 2025 10:17:06 +0000 (12:17 +0200)]
hugolib: Remove test for deprecated future

13 months agobuild(deps): bump github.com/aws/aws-sdk-go-v2 from 1.36.1 to 1.36.4
dependabot[bot] [Fri, 13 Jun 2025 08:06:58 +0000 (08:06 +0000)]
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>
13 months agobuild(deps): bump golang.org/x/image from 0.27.0 to 0.28.0
dependabot[bot] [Thu, 12 Jun 2025 08:15:10 +0000 (08:15 +0000)]
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>