Age | Commit message (Collapse) | Author |
|
|
|
Closes #10717
|
|
|
|
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
|
|
Also remove test references to deprecated funcs now in ERROR.
Closes #12828
|
|
matter
Fixes #12822
|
|
And add a comment about why it exists.
|
|
|
|
Fixes #9316
Fixes #12811
|
|
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
|
|
|
|
Closes #12795
|
|
See #12776
|
|
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.
|
|
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
|
|
Closes #12590
|
|
Fixes #11927
|
|
|
|
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
|
|
Fixes #12688
Fixes #12656
|
|
And remove now unsued hashing funcs.
|
|
```
name old time/op new time/op delta
HashString/n28-10 133ns ± 9% 107ns ±10% -19.58% (p=0.029 n=4+4)
HashString/n112-10 243ns ± 5% 121ns ± 4% -50.08% (p=0.029 n=4+4)
HashString/n448-10 698ns ± 3% 174ns ± 5% -75.02% (p=0.029 n=4+4)
HashString/n1792-10 2.58µs ± 4% 0.38µs ± 4% -85.11% (p=0.029 n=4+4)
HashString/n7168-10 10.0µs ± 3% 1.3µs ± 4% -86.91% (p=0.029 n=4+4)
name old alloc/op new alloc/op delta
HashString/n28-10 80.0B ± 0% 72.0B ± 0% -10.00% (p=0.029 n=4+4)
HashString/n112-10 160B ± 0% 152B ± 0% -5.00% (p=0.029 n=4+4)
HashString/n448-10 496B ± 0% 488B ± 0% -1.61% (p=0.029 n=4+4)
HashString/n1792-10 1.84kB ± 0% 1.83kB ± 0% -0.43% (p=0.029 n=4+4)
HashString/n7168-10 8.24kB ± 0% 8.23kB ± 0% -0.06% (p=0.029 n=4+4)
name old allocs/op new allocs/op delta
HashString/n28-10 4.00 ± 0% 3.00 ± 0% -25.00% (p=0.029 n=4+4)
HashString/n112-10 4.00 ± 0% 3.00 ± 0% -25.00% (p=0.029 n=4+4)
HashString/n448-10 4.00 ± 0% 3.00 ± 0% -25.00% (p=0.029 n=4+4)
HashString/n1792-10 4.00 ± 0% 3.00 ± 0% -25.00% (p=0.029 n=4+4)
HashString/n7168-10 4.00 ± 0% 3.00 ± 0% -25.00% (p=0.029 n=4+4)
```
|
|
Closes #10855
Closes #8586
Closes #8996
|
|
Closes #8627
|
|
Fixes #12638
|
|
Fixes #12438
|
|
Closes #12618
Closes #12620
|
|
Closes #8086
Closes #12589
|
|
Fixes #12617
|
|
```text
name old time/op new time/op delta
TaxonomiesGetTerms/pages_100-10 5.25ms 5% 5.13ms 4% ~ (p=0.486 n=4+4)
TaxonomiesGetTerms/pages_1000-10 30.1ms 1% 26.8ms 1% -11.13% (p=0.029 n=4+4)
TaxonomiesGetTerms/pages_10000-10 1.33s 24% 0.29s 2% -78.42% (p=0.029 n=4+4)
TaxonomiesGetTerms/pages_20000-10 5.50s 12% 0.83s 28% -84.88% (p=0.029 n=4+4)
name old alloc/op new alloc/op delta
TaxonomiesGetTerms/pages_100-10 4.08MB 0% 4.06MB 0% -0.59% (p=0.029 n=4+4)
TaxonomiesGetTerms/pages_1000-10 25.1MB 0% 24.9MB 0% -0.87% (p=0.029 n=4+4)
TaxonomiesGetTerms/pages_10000-10 238MB 2% 233MB 0% -1.94% (p=0.029 n=4+4)
TaxonomiesGetTerms/pages_20000-10 469MB 0% 465MB 0% -1.00% (p=0.029 n=4+4)
name old allocs/op new allocs/op delta
TaxonomiesGetTerms/pages_100-10 49.5k 0% 48.9k 0% -1.17% (p=0.029 n=4+4)
TaxonomiesGetTerms/pages_1000-10 304k 0% 298k 0% -1.97% (p=0.029 n=4+4)
TaxonomiesGetTerms/pages_10000-10 3.02M 7% 2.81M 0% -7.09% (p=0.029 n=4+4)
TaxonomiesGetTerms/pages_20000-10 5.77M 1% 5.59M 0% -3.19% (p=0.029 n=4+4)
```
Note that the numbers above represents a full site build, but GetTerms is a big part of the site in question.
Fixes #12610
|
|
Closes #12578
|
|
Also consolidate the pagination configuration into a struct.
Closes #12572
|
|
* Recover from server errors
* Improve go adapter rebuilds when adding new content
See #12502
Fixes #12570
|
|
Fixes #12502
Closes #11891
|
|
Fixes #12561
|
|
Closes #12513
|
|
Closes #12556
|
|
Fixes #12538
|
|
Fixes #12507
|
|
Fixes #12544
|
|
Closes #12525
|
|
Closes #12511
|
|
Fixes #12497
|
|
Fixes #12493
|
|
Closes #12427
Closes #12485
Closes #6310
Closes #5074
|
|
This is how we should have fixed #1239.
Fixes #12456
|
|
Fixes #12458
|
|
So it doesn't get visible when passing it to `jsonify`.
|
|
And also avoid reading sub directories on simple changes to branch `_index.md` files.
Fixes #12449
|
|
Also fix it so
* It's not printed when running `hugo -w`
* It'd printed for all kinds of rebuilds
Fixes #12384
|