Age | Commit message (Collapse) | Author |
|
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
|
|
Fixes #12436
|
|
Fixes #12288
|
|
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
|
|
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.
|
|
Co-authored-by: Joe Mooring <[email protected]>
|
|
Fixes #12399
|
|
Fixes #12395
|
|
Fixes #12362
|
|
See #12375
|
|
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
|
|
Fixes #12369
|
|
Closes #12359
|
|
|
|
|
|
Fix regression in content summarization so that we can use empty
summary by using the manual summary divider. Since v0.123, there
has been the regression that causes Hugo to use automatic summary
generation when the manual summary results in an empty string,
even if there is a `<!--more-->` summary divider.
|
|
Fixes #12306
|
|
Changes:
- Add query string params for controls, loop, mute, start, and end
- Add iframe loading attribute
- Obtain default iframe title from YouTube oEmbed API
- Fix autoplay feature
- Improve readability
Closes #3694
Closes #9213
Closes #10520
Closes #10575
Closes #10576
Co-authored-by: sgharms <[email protected]>
|
|
Fixes #12320
|
|
Define global inclusion/exclusion in site configuration, and override
via front matter. For example, to exclude a page from the sitemap:
[sitemap]
disable = true # default is false
Closes #653
Closes #12282
Co-authored-by: kolappannathan <[email protected]>
Co-authored-by: felicianotech <[email protected]>
|
|
Closes #11867
|
|
Changes:
- Remove trailing comma from list of keywords.
- Improve keywords precedence:
1. Use "keywords" term page titles.
2. Use "keywords" from front matter if "keywords" is not a taxonomy.
3. Use "tags" term page titles.
4. Use term page titles from all taxonomies.
- Enable schema for all page kinds, previously limited to kind = page.
- Remove trailing slashes from void elements.
- Improve readability.
Closes #7570
Co-authored by: 0urobor0s <[email protected]>
|
|
Google Analytics 4 (GA4) replaced Google Universal Analytics (UA)
effective 1 July 2023.
See https://support.google.com/analytics/answer/11583528.
Changes:
- Update tpl/tplimpl/embedded/templates/google_analytics.html
- Remove tpl/tplimpl/embedded/templates/google_analytics_async.html
- Remove extraneous config settings
Closes #11802
Closes #10093
|
|
Suppress the .Site.Author deprecation notice unless the Author key
is present and not empty in the site configuration.
Closes #12297
|
|
Fixes #12129
|
|
Fixes #12165
|
|
Fixes #12275
|