]> git.maquefel.me Git - brevno-suite/hugo/log
brevno-suite/hugo
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>
13 months agodeps: Upgrade github.com/spf13/cast v1.8.0 => v1.9.2
Joe Mooring [Tue, 10 Jun 2025 20:44:43 +0000 (13:44 -0700)]
deps: Upgrade github.com/spf13/cast v1.8.0 => v1.9.2

13 months agocommon/terminal: Enable color output on windows
Joe Mooring [Sun, 8 Jun 2025 23:48:49 +0000 (16:48 -0700)]
common/terminal: Enable color output on windows

Closes #8209

13 months agoreleaser: Prepare repository for 0.148.0-DEV
hugoreleaser [Sat, 7 Jun 2025 13:13:56 +0000 (13:13 +0000)]
releaser: Prepare repository for 0.148.0-DEV

[ci skip]

13 months agoreleaser: Bump versions for release of 0.147.8
hugoreleaser [Sat, 7 Jun 2025 12:59:52 +0000 (12:59 +0000)]
releaser: Bump versions for release of 0.147.8

[ci skip]

13 months agohugolib: Emit ignorable warning when home page is a leaf bundle
Joe Mooring [Fri, 6 Jun 2025 20:21:41 +0000 (13:21 -0700)]
hugolib: Emit ignorable warning when home page is a leaf bundle

Closes #13538

13 months agodockerfile: Update Alpine
Bjørn Erik Pedersen [Fri, 6 Jun 2025 06:16:30 +0000 (08:16 +0200)]
dockerfile: Update Alpine

Closes #13783

13 months agodockerfile: Update Go version
Bjørn Erik Pedersen [Wed, 4 Jun 2025 14:52:17 +0000 (16:52 +0200)]
dockerfile: Update Go version

FIxes #13780

13 months agobuild(deps): bump github.com/evanw/esbuild from 0.25.3 to 0.25.5
dependabot[bot] [Tue, 3 Jun 2025 08:08:29 +0000 (08:08 +0000)]
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>
13 months agobuild(deps): bump github.com/niklasfasching/go-org from 1.7.0 to 1.8.0
dependabot[bot] [Tue, 3 Jun 2025 08:08:36 +0000 (08:08 +0000)]
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>
13 months agobuild(deps): bump golang.org/x/net from 0.39.0 to 0.40.0
dependabot[bot] [Mon, 2 Jun 2025 14:38:21 +0000 (14:38 +0000)]
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>
13 months agobuild(deps): bump github.com/yuin/goldmark from 1.7.11 to 1.7.12
dependabot[bot] [Mon, 2 Jun 2025 14:37:36 +0000 (14:37 +0000)]
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>
13 months agobuild(deps): bump github.com/tdewolff/minify/v2 from 2.23.5 to 2.23.8
dependabot[bot] [Fri, 30 May 2025 08:45:56 +0000 (08:45 +0000)]
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>
13 months agoall: Replace _build with build in tests
Bjørn Erik Pedersen [Mon, 2 Jun 2025 10:44:06 +0000 (12:44 +0200)]
all: Replace _build with build in tests

_build is deprecated and now shows up as warning.

13 months agoreleaser: Prepare repository for 0.148.0-DEV
hugoreleaser [Sat, 31 May 2025 12:55:24 +0000 (12:55 +0000)]
releaser: Prepare repository for 0.148.0-DEV

[ci skip]

13 months agoreleaser: Bump versions for release of 0.147.7
hugoreleaser [Sat, 31 May 2025 12:41:12 +0000 (12:41 +0000)]
releaser: Bump versions for release of 0.147.7

[ci skip]

13 months agoFix language handling in shortcode templates
Bjørn Erik Pedersen [Sat, 31 May 2025 08:06:13 +0000 (10:06 +0200)]
Fix language handling in shortcode templates

Fixes #13767

