aboutsummaryrefslogtreecommitdiffhomepage
path: root/common
AgeCommit message (Collapse)Author
2024-11-05releaser: Prepare repository for 0.138.0-DEVrelease-0.137.1hugoreleaser
[ci skip]
2024-11-05releaser: Bump versions for release of 0.137.1v0.137.1hugoreleaser
[ci skip]
2024-11-05common/hugo: Add withdeploy to the version string printed in hugo versionBjørn Erik Pedersen
2024-11-04releaser: Prepare repository for 0.138.0-DEVrelease-0.137.0hugoreleaser
[ci skip]
2024-11-04releaser: Bump versions for release of 0.137.0v0.137.0hugoreleaser
[ci skip]
2024-11-03markup/goldmark: Add warning (using Warnidf) on Goldmark <!-- raw HTML ↵Bjørn Erik Pedersen
omitted --> Fixes #12997
2024-11-03Fix some RenderShortcodes error casesBjørn Erik Pedersen
This issue fixes two cases where `{{__hugo_ctx` artifacts were left in the rendered output: 1. Inclusion when `.RenderShortcodes` is wrapped in HTML. 2. Inclusion of Markdown file without a trailing newline in some cases. Closes #12854 Updates #12998
2024-10-24releaser: Prepare repository for 0.137.0-DEVrelease-0.136.5hugoreleaser
[ci skip]
2024-10-24releaser: Bump versions for release of 0.136.5v0.136.5hugoreleaser
[ci skip]
2024-10-21releaser: Prepare repository for 0.137.0-DEVrelease-0.136.3hugoreleaser
[ci skip]
2024-10-21releaser: Bump versions for release of 0.136.3v0.136.3hugoreleaser
[ci skip]
2024-10-19common/herrors: Fix the deferred error message cleaner regexpBjørn Erik Pedersen
Make it less gready.
2024-10-17releaser: Prepare repository for 0.137.0-DEVrelease-0.136.2hugoreleaser
[ci skip]
2024-10-17releaser: Bump versions for release of 0.136.2v0.136.2hugoreleaser
[ci skip]
2024-10-16releaser: Prepare repository for 0.137.0-DEVrelease-0.136.1hugoreleaser
[ci skip]
2024-10-16releaser: Bump versions for release of 0.136.1v0.136.1hugoreleaser
[ci skip]
2024-10-15releaser: Prepare repository for 0.137.0-DEVrelease-0.136.0hugoreleaser
[ci skip]
2024-10-15releaser: Bump versions for release of 0.136.0v0.136.0hugoreleaser
[ci skip]
2024-09-27releaser: Prepare repository for 0.136.0-DEVrelease-0.135.0hugoreleaser
[ci skip]
2024-09-27releaser: Bump versions for release of 0.135.0v0.135.0hugoreleaser
[ci skip]
2024-09-19releaser: Prepare repository for 0.135.0-DEVrelease-0.134.3hugoreleaser
[ci skip]
2024-09-19releaser: Bump versions for release of 0.134.3v0.134.3hugoreleaser
[ci skip]
2024-09-10releaser: Prepare repository for 0.135.0-DEVrelease-0.134.2hugoreleaser
[ci skip]
2024-09-10releaser: Bump versions for release of 0.134.2v0.134.2hugoreleaser
[ci skip]
2024-09-05releaser: Prepare repository for 0.135.0-DEVrelease-0.134.1hugoreleaser
[ci skip]
2024-09-05releaser: Bump versions for release of 0.134.1v0.134.1hugoreleaser
[ci skip]
2024-09-03releaser: Prepare repository for 0.135.0-DEVrelease-0.134.0hugoreleaser
[ci skip]
2024-09-03releaser: Bump versions for release of 0.134.0v0.134.0hugoreleaser
[ci skip]
2024-09-01Rename hstring.RenderedHTML => hstring.HTMLBjørn Erik Pedersen
And add a comment about why it exists.
2024-08-31Make all renderhook Text methods return template.HTMLBjørn Erik Pedersen
2024-08-29Add Page.Contents with scope supportBjørn Erik Pedersen
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
2024-08-28deps: Upgrade github.com/bep/golibsass v1.1.1 => v1.2.0Bjørn Erik Pedersen
Fixes #12649
2024-08-26releaser: Prepare repository for 0.134.0-DEVrelease-0.133.1hugoreleaser
[ci skip]
2024-08-26releaser: Bump versions for release of 0.133.1v0.133.1hugoreleaser
[ci skip]
2024-08-17releaser: Prepare repository for 0.134.0-DEVrelease-0.133.0hugoreleaser
[ci skip]
2024-08-17releaser: Bump versions for release of 0.133.0v0.133.0hugoreleaser
[ci skip]
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-13loggers: Omit map nil checkBjørn Erik Pedersen
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-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-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-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-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-01resources/page: Expand parmalinks tokens in `url`n1xx1
This change allows to use permalink tokens in url front matter fields. This should be useful to target more specific pages instead of using a global permalink configuration. It's expected to be used with cascade. Fixes #9714
2024-07-31Shorten processed image filenamesBjørn Erik Pedersen
Fixes #12688 Fixes #12656
2024-07-31Consolidate all hashing to the common/hashing packageBjørn Erik Pedersen
And remove now unsued hashing funcs.