]> git.maquefel.me Git - brevno-suite/hugo/log
brevno-suite/hugo
20 months agoUpdate README.md
Joe Mooring [Sat, 2 Nov 2024 04:10:52 +0000 (21:10 -0700)]
Update README.md

20 months agoresources: Address Dart Sass deprecation of global built-in functions
Joe Mooring [Fri, 18 Oct 2024 23:10:46 +0000 (16:10 -0700)]
resources: Address Dart Sass deprecation of global built-in functions

See https://github.com/sass/dart-sass/releases/tag/1.80.0

Fixes #12961

20 months agogithub: Adjust test workflow to install Dart Sass v1.80.3
Joe Mooring [Sat, 19 Oct 2024 17:28:37 +0000 (10:28 -0700)]
github: Adjust test workflow to install Dart Sass v1.80.3

20 months agodeps: Upgrade github.com/bep/godartsass/v2 v2.1.0 => v2.2.0
Bjørn Erik Pedersen [Fri, 1 Nov 2024 10:43:36 +0000 (11:43 +0100)]
deps: Upgrade github.com/bep/godartsass/v2 v2.1.0 => v2.2.0

20 months agoUpdate README.md
Bjørn Erik Pedersen [Fri, 1 Nov 2024 09:16:05 +0000 (10:16 +0100)]
Update README.md

20 months agoBuild without the deploy feature by default
Bjørn Erik Pedersen [Wed, 30 Oct 2024 08:29:38 +0000 (09:29 +0100)]
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

21 months agodeps: Upgrade github.com/bep/lazycache v0.6.0 => v0.7.0
Bjørn Erik Pedersen [Sun, 27 Oct 2024 09:31:59 +0000 (10:31 +0100)]
deps: Upgrade github.com/bep/lazycache v0.6.0 => v0.7.0

21 months agodynacache: Fix potential deadlocks on panics in GetOrCreate
Bjørn Erik Pedersen [Sat, 26 Oct 2024 13:36:02 +0000 (15:36 +0200)]
dynacache: Fix potential deadlocks on panics in GetOrCreate

21 months agoreleaser: Prepare repository for 0.137.0-DEV
hugoreleaser [Thu, 24 Oct 2024 12:41:02 +0000 (12:41 +0000)]
releaser: Prepare repository for 0.137.0-DEV

[ci skip]

21 months agoreleaser: Bump versions for release of 0.136.5
hugoreleaser [Thu, 24 Oct 2024 12:26:27 +0000 (12:26 +0000)]
releaser: Bump versions for release of 0.136.5

[ci skip]

21 months agohugolib/commands: Fix stuck server error issues
Bjørn Erik Pedersen [Wed, 23 Oct 2024 17:26:13 +0000 (19:26 +0200)]
hugolib/commands: Fix stuck server error issues

Fixes #11378

21 months agotpl/transform: Revert unmarshal whitespace removal
Joe Mooring [Tue, 22 Oct 2024 00:46:53 +0000 (17:46 -0700)]
tpl/transform: Revert unmarshal whitespace removal

Fixes #12977

21 months agoreleaser: Prepare repository for 0.137.0-DEV
hugoreleaser [Mon, 21 Oct 2024 13:46:41 +0000 (13:46 +0000)]
releaser: Prepare repository for 0.137.0-DEV

[ci skip]

21 months agoreleaser: Bump versions for release of 0.136.3
hugoreleaser [Mon, 21 Oct 2024 13:31:54 +0000 (13:31 +0000)]
releaser: Bump versions for release of 0.136.3

[ci skip]

21 months agodocker: Fix permission issues in Dockerfile
David Karlsson [Mon, 21 Oct 2024 13:28:36 +0000 (15:28 +0200)]
docker: Fix permission issues in Dockerfile

Closes #12971
Closes #12970

21 months agoMake sure that HugoSites is always closed when done
Bjørn Erik Pedersen [Sun, 20 Oct 2024 09:25:16 +0000 (11:25 +0200)]
Make sure that HugoSites is always closed when done

Including all the integration tests.

