aboutsummaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2024-05-01build(deps): bump google.golang.org/api from 0.152.0 to 0.177.0dependabot/go_modules/google.golang.org/api-0.177.0dependabot[bot]
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.152.0 to 0.177.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.152.0...v0.177.0) --- updated-dependencies: - dependency-name: google.golang.org/api dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
2024-04-30Make sure replaced pages gets marked as staleBjørn Erik Pedersen
Fixes #12436
2024-04-25releaser: Prepare repository for 0.126.0-DEVrelease-0.125.4hugoreleaser
[ci skip]
2024-04-25releaser: Bump versions for release of 0.125.4v0.125.4hugoreleaser
[ci skip]
2024-04-25commands: Clarify that create or install a theme are two optionsPeter van Dijk
2024-04-25config: Setups with only one active language can never be multihostBjørn Erik Pedersen
Fixes #12288
2024-04-25Fix rebuilds when running hugo -wBjørn Erik Pedersen
This was partly broken in Hugo 0.123.0. We have two internal config options that gets set from the CLI: * Running; a web server is running * Watching; either set via `hugo -w` or `hugo server --watch=false` Part of the change detection code wrongly used the `Running` as a flag when `Watching` would be the correct. Fixes #12296
2024-04-25build(deps): bump github.com/tdewolff/minify/v2 from 2.20.19 to 2.20.20dependabot[bot]
Bumps [github.com/tdewolff/minify/v2](https://github.com/tdewolff/minify) from 2.20.19 to 2.20.20. - [Release notes](https://github.com/tdewolff/minify/releases) - [Commits](https://github.com/tdewolff/minify/compare/v2.20.19...v2.20.20) --- updated-dependencies: - dependency-name: github.com/tdewolff/minify/v2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
2024-04-25tpl/tplimpl: Fix double-escaping in opengraph templateJoe Mooring
Closes #12418
2024-04-23Use Apache License without modificationBjørn Erik Pedersen
Closes #12415
2024-04-22markup/goldmark: Fix data race in the hugocontext wrapperBjørn Erik Pedersen
The window for this to happen is very small, but it has been reported by Go's race detector (-race flag) in a tests once.
2024-04-22Delete .hugo_build.lockBjørn Erik Pedersen
Added to Git by accident.
2024-04-22tpl: Escape .Title in built-in image and link render hooksBjørn Erik Pedersen
Co-authored-by: Joe Mooring <[email protected]>
2024-04-22tpl/tplimpl: Improve embedded templatesJoe Mooring
- Do not call the YouTube oEmbed API - Do not include the Hugo version in RSS feeds Closes #12396
2024-04-22SECURITY.md: Update link to security modelEric Anderson
The security model was moved in https://github.com/gohugoio/hugoDocs/pull/2495
2024-04-22modules: Fix potential infinite loop in module collectionBjørn Erik Pedersen
Fixes #12407
2024-04-20releaser: Bump versions for release of 0.125.2v0.125.2hugoreleaser
[ci skip]
2024-04-20Only add root sections to the section pages menuBjørn Erik Pedersen
Fixes #12399
2024-04-20Fix partial rebuilds for SCSS fetched with GetMatch and similarBjørn Erik Pedersen
Fixes #12395
2024-04-20commands: Add gen chromastyles --lineNumbersTableStyle flagJoe Mooring
For symmetry, also rename --linesStyle to --lineNumbersInlineStyle. Closes #12393
2024-04-19resources/images: Fix TestColorLuminance on s390xBjørn Erik Pedersen
2024-04-18commands: Provide examples for chromastyles flagsJoe Mooring
Closes #12387
2024-04-18releaser: Prepare repository for 0.126.0-DEVrelease-0.125.1hugoreleaser
[ci skip]
2024-04-18releaser: Bump versions for release of 0.125.1v0.125.1hugoreleaser
[ci skip]
2024-04-18tpl: Use erroridf for remote YouTube errorsBjørn Erik Pedersen
So they can be silenced. Fixes #12383
2024-04-17build: Fix `GLIBC_2.29' not found issueBjørn Erik Pedersen
Closes #12381
2024-04-16releaser: Prepare repository for 0.126.0-DEVrelease-0.125.0hugoreleaser
[ci skip]
2024-04-16releaser: Bump versions for release of 0.125.0v0.125.0hugoreleaser
[ci skip]
2024-04-16docs: Regen docshelperBjørn Erik Pedersen
2024-04-16Fix server rebuilds when adding a content file on LinuxBjørn Erik Pedersen
Fixes #12362
2024-04-16build(deps): bump github.com/pelletier/go-toml/v2 from 2.2.0 to 2.2.1dependabot[bot]
Bumps [github.com/pelletier/go-toml/v2](https://github.com/pelletier/go-toml) from 2.2.0 to 2.2.1. - [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.0...v2.2.1) --- 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] <[email protected]>
2024-04-16Add Luminance to ColorBjørn Erik Pedersen
To sort an image's colors from darkest to lightest, you can then do: ```handlebars {{ {{ $colorsByLuminance := sort $image.Colors "Luminance" }} ``` This uses the formula defined here: https://www.w3.org/TR/WCAG21/#dfn-relative-luminance Fixes #10450
2024-04-15hugolib: Add an asciidoc rebuild test caseBjørn Erik Pedersen
See #12375
2024-04-15Pass .RenderShortcodes' Page to render hooks as .PageInnerBjørn Erik Pedersen
The main use case for this is to resolve links and resources (e.g. images) relative to the included `Page`. A typical `include` would similar to this: ```handlebars {{ with site.GetPage (.Get 0) }} {{ .RenderShortcodes }} {{ end }} ``` And when used in a Markdown file: ```markdown {{% include "/posts/p1" %}} ``` Any render hook triggered while rendering `/posts/p1` will get `/posts/p1` when calling `.PageInner`. Note that * This is only relevant for shortcodes included with `{{%` that calls `.RenderShortcodes`. * `.PageInner` is available in all render hooks that, before this commit, received `.Page`. * `.PageInner` will fall back to the value of `.Page` if not relevant and will always have a value. Fixes #12356
2024-04-14build(deps): bump google.golang.org/protobuf from 1.31.0 to 1.33.0dependabot[bot]
Bumps google.golang.org/protobuf from 1.31.0 to 1.33.0. --- updated-dependencies: - dependency-name: google.golang.org/protobuf dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]>
2024-04-14helpers: Fix TrimShortHTML when used with AsciiDoc contentJoe Mooring
Fixes #12369
2024-04-14github: Add a "free space" step on UbuntuBjørn Erik Pedersen
2024-04-14helpers: Add BenchmarkTrimShortHTMLBjørn Erik Pedersen
2024-04-14github: Update actionsBjørn Erik Pedersen
2024-04-14github: Format GitHub actions filesBjørn Erik Pedersen
2024-04-13hugolib: Display server address after each rebuildJoe Mooring
Closes #12359
2024-04-12resources/page: Add taxonomies Page methodJoe Mooring
Closes #12316
2024-04-11commands: Adjust completionsBjørn Erik Pedersen
2024-04-11completion: Improve existing argument completions, add many moreVille Skyttä
Do not offer filenames to arguments not taking one, complete arguments of options taking resource kinds, directory names, --logLevel, release --step, config and new --format. As an internal refactoring, use higher level functions to set flag completions. SetAnnotation works, but is more verbose than alternatives, and uses bash specific wording. While at it, move setting completions next to flag definitions consistently. Remove superfluous --destination completer setting, which is already set elsewhere.
2024-04-11Upgrade to Go 1.22.2Bjørn Erik Pedersen
Closes #12351
2024-04-11build(deps): bump golang.org/x/tools from 0.19.0 to 0.20.0dependabot[bot]
Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.19.0 to 0.20.0. - [Release notes](https://github.com/golang/tools/releases) - [Commits](https://github.com/golang/tools/compare/v0.19.0...v0.20.0) --- updated-dependencies: - dependency-name: golang.org/x/tools dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
2024-04-11github: Fix CI buildBjørn Erik Pedersen
2024-04-11all: Fix duplicate words in commentsEitan Adler
2024-04-11build(deps): bump golang.org/x/net from 0.23.0 to 0.24.0dependabot[bot]
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.23.0 to 0.24.0. - [Commits](https://github.com/golang/net/compare/v0.23.0...v0.24.0) --- updated-dependencies: - dependency-name: golang.org/x/net dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
2024-04-11build(deps): bump github.com/getkin/kin-openapi from 0.123.0 to 0.124.0dependabot[bot]
Bumps [github.com/getkin/kin-openapi](https://github.com/getkin/kin-openapi) from 0.123.0 to 0.124.0. - [Release notes](https://github.com/getkin/kin-openapi/releases) - [Commits](https://github.com/getkin/kin-openapi/compare/v0.123.0...v0.124.0) --- updated-dependencies: - dependency-name: github.com/getkin/kin-openapi dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>