]> git.maquefel.me Git - brevno-suite/hugo/log
brevno-suite/hugo
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

22 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

23 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

23 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

23 months agodeps: Upgrade github.com/bep/golibsass v1.1.1 => v1.2.0
Bjørn Erik Pedersen [Wed, 28 Aug 2024 12:35:24 +0000 (14:35 +0200)]
deps: Upgrade github.com/bep/golibsass v1.1.1 => v1.2.0

Fixes #12649

23 months agobuild(deps): bump github.com/evanw/esbuild from 0.23.0 to 0.23.1
dependabot[bot] [Mon, 19 Aug 2024 08:45:03 +0000 (08:45 +0000)]
build(deps): bump github.com/evanw/esbuild from 0.23.0 to 0.23.1

Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild) from 0.23.0 to 0.23.1.
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md)
- [Commits](https://github.com/evanw/esbuild/compare/v0.23.0...v0.23.1)

---
updated-dependencies:
- dependency-name: github.com/evanw/esbuild
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
23 months agobuild(deps): bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.3
dependabot[bot] [Mon, 26 Aug 2024 08:38:16 +0000 (08:38 +0000)]
build(deps): bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.3

Bumps [github.com/pelletier/go-toml/v2](https://github.com/pelletier/go-toml) from 2.2.2 to 2.2.3.
- [Release notes](https://github.com/pelletier/go-toml/releases)
- [Changelog](https://github.com/pelletier/go-toml/blob/v2/.goreleaser.yaml)
- [Commits](https://github.com/pelletier/go-toml/compare/v2.2.2...v2.2.3)

---
updated-dependencies:
- dependency-name: github.com/pelletier/go-toml/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
23 months agooutput: Fix docshelper template lookup order for AMP pages
Joe Mooring [Mon, 26 Aug 2024 14:27:43 +0000 (07:27 -0700)]
output: Fix docshelper template lookup order for AMP pages

Fixes #12797

23 months agohugolib: Add a test for overriding _internal templates
Bjørn Erik Pedersen [Wed, 28 Aug 2024 06:17:16 +0000 (08:17 +0200)]
hugolib: Add a test for overriding _internal templates

23 months agoreleaser: Prepare repository for 0.134.0-DEV
hugoreleaser [Mon, 26 Aug 2024 14:13:52 +0000 (14:13 +0000)]
releaser: Prepare repository for 0.134.0-DEV

[ci skip]

23 months agoreleaser: Bump versions for release of 0.133.1
hugoreleaser [Mon, 26 Aug 2024 13:58:46 +0000 (13:58 +0000)]
releaser: Bump versions for release of 0.133.1

[ci skip]

23 months agoRevert "Adjust Circleci workflow to make the Docker images build"
Bjørn Erik Pedersen [Mon, 26 Aug 2024 13:56:39 +0000 (15:56 +0200)]
Revert "Adjust Circleci workflow to make the Docker images build"

This reverts commit 445283a5932b4e0f5fc377478fa1351547ea0426.

23 months agoAdjust Circleci workflow to make the Docker images build
Bjørn Erik Pedersen [Mon, 26 Aug 2024 10:39:07 +0000 (12:39 +0200)]
Adjust Circleci workflow to make the Docker images build

Closes #12753

23 months agoFix missing method NameNormalized panic
Bjørn Erik Pedersen [Sun, 25 Aug 2024 20:51:38 +0000 (22:51 +0200)]
Fix missing method NameNormalized panic

Closes #12795

23 months agodeps: Upgraded github.com/bep/imagemeta v0.8.0 => v0.8.1
Bjørn Erik Pedersen [Sat, 24 Aug 2024 16:52:03 +0000 (18:52 +0200)]
deps: Upgraded github.com/bep/imagemeta v0.8.0 => v0.8.1

Closes #12793

23 months agoconfig: Fix pagination deprecation messages
Joe Mooring [Wed, 21 Aug 2024 19:05:20 +0000 (12:05 -0700)]
config: Fix pagination deprecation messages

23 months agoRevert "releaser: Rework the run conditions"
Bjørn Erik Pedersen [Sun, 18 Aug 2024 17:12:03 +0000 (19:12 +0200)]
Revert "releaser: Rework the run conditions"

This reverts commit 702b1e8b81c889f72207b5b8d0478c300c8ccf3e.

23 months agoRevert "circleci: Upgrade to version 2.1 of the schema"
Bjørn Erik Pedersen [Sun, 18 Aug 2024 17:12:02 +0000 (19:12 +0200)]
Revert "circleci: Upgrade to version 2.1 of the schema"

This reverts commit c8f850ae1734def05687b07213e124c2b585349d.

23 months agocircleci: Upgrade to version 2.1 of the schema
Bjørn Erik Pedersen [Sun, 18 Aug 2024 16:49:42 +0000 (18:49 +0200)]
circleci: Upgrade to version 2.1 of the schema

Updates #12753

23 months agoreleaser: Rework the run conditions
Bjørn Erik Pedersen [Sun, 18 Aug 2024 16:39:55 +0000 (18:39 +0200)]
releaser: Rework the run conditions

Now after actually reading the CircleCI docs...

Closes #12753

23 months agoRevert "releaser: Rework the run conditions"
Bjørn Erik Pedersen [Sun, 18 Aug 2024 10:00:47 +0000 (12:00 +0200)]
Revert "releaser: Rework the run conditions"

This reverts commit 777534b2a46127ad0392562b4de56ba3ff70a810.

Circle ci throws validation errors:

```
Config does not conform to schema: {:workflows {:release {:jobs [{:prepare_release (not (map? nil)), :when {:and disallowed-key}} nil nil nil]}}}
```

23 months agoreleaser: Rework the run conditions
Bjørn Erik Pedersen [Sun, 18 Aug 2024 09:47:51 +0000 (11:47 +0200)]
releaser: Rework the run conditions

Closes #12753

23 months agoreleaser: Prepare repository for 0.134.0-DEV
hugoreleaser [Sat, 17 Aug 2024 20:11:05 +0000 (20:11 +0000)]
releaser: Prepare repository for 0.134.0-DEV

[ci skip]

23 months agoreleaser: Bump versions for release of 0.133.0
hugoreleaser [Sat, 17 Aug 2024 19:57:41 +0000 (19:57 +0000)]
releaser: Bump versions for release of 0.133.0

[ci skip]

23 months agoAdd config options page.nextPrevSortOrder/nextPrevInSectionSortOrder
Bjørn Erik Pedersen [Sat, 17 Aug 2024 13:16:09 +0000 (15:16 +0200)]
Add config options page.nextPrevSortOrder/nextPrevInSectionSortOrder

See #12776

23 months agobuild(deps): bump gocloud.dev from 0.38.0 to 0.39.0
dependabot[bot] [Thu, 15 Aug 2024 08:47:59 +0000 (08:47 +0000)]
build(deps): bump gocloud.dev from 0.38.0 to 0.39.0

Bumps [gocloud.dev](https://github.com/google/go-cloud) from 0.38.0 to 0.39.0.
- [Release notes](https://github.com/google/go-cloud/releases)
- [Commits](https://github.com/google/go-cloud/compare/v0.38.0...v0.39.0)

---
updated-dependencies:
- dependency-name: gocloud.dev
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
23 months agodeps: Upgrade github.com/tetratelabs/wazero v1.7.4-0.20240805170331-2b12e189eeec...
Bjørn Erik Pedersen [Thu, 15 Aug 2024 08:20:43 +0000 (10:20 +0200)]
deps: Upgrade github.com/tetratelabs/wazero v1.7.4-0.20240805170331-2b12e189eeec => v1.8.0

23 months agoUpgrade to Go 1.23
Bjørn Erik Pedersen [Wed, 14 Aug 2024 09:34:21 +0000 (11:34 +0200)]
Upgrade to Go 1.23

Fixes #12763

23 months agoreleaser: Prepare repository for 0.133.0-DEV
hugoreleaser [Wed, 14 Aug 2024 16:31:14 +0000 (16:31 +0000)]
releaser: Prepare repository for 0.133.0-DEV

[ci skip]

23 months agoreleaser: Bump versions for release of 0.132.2
hugoreleaser [Wed, 14 Aug 2024 16:17:21 +0000 (16:17 +0000)]
releaser: Bump versions for release of 0.132.2

[ci skip]

23 months agomarkup/goldmark/blockquotes: Fix handling of lower/mixed case GitHub alerts
Bjørn Erik Pedersen [Wed, 14 Aug 2024 14:57:18 +0000 (16:57 +0200)]
markup/goldmark/blockquotes: Fix handling of lower/mixed case GitHub alerts

Fixes #12767

23 months agotpl/transform: Don't run ToMath tests in parallel
Bjørn Erik Pedersen [Wed, 14 Aug 2024 13:26:22 +0000 (15:26 +0200)]
tpl/transform: Don't run ToMath tests in parallel

Closes #12765