aboutsummaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2024-08-15build(deps): bump gocloud.dev from 0.38.0 to 0.39.0dependabot/go_modules/gocloud.dev-0.39.0dependabot[bot]
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] <[email protected]>
2024-08-15Upgrade to Go 1.23Bjørn Erik Pedersen
Fixes #12763
2024-08-14releaser: Prepare repository for 0.133.0-DEVrelease-0.132.2hugoreleaser
[ci skip]
2024-08-14releaser: Bump versions for release of 0.132.2v0.132.2hugoreleaser
[ci skip]
2024-08-14markup/goldmark/blockquotes: Fix handling of lower/mixed case GitHub alertsBjørn Erik Pedersen
Fixes #12767
2024-08-14tpl/transform: Don't run ToMath tests in parallelBjørn Erik Pedersen
Closes #12765
2024-08-14resources: Add URI GetRemote errorb10c
Previouly, only "ERROR failed to fetch remote resource: Forbidden" would be shown when a resource failed to load. In my case, a tweet's author I was embedding using the twitter shortcode switched his profile to private which resulted in my blog failing to build. To figure out where the originates, I added the log to the error message.
2024-08-13loggers: Omit map nil checkBjørn Erik Pedersen
2024-08-13github: Add workflow_dispatch to the Docker workflowBjørn Erik Pedersen
Closes #12753
2024-08-13github: Simplify Docker workflow / only trigger on new tagstestbuild2Bjørn Erik Pedersen
See #12753
2024-08-13github: Simplify Docker workflowBjørn Erik Pedersen
See #12753
2024-08-13releaser: Prepare repository for 0.133.0-DEVtestbuild1release-0.132.1hugoreleaser
[ci skip]
2024-08-13releaser: Bump versions for release of 0.132.1v0.132.1hugoreleaser
[ci skip]
2024-08-13github: Adjust image workflowBjørn Erik Pedersen
See #12753
2024-08-13Fix nilpointer regression with empty blockquotesBjørn Erik Pedersen
Fixes #12756
2024-08-12releaser: Prepare repository for 0.133.0-DEVrelease-0.132.0hugoreleaser
[ci skip]
2024-08-12releaser: Bump versions for release of 0.132.0v0.132.0hugoreleaser
[ci skip]
2024-08-12internal/warpc: Add license headersBjørn Erik Pedersen
2024-08-12Improve Katex error handling and fix handling of large expressionsBjørn Erik Pedersen
* Make throwOnError=true the new default * Handle JS errors as part of the RPC request/response flow * Return a new Result type with .Err on it This enables constructs on the form: ```handlebars {{ with transform.ToMath "c = \\foo{a^2 + b^2}" }} {{ with .Err }} {{ warnf "error: %s" . }} {{ else }} {{ . }} {{ end }} {{ end }} ``` Note that the new `Result` type behaves like `template.HTML` (or a string if needed) when printed, but it will panic if in a error state. Closes #12748
2024-08-11Add katex option ThrowOnErrorBjørn Erik Pedersen
As an internal option for now. Katex misbehaves in error situations without a value set.
2024-08-11Add some more KaTeX optionsBjørn Erik Pedersen
And fix the options handling. Closes #12745 Fixes #12746
2024-08-11tpl/transform: Make Plainify and ToMath return template.HTMLBjørn Erik Pedersen
None of these are useful as plain strings in the templates, which forces the users to do `transform.Plainify "foo" | safeHTML`. If people have trust issues with the output of these functions, they need to just stop using them. Closes #8732
2024-08-10deps: Upgrade github.com/bep/imagemeta v0.7.6 => v0.8.0Bjørn Erik Pedersen
Fixes #12741
2024-08-10Fix compare of uints and ints in eq, gt etc.Bjørn Erik Pedersen
Fixes #12733
2024-08-09docs: Regen docshelperBjørn Erik Pedersen
2024-08-09Add build time math renderingBjørn Erik Pedersen
While very useful on its own (and combined with the passthrough render hooks), this also serves as a proof of concept of using WASI (WebAssembly System Interface) modules in Hugo. This will be marked _experimental_ in the documentation. Not because it will be removed or changed in a dramatic way, but we need to think a little more how to best set up/configure similar services, define where these WASM files gets stored, maybe we can allow user provided WASM files plugins via Hugo Modules mounts etc. See these issues for more context: * https://github.com/gohugoio/hugo/issues/12736 * https://github.com/gohugoio/hugo/issues/12737 See #11927
2024-08-09github: Turn off the image workflow for pull requestBjørn Erik Pedersen
We need to fix it so it does not publish anything to the remote repo before we can enable that.
2024-08-09github: Update image actions versions and some adjustmentsBjørn Erik Pedersen
Co-authored-by: morre <[email protected]>
2024-08-09github: Build and publish Docker image on releaseMorre
Fixes #10760
2024-08-09Merge commit 'a6e635ca7d905d9ec3ffd708db2694f680b03aae'Bjørn Erik Pedersen
2024-08-09Squashed 'docs/' changes from 9b06f951e..fcc3ed651Bjørn Erik Pedersen
fcc3ed651 Remove some expired new-in a9c5981f5 Fix cascade example 82bb250fa Add some lines about permalinks tokens in front matter 328fe564e Remove some outdated new-in fb140b153 Hide showcase menu entry 42d9d1c79 Update image formats from which EXIF data can be extracted 09ad56b6e netlify: Hugo 0.130.0 1d503f846 Merge branch 'tempv0.130.0' e2458074d math: Add trigonometric functions and some angle helper functions 392afc8f9 Disable the showcase section for now 0300750f2 Improve example of image render hook 60a9306af Improve description of the .Site.RegularPages method 8d759175d Fix typos 55daa4554 Update XxHash.md 397c81cb7 Add namespace for hash functions 70fe8d2f0 netlify: Bump Hugo 0.129.0 5a9771aff Merge branch 'tempv0.129.0' f9146575b Fix typo e6e1fea49 Fix typo in Hugo docs | functions | partial 732d10ec4 source: Expose GitInfo Body 34c97e639 netlify: Hugo 0.128.2 3270587e9 Fix typo 727c5396e netlify: Hugo 0.128.1 80b6ae99c Update GitHub Pages workflow file example 027134102 Update GitHub Pages workflow file example 2600a8a2e Miscellaneous edits 3fdd5819b Update Build.md 7764005c3 Improve example of render hook directory structure 5e3941d82 Fix typos 748bf065f Restructure templates section fafbf6566 Update Defer.md 012162e0d Document changes to template functions in v0.128.0 0990ce35b quick-reference: Update emojis 6677a30ef Update Goldmark configuration documentation 4449d530d Document new pagination config 0af8be439 Update Defer.md 56348196d netlify: Hugo 0.128.0 d67b6d82e Update content/en/functions/templates/Defer.md 23d996b3d Update content/en/functions/templates/Defer.md 7f7fb2f27 Document templates.Defer 5ada1e9d5 Fix docs merge (remove shortcode) d27ee6156 Merge branch 'tempv0.128.0' 5d7317c84 Fix typo 7c18ee546 Update theme 83bfea63b Update theme b274b3238 Merge commit '8b9803425e63e1b1801f8d5d676e96368d706722' ff34a035a deploy: Add stripIndexHtml target option d9e964bdb markup/goldmark: Add the Hugo Goldmark Extras "delete" extension ac5bd16d2 deps: Upgrade github.com/alecthomas/chroma v2.13.0 => v2.14.0 25377171b config: Remove extraneous BuildConfig setting 0d2044f6d docs: Regen docshelper a2548dac9 markup/goldmark: Support extras extension 9d0c86ee8 commands: Add gen chromastyles --lineNumbersTableStyle flag git-subtree-dir: docs git-subtree-split: fcc3ed651a1b6431303c2f88f20fa38531c52b3d
2024-08-09github: Update GitHub actions versionsBjørn Erik Pedersen
2024-08-07markup: Add blockquote render hooksBjørn Erik Pedersen
Closes #12590
2024-08-07markup/goldmark/codeblocks: Simplify codeblcok hook codeBjørn Erik Pedersen
2024-08-07Add render hooks for inline and block passthrough snippetsBjørn Erik Pedersen
Fixes #11927
2024-08-07build(deps): bump golang.org/x/net from 0.27.0 to 0.28.0dependabot[bot]
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.27.0 to 0.28.0. - [Commits](https://github.com/golang/net/compare/v0.27.0...v0.28.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-08-07build(deps): bump golang.org/x/image from 0.18.0 to 0.19.0dependabot[bot]
Bumps [golang.org/x/image](https://github.com/golang/image) from 0.18.0 to 0.19.0. - [Commits](https://github.com/golang/image/compare/v0.18.0...v0.19.0) --- updated-dependencies: - dependency-name: golang.org/x/image dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
2024-08-06tpl/cast: Improve floatBjørn Erik Pedersen
Make it support the new upstream rational number type in Exif. See #12718
2024-08-06Skip TestEchoParamBjørn Erik Pedersen
Is deprecated, will be remvoved soon.
2024-08-06build(deps): bump github.com/bep/imagemeta from 0.7.5 to 0.7.6 (#12720)dependabot[bot]
Bumps [github.com/bep/imagemeta](https://github.com/bep/imagemeta) from 0.7.5 to 0.7.6. - [Release notes](https://github.com/bep/imagemeta/releases) - [Commits](https://github.com/bep/imagemeta/compare/v0.7.5...v0.7.6) --- updated-dependencies: - dependency-name: github.com/bep/imagemeta dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Closes #12718
2024-08-05Fix deprecation errorsBjørn Erik Pedersen
2024-08-02releaser: Prepare repository for 0.132.0-DEVrelease-0.131.0hugoreleaser
[ci skip]
2024-08-02releaser: Bump versions for release of 0.131.0v0.131.0hugoreleaser
[ci skip]
2024-08-02Fix images.AutoOrient regressionBjørn Erik Pedersen
Broken in v0.130.0. Added a integration test to avoid future breakage. Fixes #12712
2024-08-02revamp pagegroup tests with quicktestn1xx1
2024-08-02allow nested params when using Pages.GroupByParam and Pages.GroupByParamDaten1xx1
2024-08-02build(deps): bump github.com/bep/godartsass/v2 from 2.0.0 to 2.1.0dependabot[bot]
Bumps [github.com/bep/godartsass/v2](https://github.com/bep/godartsass) from 2.0.0 to 2.1.0. - [Release notes](https://github.com/bep/godartsass/releases) - [Commits](https://github.com/bep/godartsass/compare/v2.0.0...v2.1.0) --- updated-dependencies: - dependency-name: github.com/bep/godartsass/v2 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
2024-08-01build(deps): bump google.golang.org/api from 0.152.0 to 0.189.0dependabot[bot]
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.152.0 to 0.189.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.189.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-08-01build(deps): bump github.com/spf13/cobra from 1.8.0 to 1.8.1dependabot[bot]
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.8.0 to 1.8.1. - [Release notes](https://github.com/spf13/cobra/releases) - [Commits](https://github.com/spf13/cobra/compare/v1.8.0...v1.8.1) --- updated-dependencies: - dependency-name: github.com/spf13/cobra dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
2024-08-01build(deps): bump gocloud.dev from 0.36.0 to 0.38.0dependabot[bot]
Bumps [gocloud.dev](https://github.com/google/go-cloud) from 0.36.0 to 0.38.0. - [Release notes](https://github.com/google/go-cloud/releases) - [Commits](https://github.com/google/go-cloud/compare/v0.36.0...v0.38.0) --- updated-dependencies: - dependency-name: gocloud.dev dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>