21 months agotpl/strings: Add TrimSpace function
Joe Mooring [Sat, 19 Oct 2024 18:13:20 +0000 (11:13 -0700)]
tpl/strings: Add TrimSpace function

Closes #12962

21 months agocommon/herrors: Fix the deferred error message cleaner regexp
Bjørn Erik Pedersen [Sat, 19 Oct 2024 08:00:01 +0000 (10:00 +0200)]
common/herrors: Fix the deferred error message cleaner regexp

Make it less gready.

21 months agotpl/transform: Don't fail on "no data to transform"
Bjørn Erik Pedersen [Fri, 18 Oct 2024 08:30:36 +0000 (10:30 +0200)]
tpl/transform: Don't fail on "no data to transform"

Fixes #12964

21 months agoreleaser: Prepare repository for 0.137.0-DEV
hugoreleaser [Thu, 17 Oct 2024 14:44:10 +0000 (14:44 +0000)]
releaser: Prepare repository for 0.137.0-DEV

[ci skip]

21 months agoreleaser: Bump versions for release of 0.136.2
hugoreleaser [Thu, 17 Oct 2024 14:30:05 +0000 (14:30 +0000)]
releaser: Bump versions for release of 0.136.2

[ci skip]

21 months agodocker: Fix Dart Sass ARM64 arch mismatch, /cache permissions
David Karlsson [Thu, 17 Oct 2024 13:42:41 +0000 (15:42 +0200)]
docker: Fix Dart Sass ARM64 arch mismatch, /cache permissions

Also improve the final build step.

Closes #12956
Closes #12957
Closes #12960

21 months agoreleaser: Prepare repository for 0.137.0-DEV
hugoreleaser [Wed, 16 Oct 2024 16:18:44 +0000 (16:18 +0000)]
releaser: Prepare repository for 0.137.0-DEV

[ci skip]

21 months agoreleaser: Bump versions for release of 0.136.1
hugoreleaser [Wed, 16 Oct 2024 16:05:18 +0000 (16:05 +0000)]
releaser: Bump versions for release of 0.136.1

[ci skip]

21 months agoNever sanitize when url set in front matter
Bjørn Erik Pedersen [Wed, 16 Oct 2024 14:59:12 +0000 (16:59 +0200)]
Never sanitize when url set in front matter

Fixes #12954

21 months agoRemove erroneously permalink validation
Bjørn Erik Pedersen [Wed, 16 Oct 2024 06:53:45 +0000 (08:53 +0200)]
Remove erroneously permalink validation

Fixes #12948

21 months agocreate/skeletons: Add delimiters to archetype front matter
Joe Mooring [Tue, 15 Oct 2024 17:05:06 +0000 (10:05 -0700)]
create/skeletons: Add delimiters to archetype front matter

Fixes #12945

21 months agoreleaser: Prepare repository for 0.137.0-DEV
hugoreleaser [Tue, 15 Oct 2024 13:31:16 +0000 (13:31 +0000)]
releaser: Prepare repository for 0.137.0-DEV

[ci skip]

21 months agoreleaser: Bump versions for release of 0.136.0
hugoreleaser [Tue, 15 Oct 2024 13:17:24 +0000 (13:17 +0000)]
releaser: Bump versions for release of 0.136.0

[ci skip]

21 months agocircleci: Use default docker image
Bjørn Erik Pedersen [Tue, 15 Oct 2024 13:15:12 +0000 (15:15 +0200)]
circleci: Use default docker image

21 months agodocs: Regen CLI docs
Bjørn Erik Pedersen [Tue, 15 Oct 2024 08:30:35 +0000 (10:30 +0200)]
docs: Regen CLI docs

21 months agoresources/page: Adjust the permalinks colon implementation a little
Bjørn Erik Pedersen [Tue, 15 Oct 2024 07:13:26 +0000 (09:13 +0200)]
resources/page: Adjust the permalinks colon implementation a little

Mostly to get back to an attribute regexp that's reasonably simle to read/understand.

Updates #12918

21 months agoresources/page: Allow colons in permalinks to be escaped
n1xx1 [Mon, 14 Oct 2024 10:08:31 +0000 (12:08 +0200)]
resources/page: Allow colons in permalinks to be escaped