13 months agoHandle KaTeX warnings (#13760)
Bjørn Erik Pedersen [Fri, 30 May 2025 18:57:54 +0000 (20:57 +0200)]
Handle KaTeX warnings (#13760)

Co-authored-by: Joe Mooring <joe.mooring@veriphor.com>
Fixes #13735

13 months agobuild(deps): bump golang.org/x/image from 0.26.0 to 0.27.0
dependabot[bot] [Fri, 30 May 2025 10:51:52 +0000 (10:51 +0000)]
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>
13 months agobuild(deps): bump golang.org/x/text from 0.24.0 to 0.25.0
dependabot[bot] [Fri, 30 May 2025 08:45:47 +0000 (08:45 +0000)]
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>
13 months agobuild(deps): bump github.com/spf13/cast from 1.7.1 to 1.8.0
dependabot[bot] [Thu, 29 May 2025 20:15:22 +0000 (20:15 +0000)]
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>
13 months agobuild(deps): bump github.com/alecthomas/chroma/v2 from 2.17.2 to 2.18.0
dependabot[bot] [Thu, 29 May 2025 08:49:55 +0000 (08:49 +0000)]
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>
13 months agoresources/page: Respect disablePathToLower for permalink tokens
Joe Mooring [Thu, 29 May 2025 04:57:48 +0000 (21:57 -0700)]
resources/page: Respect disablePathToLower for permalink tokens

Fixes #13755

13 months agocommon/collections: Increase test coverage
Ruslan Semagin [Tue, 27 May 2025 12:17:21 +0000 (15:17 +0300)]
common/collections: Increase test coverage

14 months agoparser/pageparser: Add coverage for all IsX methods of Item
Ruslan Semagin [Mon, 26 May 2025 14:39:48 +0000 (17:39 +0300)]
parser/pageparser: Add coverage for all IsX methods of Item

Added tests for all boolean methods on Item, increasing overall code coverage.

14 months agoresources: Remove unused interface
Bjørn Erik Pedersen [Wed, 28 May 2025 09:57:36 +0000 (11:57 +0200)]
resources: Remove unused interface

14 months agoMake sure that unreferenced but changed bundle resources gets republished
Bjørn Erik Pedersen [Wed, 28 May 2025 07:18:16 +0000 (09:18 +0200)]
Make sure that unreferenced but changed bundle resources gets republished

Fixes #13748

14 months agodeps: Upgrade github.com/olekukonko/tablewriter v0.0.5 => v1.0.7
Bjørn Erik Pedersen [Wed, 28 May 2025 10:15:17 +0000 (12:15 +0200)]
deps: Upgrade github.com/olekukonko/tablewriter v0.0.5 => v1.0.7

14 months agoreleaser: Prepare repository for 0.148.0-DEV
hugoreleaser [Tue, 27 May 2025 11:31:53 +0000 (11:31 +0000)]
releaser: Prepare repository for 0.148.0-DEV

[ci skip]

14 months agoreleaser: Bump versions for release of 0.147.6
hugoreleaser [Tue, 27 May 2025 11:17:16 +0000 (11:17 +0000)]
releaser: Bump versions for release of 0.147.6

[ci skip]

14 months agoImprove warning message on superfluous prefix when using function 'partials.Include'
Andreas Deininger [Mon, 26 May 2025 15:40:02 +0000 (17:40 +0200)]
Improve warning message on superfluous prefix when using function 'partials.Include'

14 months agoFix recent regression with cascading of params to content adapters
Bjørn Erik Pedersen [Mon, 26 May 2025 16:12:32 +0000 (18:12 +0200)]
Fix recent regression with cascading of params to content adapters

Fixes #13743

14 months agoFix it so e.g. de in layouts/_shortcodes/de.html is not interpreted as a language...
Bjørn Erik Pedersen [Mon, 26 May 2025 08:22:13 +0000 (10:22 +0200)]
Fix it so e.g. de in layouts/_shortcodes/de.html is not interpreted as a language code

Fixes #13740

14 months agocommands: Make sure the browser gets refreshed on changes when --disableFastRender...
Bjørn Erik Pedersen [Fri, 23 May 2025 10:03:41 +0000 (12:03 +0200)]
commands: Make sure the browser gets refreshed on changes when --disableFastRender is set

Fixes #13727

14 months agotpl/transform: Expose the KaTeX strict option
Joe Mooring [Fri, 23 May 2025 15:22:25 +0000 (08:22 -0700)]
tpl/transform: Expose the KaTeX strict option

Closes #13729

14 months agoreleaser: Prepare repository for 0.148.0-DEV
hugoreleaser [Thu, 22 May 2025 11:51:47 +0000 (11:51 +0000)]
releaser: Prepare repository for 0.148.0-DEV

[ci skip]

14 months agoreleaser: Bump versions for release of 0.147.5
hugoreleaser [Thu, 22 May 2025 11:37:19 +0000 (11:37 +0000)]
releaser: Bump versions for release of 0.147.5

[ci skip]

14 months agoMerge branch 'release-0.147.4'
Bjørn Erik Pedersen [Thu, 22 May 2025 11:19:34 +0000 (13:19 +0200)]
Merge branch 'release-0.147.4'

14 months agoFix live reload when editing inline partials
Bjørn Erik Pedersen [Wed, 21 May 2025 09:25:32 +0000 (11:25 +0200)]
Fix live reload when editing inline partials

Fixes #13723

14 months agobuild(deps): bump github.com/tdewolff/minify/v2 from 2.20.37 to 2.23.5
dependabot[bot] [Fri, 9 May 2025 18:01:19 +0000 (18:01 +0000)]
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>
14 months agoreleaser: Prepare repository for 0.148.0-DEV
hugoreleaser [Tue, 20 May 2025 10:55:43 +0000 (10:55 +0000)]
releaser: Prepare repository for 0.148.0-DEV

[ci skip]

14 months agoreleaser: Bump versions for release of 0.147.4
hugoreleaser [Tue, 20 May 2025 10:41:19 +0000 (10:41 +0000)]
releaser: Bump versions for release of 0.147.4

[ci skip]

14 months agoFix it so css.TailwindCSS inlineImports options isn't always enabled
Bjørn Erik Pedersen [Mon, 19 May 2025 10:08:40 +0000 (12:08 +0200)]
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

14 months agotpl: Add a test case
Bjørn Erik Pedersen [Sat, 17 May 2025 11:34:37 +0000 (13:34 +0200)]
tpl: Add a test case

I'm not able to reproduce this, but leaving it in.

Closes #13699

14 months agotpl: Narrow down the usage of plain text shortcodes when rendering HTML
Bjørn Erik Pedersen [Fri, 16 May 2025 08:36:05 +0000 (10:36 +0200)]
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

14 months agotpl: Fix theme overrides when theme has old layout setup (e.g. _default)
Bjørn Erik Pedersen [Fri, 16 May 2025 07:26:17 +0000 (09:26 +0200)]
tpl: Fix theme overrides when theme has old layout setup (e.g. _default)

Fixes #13715

14 months agoreleaser: Prepare repository for 0.148.0-DEV
hugoreleaser [Mon, 12 May 2025 12:40:04 +0000 (12:40 +0000)]
releaser: Prepare repository for 0.148.0-DEV

[ci skip]

14 months agoreleaser: Bump versions for release of 0.147.3
hugoreleaser [Mon, 12 May 2025 12:25:03 +0000 (12:25 +0000)]
releaser: Bump versions for release of 0.147.3

[ci skip]

14 months agotpl/tplimpl: Change calls to simple versions of embedded shortcodes
Joe Mooring [Sun, 11 May 2025 18:39:42 +0000 (11:39 -0700)]
tpl/tplimpl: Change calls to simple versions of embedded shortcodes

Closes #13700

14 months agoUpdate README.md
Bjørn Erik Pedersen [Mon, 12 May 2025 10:10:27 +0000 (12:10 +0200)]
Update README.md

14 months agoconfig: Fix env override of slices
Bjørn Erik Pedersen [Sun, 11 May 2025 09:54:34 +0000 (11:54 +0200)]
config: Fix env override of slices

Fixes #13707

14 months agoFix/implement cascade for content adapters
Bjørn Erik Pedersen [Wed, 7 May 2025 08:40:39 +0000 (10:40 +0200)]
Fix/implement cascade for content adapters

Fixes #13692

14 months agocommands: Fix description of new theme commands
Joe Mooring [Fri, 9 May 2025 15:45:06 +0000 (08:45 -0700)]
commands: Fix description of new theme commands

Fixes #13701

14 months agotpl/tplimpl: Fix vimeo shortcode test to accommodate API changes
Joe Mooring [Fri, 9 May 2025 17:02:00 +0000 (10:02 -0700)]
tpl/tplimpl: Fix vimeo shortcode test to accommodate API changes

Fixes #13687

14 months agotpl/math: Add MaxInt64 function
Joe Mooring [Tue, 6 May 2025 18:57:03 +0000 (11:57 -0700)]
tpl/math: Add MaxInt64 function

Closes #13693

14 months agoreleaser: Prepare repository for 0.148.0-DEV
hugoreleaser [Tue, 6 May 2025 11:33:36 +0000 (11:33 +0000)]
releaser: Prepare repository for 0.148.0-DEV

[ci skip]

14 months agoreleaser: Bump versions for release of 0.147.2
hugoreleaser [Tue, 6 May 2025 11:18:55 +0000 (11:18 +0000)]
releaser: Bump versions for release of 0.147.2

[ci skip]

14 months agoFix handling of "outputs" from content adapter pages
Bjørn Erik Pedersen [Tue, 6 May 2025 07:09:05 +0000 (09:09 +0200)]
Fix handling of "outputs" from content adapter pages

Fixes #13689

14 months agotpl: Fix case issue in templates.Exists
Bjørn Erik Pedersen [Mon, 5 May 2025 08:11:28 +0000 (10:11 +0200)]
tpl: Fix case issue in templates.Exists

Fixes #13684

14 months agoconfig: Add some more merge tests
Bjørn Erik Pedersen [Fri, 2 May 2025 07:35:19 +0000 (09:35 +0200)]
config: Add some more merge tests

See #13681

14 months agoreleaser: Prepare repository for 0.148.0-DEV
hugoreleaser [Thu, 1 May 2025 14:04:58 +0000 (14:04 +0000)]
releaser: Prepare repository for 0.148.0-DEV

[ci skip]

14 months agoreleaser: Bump versions for release of 0.147.1
hugoreleaser [Thu, 1 May 2025 13:50:04 +0000 (13:50 +0000)]
releaser: Bump versions for release of 0.147.1

[ci skip]

14 months agobuild(deps): bump github.com/alecthomas/chroma/v2 from 2.17.0 to 2.17.2
dependabot[bot] [Thu, 1 May 2025 08:56:25 +0000 (08:56 +0000)]
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>
14 months agobuild(deps): bump github.com/getkin/kin-openapi from 0.131.0 to 0.132.0
dependabot[bot] [Thu, 1 May 2025 08:56:36 +0000 (08:56 +0000)]
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>
14 months agotpl: Add some more test cases
Bjørn Erik Pedersen [Thu, 1 May 2025 07:36:03 +0000 (09:36 +0200)]
tpl: Add some more test cases

See #13672
See #13668

14 months agobuild(deps): bump github.com/yuin/goldmark from 1.7.10 to 1.7.11
dependabot[bot] [Mon, 28 Apr 2025 08:25:13 +0000 (08:25 +0000)]
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>
14 months agotpl: Fix overlapping layout sections
Bjørn Erik Pedersen [Wed, 30 Apr 2025 17:49:42 +0000 (19:49 +0200)]
tpl: Fix overlapping layout sections

Fixes #13672

14 months agoFix it so the owning taxonomy gets rerendered in server when new tags are added
Bjørn Erik Pedersen [Sun, 27 Apr 2025 16:58:25 +0000 (18:58 +0200)]
Fix it so the owning taxonomy gets rerendered in server when new tags are added

Updates #13648

15 months agocommands/server: Display correct multihost language in console
Joe Mooring [Sun, 27 Apr 2025 12:50:51 +0000 (05:50 -0700)]
commands/server: Display correct multihost language in console

Fixes #12564

15 months agohugolib: Use new build key in content placeholder
Joe Mooring [Sat, 26 Apr 2025 14:04:50 +0000 (07:04 -0700)]
hugolib: Use new build key in content placeholder

Fixes #13655

15 months agoreleaser: Prepare repository for 0.148.0-DEV
hugoreleaser [Fri, 25 Apr 2025 15:41:01 +0000 (15:41 +0000)]
releaser: Prepare repository for 0.148.0-DEV

[ci skip]

15 months agoreleaser: Bump versions for release of 0.147.0
hugoreleaser [Fri, 25 Apr 2025 15:26:28 +0000 (15:26 +0000)]
releaser: Bump versions for release of 0.147.0

[ci skip]

15 months agotpl: Fix it so we always prefer internal codeblock rendering over render-codeblock...
Bjørn Erik Pedersen [Fri, 25 Apr 2025 06:31:26 +0000 (08:31 +0200)]
tpl: Fix it so we always prefer internal codeblock rendering over render-codeblock-foo.html and similar

Fixes #13651

15 months agotpl/tplimpl: Fix allowFullScreen option in Vimeo and YouTube shortcodes
Joe Mooring [Thu, 24 Apr 2025 21:14:46 +0000 (14:14 -0700)]
tpl/tplimpl: Fix allowFullScreen option in Vimeo and YouTube shortcodes

Closes #13650

15 months agocreate/skeletons: Adjust template names in theme skeleton
Joe Mooring [Thu, 24 Apr 2025 14:48:30 +0000 (07:48 -0700)]
create/skeletons: Adjust template names in theme skeleton

15 months agotpl: Remove some unreached code branches
Bjørn Erik Pedersen [Mon, 14 Apr 2025 12:47:05 +0000 (14:47 +0200)]
tpl: Remove some unreached code branches

15 months agoimages: Add some test cases for aligny on images.Text
Bjørn Erik Pedersen [Thu, 24 Apr 2025 08:29:31 +0000 (10:29 +0200)]
images: Add some test cases for aligny on images.Text

See #13414

15 months agoimages: Add option for vertical alignment to images.Text
Pranshu Gaba [Mon, 17 Feb 2025 23:51:42 +0000 (05:21 +0530)]
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

15 months agoconfig: Fix _merge issue when key doesn't exist on the left side
Bjørn Erik Pedersen [Wed, 23 Apr 2025 14:27:14 +0000 (16:27 +0200)]
config: Fix _merge issue when key doesn't exist on the left side

Fixes #13643
Fixes #13646

15 months agoMerge commit 'b3d87dd0fd746f07f9afa6e6a2969aea41da6a38'
Bjørn Erik Pedersen [Thu, 24 Apr 2025 08:23:16 +0000 (10:23 +0200)]
Merge commit 'b3d87dd0fd746f07f9afa6e6a2969aea41da6a38'

15 months agoSquashed 'docs/' changes from dc7a9ae12..b654fcba0
Bjørn Erik Pedersen [Thu, 24 Apr 2025 08:23:16 +0000 (10:23 +0200)]
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: b654fcba0d4385da1e47179ef3763f277f044242