Bjørn Erik Pedersen
5f667f8796
Fix missing method NameNormalized panic
...
Closes #12795
2024-08-25 23:17:26 +02:00
Bjørn Erik Pedersen
e1becf1dfe
deps: Upgraded github.com/bep/imagemeta v0.8.0 => v0.8.1
...
Closes #12793
2024-08-24 18:52:03 +02:00
Joe Mooring
7792392a6f
config: Fix pagination deprecation messages
2024-08-21 22:01:59 +02:00
Bjørn Erik Pedersen
46484bff84
Revert "releaser: Rework the run conditions"
...
This reverts commit 702b1e8b81
.
2024-08-18 19:12:03 +02:00
Bjørn Erik Pedersen
0e5a26057c
Revert "circleci: Upgrade to version 2.1 of the schema"
...
This reverts commit c8f850ae17
.
2024-08-18 19:12:02 +02:00
Bjørn Erik Pedersen
c8f850ae17
circleci: Upgrade to version 2.1 of the schema
...
Updates #12753
2024-08-18 18:49:42 +02:00
Bjørn Erik Pedersen
702b1e8b81
releaser: Rework the run conditions
...
Now after actually reading the CircleCI docs...
Closes #12753
2024-08-18 18:46:56 +02:00
Bjørn Erik Pedersen
73d32e7737
Revert "releaser: Rework the run conditions"
...
This reverts commit 777534b2a4
.
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]}}}
```
2024-08-18 12:00:47 +02:00
Bjørn Erik Pedersen
777534b2a4
releaser: Rework the run conditions
...
Closes #12753
2024-08-18 11:47:51 +02:00
hugoreleaser
c054cba042
releaser: Prepare repository for 0.134.0-DEV
...
[ci skip]
2024-08-17 20:11:05 +00:00
hugoreleaser
c9777473d1
releaser: Bump versions for release of 0.133.0
...
[ci skip]
2024-08-17 19:57:41 +00:00
Bjørn Erik Pedersen
01008ba512
Add config options page.nextPrevSortOrder/nextPrevInSectionSortOrder
...
See #12776
2024-08-17 16:47:50 +02:00
dependabot[bot]
53c0ddfcb4
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>
2024-08-15 12:14:59 +02:00
Bjørn Erik Pedersen
133eeafeb4
deps: Upgrade github.com/tetratelabs/wazero v1.7.4-0.20240805170331-2b12e189eeec => v1.8.0
2024-08-15 12:14:49 +02:00
Bjørn Erik Pedersen
2168c5b125
Upgrade to Go 1.23
...
Fixes #12763
2024-08-15 10:18:19 +02:00
hugoreleaser
b3ad58fa04
releaser: Prepare repository for 0.133.0-DEV
...
[ci skip]
2024-08-14 16:31:14 +00:00
hugoreleaser
3fd26c70df
releaser: Bump versions for release of 0.132.2
...
[ci skip]
2024-08-14 16:17:21 +00:00
Bjørn Erik Pedersen
d72607adb9
markup/goldmark/blockquotes: Fix handling of lower/mixed case GitHub alerts
...
Fixes #12767
2024-08-14 18:09:04 +02:00
Bjørn Erik Pedersen
83235262d0
tpl/transform: Don't run ToMath tests in parallel
...
Closes #12765
2024-08-14 16:58:49 +02:00
b10c
5220d371ea
resources: Add URI GetRemote error
...
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-14 13:24:58 +02:00
Bjørn Erik Pedersen
b2d4f67a88
loggers: Omit map nil check
2024-08-13 20:10:43 +02:00
Bjørn Erik Pedersen
a99716bf04
github: Add workflow_dispatch to the Docker workflow
...
Closes #12753
2024-08-13 16:28:33 +02:00
Bjørn Erik Pedersen
98aa53648a
github: Simplify Docker workflow / only trigger on new tags
...
See #12753
2024-08-13 16:17:56 +02:00
Bjørn Erik Pedersen
9231a7f110
github: Simplify Docker workflow
...
See #12753
2024-08-13 16:16:45 +02:00
hugoreleaser
736e8a4d08
releaser: Prepare repository for 0.133.0-DEV
...
[ci skip]
2024-08-13 10:24:54 +00:00
hugoreleaser
1bde700dfc
releaser: Bump versions for release of 0.132.1
...
[ci skip]
2024-08-13 10:10:10 +00:00
Bjørn Erik Pedersen
77304a3cd3
github: Adjust image workflow
...
See #12753
2024-08-13 12:06:26 +02:00
Bjørn Erik Pedersen
bef9214e11
Fix nilpointer regression with empty blockquotes
...
Fixes #12756
2024-08-13 11:46:25 +02:00
hugoreleaser
caa90e6a12
releaser: Prepare repository for 0.133.0-DEV
...
[ci skip]
2024-08-12 15:36:03 +00:00
hugoreleaser
005e895a38
releaser: Bump versions for release of 0.132.0
...
[ci skip]
2024-08-12 15:21:36 +00:00
Bjørn Erik Pedersen
2192cf7ec1
internal/warpc: Add license headers
2024-08-12 15:50:29 +02:00
Bjørn Erik Pedersen
e1e1baa1bd
Improve Katex error handling and fix handling of large expressions
...
* 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-12 13:50:18 +02:00
Bjørn Erik Pedersen
e42263529c
Add katex option ThrowOnError
...
As an internal option for now. Katex misbehaves in error situations without a value set.
2024-08-11 20:57:15 +02:00
Bjørn Erik Pedersen
891aa00fe1
Add some more KaTeX options
...
And fix the options handling.
Closes #12745
Fixes #12746
2024-08-11 19:03:27 +02:00
Bjørn Erik Pedersen
946e6af0bb
tpl/transform: Make Plainify and ToMath return template.HTML
...
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-11 15:16:16 +02:00
Bjørn Erik Pedersen
5d84f64759
deps: Upgrade github.com/bep/imagemeta v0.7.6 => v0.8.0
...
Fixes #12741
2024-08-10 14:00:43 +02:00
Bjørn Erik Pedersen
fbfccb394b
Fix compare of uints and ints in eq, gt etc.
...
Fixes #12733
2024-08-10 14:00:21 +02:00
Bjørn Erik Pedersen
ef2e30eca3
docs: Regen docshelper
2024-08-09 19:34:13 +02:00
Bjørn Erik Pedersen
33c0938cd5
Add build time math rendering
...
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-09 17:18:37 +02:00
Bjørn Erik Pedersen
0c3a1c7288
github: Turn off the image workflow for pull request
...
We need to fix it so it does not publish anything to the remote repo before we can enable that.
2024-08-09 16:47:17 +02:00
Bjørn Erik Pedersen
ceed812458
github: Update image actions versions and some adjustments
...
Co-authored-by: morre <morre@mor.re>
2024-08-09 16:26:22 +02:00
Morre
b08de70cca
github: Build and publish Docker image on release
...
Fixes #10760
2024-08-09 16:26:22 +02:00
Bjørn Erik Pedersen
a6e635ca7d
Squashed 'docs/' changes from 9b06f951e..fcc3ed651
...
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-09 15:17:43 +02:00
Bjørn Erik Pedersen
e99eba39e7
Merge commit 'a6e635ca7d905d9ec3ffd708db2694f680b03aae'
2024-08-09 15:17:43 +02:00
Bjørn Erik Pedersen
dbff48e6c3
github: Update GitHub actions versions
2024-08-09 11:17:24 +02:00
Bjørn Erik Pedersen
665ac949bd
markup: Add blockquote render hooks
...
Closes #12590
2024-08-07 18:28:23 +02:00
Bjørn Erik Pedersen
4c162deb03
markup/goldmark/codeblocks: Simplify codeblcok hook code
2024-08-07 18:28:23 +02:00
Bjørn Erik Pedersen
c6227f1d85
Add render hooks for inline and block passthrough snippets
...
Fixes #11927
2024-08-07 18:28:23 +02:00
dependabot[bot]
1781b18427
build(deps): bump golang.org/x/net from 0.27.0 to 0.28.0
...
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] <support@github.com>
2024-08-07 12:26:01 +02:00
dependabot[bot]
d6d9dddff3
build(deps): bump golang.org/x/image from 0.18.0 to 0.19.0
...
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] <support@github.com>
2024-08-07 11:14:31 +02:00