Updates #12918

21 months agocommands: Use consistent style when describing subcommands
Rohan Hasabe [Mon, 14 Oct 2024 02:10:38 +0000 (22:10 -0400)]
commands: Use consistent style when describing subcommands

Closes #12897

Change-Id: Ib27a4a7b540d45243e6252db769d4b9fb7447718
Signed-off-by: Rohan Hasabe <rohanhasabe8@gmail.com>
21 months agobuild(deps): bump github.com/tetratelabs/wazero from 1.8.0 to 1.8.1
dependabot[bot] [Mon, 14 Oct 2024 12:55:19 +0000 (12:55 +0000)]
build(deps): bump github.com/tetratelabs/wazero from 1.8.0 to 1.8.1

Bumps [github.com/tetratelabs/wazero](https://github.com/tetratelabs/wazero) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/tetratelabs/wazero/releases)
- [Commits](https://github.com/tetratelabs/wazero/compare/v1.8.0...v1.8.1)

---
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>
21 months agobuild(deps): bump golang.org/x/image from 0.20.0 to 0.21.0
dependabot[bot] [Mon, 14 Oct 2024 08:43:25 +0000 (08:43 +0000)]
build(deps): bump golang.org/x/image from 0.20.0 to 0.21.0

Bumps [golang.org/x/image](https://github.com/golang/image) from 0.20.0 to 0.21.0.
- [Commits](https://github.com/golang/image/compare/v0.20.0...v0.21.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>
21 months agobuild(deps): bump github.com/yuin/goldmark-emoji from 1.0.3 to 1.0.4
dependabot[bot] [Mon, 14 Oct 2024 08:43:12 +0000 (08:43 +0000)]
build(deps): bump github.com/yuin/goldmark-emoji from 1.0.3 to 1.0.4

Bumps [github.com/yuin/goldmark-emoji](https://github.com/yuin/goldmark-emoji) from 1.0.3 to 1.0.4.
- [Release notes](https://github.com/yuin/goldmark-emoji/releases)
- [Commits](https://github.com/yuin/goldmark-emoji/compare/v1.0.3...v1.0.4)

---
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>
21 months agoconfig: Imrove uglyurls section test
Bjørn Erik Pedersen [Mon, 14 Oct 2024 07:28:18 +0000 (09:28 +0200)]
config: Imrove uglyurls section test

Updates #12926

21 months agoconfig: Fix uglyurls map parse
Akkuman [Sat, 12 Oct 2024 07:48:19 +0000 (15:48 +0800)]
config: Fix uglyurls map parse

Fixes #12926

21 months agocreate/skeletons: Honor --format flag when creating default archetype
Joe Mooring [Sat, 12 Oct 2024 19:11:08 +0000 (12:11 -0700)]
create/skeletons: Honor --format flag when creating default archetype

Closes #12666

21 months agohugolib: Make .Site.Author deprecation warning clearer
Julia Evans [Sun, 13 Oct 2024 21:48:30 +0000 (17:48 -0400)]
hugolib: Make .Site.Author deprecation warning clearer

Fixes #12269

21 months agoUpgrade to latest Go version + Some Docker image improvements (note)
Bjørn Erik Pedersen [Wed, 9 Oct 2024 09:39:36 +0000 (11:39 +0200)]
Upgrade to latest Go version + Some Docker image improvements (note)

* Rename /site to /project
* Add ldflags
* Add go and node to the default image
* Add Dart Sass to the default image
* Build the extended version by default
* Add "npm i" install support with custom entry script override
* Adjust cache logic to speed up CGO rebuilds

Closes #12920
See #12885

21 months agoci: Build multi-platform image with cross-compilation
David Karlsson [Sun, 29 Sep 2024 17:30:04 +0000 (19:30 +0200)]
ci: Build multi-platform image with cross-compilation

The previous build workflow used emulation to build the Docker image,
which results in a somewhat complicated push-by-digest and merge
workflow to create a multi-platform image.

This commit changes the Docker build to use cross-compilation instead,
resulting in a faster and more straightforward build.

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
21 months agotpl/tplimpl: Trim descriptions rather than just chomp
Patrice Chalin [Sat, 12 Oct 2024 20:41:42 +0000 (16:41 -0400)]
tpl/tplimpl: Trim descriptions rather than just chomp

21 months agobuild(deps): bump golang.org/x/tools from 0.23.0 to 0.26.0
dependabot[bot] [Thu, 10 Oct 2024 08:26:16 +0000 (08:26 +0000)]
build(deps): bump golang.org/x/tools from 0.23.0 to 0.26.0

Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.23.0 to 0.26.0.
- [Release notes](https://github.com/golang/tools/releases)
- [Commits](https://github.com/golang/tools/compare/v0.23.0...v0.26.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>
21 months agobuild(deps): bump github.com/rogpeppe/go-internal from 1.12.0 to 1.13.1
dependabot[bot] [Mon, 30 Sep 2024 08:52:04 +0000 (08:52 +0000)]
build(deps): bump github.com/rogpeppe/go-internal from 1.12.0 to 1.13.1

Bumps [github.com/rogpeppe/go-internal](https://github.com/rogpeppe/go-internal) from 1.12.0 to 1.13.1.
- [Release notes](https://github.com/rogpeppe/go-internal/releases)
- [Commits](https://github.com/rogpeppe/go-internal/compare/v1.12.0...v1.13.1)

---
updated-dependencies:
- dependency-name: github.com/rogpeppe/go-internal
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
21 months agobuild(deps): bump github.com/evanw/esbuild from 0.23.1 to 0.24.0
dependabot[bot] [Mon, 30 Sep 2024 08:51:59 +0000 (08:51 +0000)]
build(deps): bump github.com/evanw/esbuild from 0.23.1 to 0.24.0

Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild) from 0.23.1 to 0.24.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.23.1...v0.24.0)

---
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>
21 months agobuild(deps): bump github.com/hairyhenderson/go-codeowners
dependabot[bot] [Mon, 30 Sep 2024 08:51:51 +0000 (08:51 +0000)]
build(deps): bump github.com/hairyhenderson/go-codeowners

Bumps [github.com/hairyhenderson/go-codeowners](https://github.com/hairyhenderson/go-codeowners) from 0.5.0 to 0.6.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.5.0...v0.6.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>
21 months agotailwind: Pin Tailwind 4 test to alpha 26 or later
Joe Mooring [Sun, 6 Oct 2024 18:40:14 +0000 (11:40 -0700)]
tailwind: Pin Tailwind 4 test to alpha 26 or later

21 months agoresources/page: Treat null dates as zero dates
Joe Mooring [Sun, 6 Oct 2024 18:02:19 +0000 (11:02 -0700)]
resources/page: Treat null dates as zero dates

Closes #12906

21 months agoresources/page: Improve front matter date validation
Joe Mooring [Sat, 5 Oct 2024 01:10:51 +0000 (18:10 -0700)]
resources/page: Improve front matter date validation

Improve the error message and treat empty strings as zero dates.

Closes #12898

21 months agocommands: Add "hugo build" as an alias for "hugo"
Bjørn Erik Pedersen [Mon, 30 Sep 2024 07:11:24 +0000 (09:11 +0200)]
commands: Add "hugo build" as an alias for "hugo"

Closes #11391

21 months agomarkup/goldmark: Change default cell alignment in table render hook
Joe Mooring [Sat, 28 Sep 2024 19:06:09 +0000 (12:06 -0700)]
markup/goldmark: Change default cell alignment in table render hook

Change the default table cell alignment from "left" to an empty string.

Closes #12886

21 months agotests: Address deprecation warnings and errors
Joe Mooring [Sat, 28 Sep 2024 20:15:53 +0000 (13:15 -0700)]
tests: Address deprecation warnings and errors

22 months agoreleaser: Prepare repository for 0.136.0-DEV
hugoreleaser [Fri, 27 Sep 2024 13:32:22 +0000 (13:32 +0000)]
releaser: Prepare repository for 0.136.0-DEV

[ci skip]

22 months agoreleaser: Bump versions for release of 0.135.0
hugoreleaser [Fri, 27 Sep 2024 13:17:08 +0000 (13:17 +0000)]
releaser: Bump versions for release of 0.135.0

[ci skip]

22 months agobuild(deps): bump golang.org/x/mod from 0.19.0 to 0.21.0
dependabot[bot] [Fri, 27 Sep 2024 11:02:06 +0000 (11:02 +0000)]
build(deps): bump golang.org/x/mod from 0.19.0 to 0.21.0

Bumps [golang.org/x/mod](https://github.com/golang/mod) from 0.19.0 to 0.21.0.
- [Commits](https://github.com/golang/mod/compare/v0.19.0...v0.21.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>
22 months agobuild(deps): bump github.com/bep/helpers from 0.4.0 to 0.5.0
dependabot[bot] [Fri, 20 Sep 2024 08:02:05 +0000 (08:02 +0000)]
build(deps): bump github.com/bep/helpers from 0.4.0 to 0.5.0

Bumps [github.com/bep/helpers](https://github.com/bep/helpers) from 0.4.0 to 0.5.0.
- [Release notes](https://github.com/bep/helpers/releases)
- [Commits](https://github.com/bep/helpers/compare/v0.4.0...v0.5.0)

---
updated-dependencies:
- dependency-name: github.com/bep/helpers
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
22 months agobuild(deps): bump golang.org/x/net from 0.28.0 to 0.29.0
dependabot[bot] [Fri, 27 Sep 2024 09:08:42 +0000 (09:08 +0000)]
build(deps): bump golang.org/x/net from 0.28.0 to 0.29.0

Bumps [golang.org/x/net](https://github.com/golang/net) from 0.28.0 to 0.29.0.
- [Commits](https://github.com/golang/net/compare/v0.28.0...v0.29.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>
22 months agoresources/page: Validate predefined front matter dates
Joe Mooring [Mon, 23 Sep 2024 21:53:07 +0000 (14:53 -0700)]
resources/page: Validate predefined front matter dates

Closes #10717

22 months agobuild(deps): bump golang.org/x/image from 0.19.0 to 0.20.0
dependabot[bot] [Thu, 19 Sep 2024 09:55:58 +0000 (09:55 +0000)]
build(deps): bump golang.org/x/image from 0.19.0 to 0.20.0

Bumps [golang.org/x/image](https://github.com/golang/image) from 0.19.0 to 0.20.0.
- [Commits](https://github.com/golang/image/compare/v0.19.0...v0.20.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>
22 months agogithub: Trigger image workflow on release.published
Bjørn Erik Pedersen [Fri, 27 Sep 2024 08:59:45 +0000 (10:59 +0200)]
github: Trigger image workflow on release.published

Updates #12753

22 months agotailwind: Pin Tailwind 4 test to alpha 24
Bjørn Erik Pedersen [Fri, 27 Sep 2024 08:35:47 +0000 (10:35 +0200)]
tailwind: Pin Tailwind 4 test to alpha 24

See #12880

22 months agotpl/compare: Use any data type for compare.Conditional condition
Joe Mooring [Fri, 20 Sep 2024 20:13:02 +0000 (13:13 -0700)]
tpl/compare: Use any data type for compare.Conditional condition

Improves #5792

22 months agodeps: Upgrade github.com/gobuffalo/flect v1.0.2 => v1.0.3
Khayyam Saleem [Sat, 21 Sep 2024 15:47:37 +0000 (11:47 -0400)]
deps: Upgrade github.com/gobuffalo/flect v1.0.2 => v1.0.3

Closes #12827

22 months agoreleaser: Prepare repository for 0.135.0-DEV
hugoreleaser [Thu, 19 Sep 2024 14:42:46 +0000 (14:42 +0000)]
releaser: Prepare repository for 0.135.0-DEV

[ci skip]

22 months agoreleaser: Bump versions for release of 0.134.3
hugoreleaser [Thu, 19 Sep 2024 14:28:20 +0000 (14:28 +0000)]
releaser: Bump versions for release of 0.134.3

[ci skip]

22 months agotpl: Remove RSS deprecation site.Author check
Bjørn Erik Pedersen [Thu, 19 Sep 2024 11:00:39 +0000 (13:00 +0200)]
tpl: Remove RSS deprecation site.Author check

The check itself creates a warning which I guess was not intended.

We could possibly make that work, but it has been deprecated since Hugo 0.98, so just remove the usage.

22 months agomodules: Improve console output on hugo mod init
Bjørn Erik Pedersen [Thu, 19 Sep 2024 09:40:48 +0000 (11:40 +0200)]
modules: Improve console output on hugo mod init

Replace some of the stderr output from the Go command to match the Hugo commands needed:

```
go: creating new go.mod: module github.com/bep/foo
hugo: to add module requirements and sums:
hugo mod tidy
```

See #11458

22 months agocommands: Ignore "module does not exist" errors in hugo mod init
Bjørn Erik Pedersen [Thu, 19 Sep 2024 08:53:39 +0000 (10:53 +0200)]
commands: Ignore "module does not exist" errors in hugo mod init

Closes #11458

22 months agoAdd exclusion for helix .bck files
David Else [Wed, 18 Sep 2024 08:53:18 +0000 (09:53 +0100)]
Add exclusion for helix .bck files

Updates #12677

22 months agohugolib: Move hugolib/site_new.go into hugolib/site.go
Bjørn Erik Pedersen [Tue, 17 Sep 2024 08:14:51 +0000 (10:14 +0200)]
hugolib: Move hugolib/site_new.go into hugolib/site.go

22 months agolibsass: Resolve directory paths to directory index files
Joe Mooring [Sun, 15 Sep 2024 22:10:37 +0000 (15:10 -0700)]
libsass: Resolve directory paths to directory index files

Closes #12851

22 months agodartsass: Resolve directory paths to directory index files
Joe Mooring [Fri, 13 Sep 2024 22:54:23 +0000 (15:54 -0700)]
dartsass: Resolve directory paths to directory index files

Closes #12849

22 months agointernal/warpc: Improve the JS plugin API
Bjørn Erik Pedersen [Thu, 12 Sep 2024 07:13:47 +0000 (09:13 +0200)]
internal/warpc: Improve the JS plugin API

* Move the error handling into commons and make sure the error returned also returns message errors
* Make the protocol version an int so it can be more easily compared

22 months agoreleaser: Prepare repository for 0.135.0-DEV
hugoreleaser [Tue, 10 Sep 2024 11:00:15 +0000 (11:00 +0000)]
releaser: Prepare repository for 0.135.0-DEV

[ci skip]

22 months agoreleaser: Bump versions for release of 0.134.2
hugoreleaser [Tue, 10 Sep 2024 10:46:33 +0000 (10:46 +0000)]
releaser: Bump versions for release of 0.134.2

[ci skip]

22 months agoDon't count HTML markup in auto summaries
Bjørn Erik Pedersen [Tue, 10 Sep 2024 06:54:03 +0000 (08:54 +0200)]
Don't count HTML markup in auto summaries

This commit also fixes a bug where a `</picture>` end tag was wrongly used to detect a end paragraph. This should be very rare, though.

Closes #12837

22 months agoreleaser: Prepare repository for 0.135.0-DEV
hugoreleaser [Thu, 5 Sep 2024 10:32:40 +0000 (10:32 +0000)]
releaser: Prepare repository for 0.135.0-DEV

[ci skip]

22 months agoreleaser: Bump versions for release of 0.134.1
hugoreleaser [Thu, 5 Sep 2024 10:17:50 +0000 (10:17 +0000)]
releaser: Bump versions for release of 0.134.1

[ci skip]

22 months agoFix stray end p tag in Obsidian callout titles
Bjørn Erik Pedersen [Thu, 5 Sep 2024 08:46:47 +0000 (10:46 +0200)]
Fix stray end p tag in Obsidian callout titles

Also remove test references to deprecated funcs now in ERROR.

Closes #12828

22 months agoMake ContentWithoutSummary return Content when summary is fetched from front matter
Bjørn Erik Pedersen [Wed, 4 Sep 2024 17:07:59 +0000 (19:07 +0200)]
Make ContentWithoutSummary return Content when summary is fetched from front matter

Fixes #12822

22 months agoMerge commit '39fd3b557014e339bc6c68a7ff34a7734a735ee0'
Bjørn Erik Pedersen [Wed, 4 Sep 2024 16:57:34 +0000 (18:57 +0200)]
Merge commit '39fd3b557014e339bc6c68a7ff34a7734a735ee0'

22 months agoSquashed 'docs/' changes from a49697e53..ccb1b97cb
Bjørn Erik Pedersen [Wed, 4 Sep 2024 16:52:05 +0000 (18:52 +0200)]
Squashed 'docs/' changes from a49697e53..ccb1b97cb

ccb1b97cb Update blockquotes.md
a5f51431c Add new-in label
39dac5838 Document ContentWithoutSummary
de3c75694 Clarify blockquote render hook Markdown syntax
d32f7856d Document change to data type returned by render hook Text methods
83fe7ccc3 Document table render hooks
601234147 netlify: Hugo 0.134.0
a583640a0 Add support for Obsidian type blockquote alerts
3e0080861 Merge commit 'dec8cd4ada29218971743333f8ac662a9c06aad8'
2dde06576 output: Fix docshelper template lookup order for AMP pages

git-subtree-dir: docs
git-subtree-split: ccb1b97cbb11e60aab0108b33a270cccdd2218f6

22 months agoreleaser: Prepare repository for 0.135.0-DEV
hugoreleaser [Tue, 3 Sep 2024 10:14:44 +0000 (10:14 +0000)]
releaser: Prepare repository for 0.135.0-DEV

[ci skip]

22 months agoreleaser: Bump versions for release of 0.134.0
hugoreleaser [Tue, 3 Sep 2024 09:54:22 +0000 (09:54 +0000)]
releaser: Bump versions for release of 0.134.0

[ci skip]

22 months agoUpdate Dockerfile
Aymen Rachdi [Mon, 2 Sep 2024 12:06:10 +0000 (13:06 +0100)]
Update Dockerfile

22 months agomarkup/goldmark/blockquotes: Improve some tests
Bjørn Erik Pedersen [Sun, 1 Sep 2024 16:25:10 +0000 (18:25 +0200)]
markup/goldmark/blockquotes: Improve some tests

22 months agoAdd support for Obsidian type blockquote alerts
Bjørn Erik Pedersen [Sun, 1 Sep 2024 10:00:13 +0000 (12:00 +0200)]
Add support for Obsidian type blockquote alerts

* Make the alert type parsing more flexible to support more types
* Add `AlertTitle` and `AlertSign` (for folding)

Note that GitHub will not render callouts with alert title/sign.

See https://help.obsidian.md/Editing+and+formatting/Callouts

Closes #12805
Closes #12801

22 months agoSquashed 'docs/' changes from fcc3ed651..a49697e53
Bjørn Erik Pedersen [Sun, 1 Sep 2024 12:51:15 +0000 (14:51 +0200)]
Squashed 'docs/' changes from fcc3ed651..a49697e53

a49697e53 Add private use subtag requirements to multilingual page
a5c6bb4da Add INFINI Pizza search engine
45b732efa Fix template lookup order for AMP pages
30c672d0b netlify: Hugo 0.133.1
7c766e724 Update page resources documentation
ca802fbec Document how to enable AsciiDoc syntax highlighting
c3350f4cf Update definition of falsy to include zero time.Time values
b0e5ab051 Fir typo
60f6cb63b Update migrations.md
ec52c7ba1 Improve formatting of example code
e5681ad01 Improve formatting of example code
bdf3ffc73 Clarify the various next/prev methods
b5505d22a Clarify template lookup order for shortcodes
cf8dd7034 Improve embedded.md
e5dee2651 Update transform.ToMath
4d419a128 Update pagination configuration to use new struct
05d4fd597 Update PrevInSection.md
fd33370ed Add new-in 0.133.0
f9062042f Add the new page config section
205645e97 Remove out-dated  new-in
3ed3673f7 Fix typo
41df91659 Document the 'else with' construct introduced with Go 1.23
9c4697ab3 netlify: Hugo 0.133.0
62506b052 Merge branch 'temp133'
877e1bfcd Add config options page.nextPrevSortOrder/nextPrevInSectionSortOrder
eb159fe62 Update menu.md
efa7795a0 Update theme
dbe8911ad netlify: Hugo 0.132.2
2f793d328 Document passthrough render hooks
a7ce9a5e8 netlify: Hugo 0.132.1
2c137cb48 Update blockquotes.md
e0fa2f0d1 Add new-in badge to blockquote render hook page
bf42bbe6b Update references to render hooks
85a3d9958 Update theme
2dae72128 Document blockquote render hooks
8f5afb55d Update plainify return type
160f22d0e netlify: Hugo 0.132.0
82b5586fb Document transform.ToMath
1efcbcddb tpl/transform: Make Plainify and ToMath return template.HTML
31727be2e docs: Regen docshelper
88a421426 Merge commit 'a6e635ca7d905d9ec3ffd708db2694f680b03aae'

git-subtree-dir: docs
git-subtree-split: a49697e536ee0d477ab4e552cfa8dc74debeff27

22 months agoMerge commit 'dec8cd4ada29218971743333f8ac662a9c06aad8'
Bjørn Erik Pedersen [Sun, 1 Sep 2024 12:51:15 +0000 (14:51 +0200)]
Merge commit 'dec8cd4ada29218971743333f8ac662a9c06aad8'

22 months agoRename hstring.RenderedHTML => hstring.HTML
Bjørn Erik Pedersen [Sun, 1 Sep 2024 08:03:10 +0000 (10:03 +0200)]
Rename  hstring.RenderedHTML => hstring.HTML

And add a comment about why it exists.

22 months agogithub: Try to fix "no space left on device" on MacOS
Bjørn Erik Pedersen [Sat, 31 Aug 2024 16:07:57 +0000 (18:07 +0200)]
github: Try to fix "no space left on device" on MacOS

22 months agoMake all renderhook Text methods return template.HTML
Bjørn Erik Pedersen [Sat, 31 Aug 2024 15:25:15 +0000 (17:25 +0200)]
Make all renderhook Text methods return template.HTML

22 months agoAdd Markdown render hooks for tables
Bjørn Erik Pedersen [Fri, 30 Aug 2024 08:58:43 +0000 (10:58 +0200)]
Add Markdown render hooks for tables

Fixes #9316
Fixes #12811

22 months agocreate/skeletons: Clean up lang attribute in base template
Joe Mooring [Sat, 31 Aug 2024 14:49:53 +0000 (07:49 -0700)]
create/skeletons: Clean up lang attribute in base template

22 months agoFix deprecation warning for resources.ToCSS
Andreas Deininger [Fri, 30 Aug 2024 20:15:29 +0000 (22:15 +0200)]
Fix deprecation warning for resources.ToCSS

22 months agotpl/resources: Improve resources.Concat error message
Joe Mooring [Thu, 29 Aug 2024 22:28:49 +0000 (15:28 -0700)]
tpl/resources: Improve resources.Concat error message

Closes #7428

22 months agotpl: Trim whitespace from google_analytics.html
Patrice Chalin [Thu, 29 Aug 2024 19:32:46 +0000 (15:32 -0400)]
tpl: Trim whitespace from google_analytics.html

22 months agoAdd Page.Contents with scope support
Bjørn Erik Pedersen [Tue, 13 Aug 2024 13:49:56 +0000 (15:49 +0200)]
Add Page.Contents with scope support

Note that this also adds a new `.ContentWithoutSummary` method, and to do that we had to unify the different summary types:

Both `auto` and `manual` now returns HTML. Before this commit, `auto` would return plain text. This could be considered to be a slightly breaking change, but for the better: Now you can treat the `.Summary` the same without thinking about where it comes from, and if you want plain text, pipe it into `{{ .Summary | plainify }}`.

Fixes #8680
Fixes #12761
Fixes #12778
Fixes #716