Bjørn Erik Pedersen
2658a71e1b
Squashed 'docs/' changes from a9584e3d1..8c46b304a
...
8c46b304a Correct description of build options > render > link
f57932df1 Fix front matter example
a7e5fea73 Clarify pagination restriction
3a7e665db Fix typos
f60845249 List translation keys reserved by nicksnyder/go-i18n
94f2a3608 Fix typo
2da1198ac Update FNV32a.md: new-in 0.98.0
d9a4c66ae Fix typo data-templates.md
0d3c2e2c3 Update partials.md
d7e9a0878 Update partials.md
git-subtree-dir: docs
git-subtree-split: 8c46b304a0679d4e2b6c923ed0363efdfdcf48c1
2024-02-19 18:59:28 +01:00
hugoreleaser
8406a3e9dc
releaser: Bump versions for release of 0.123.0
...
[ci skip]
2024-02-19 17:28:48 +00:00
dependabot[bot]
f54ba6f9ef
build(deps): bump github.com/tdewolff/minify/v2 from 2.20.16 to 2.20.17
...
Bumps [github.com/tdewolff/minify/v2](https://github.com/tdewolff/minify ) from 2.20.16 to 2.20.17.
- [Release notes](https://github.com/tdewolff/minify/releases )
- [Commits](https://github.com/tdewolff/minify/compare/v2.20.16...v2.20.17 )
---
updated-dependencies:
- dependency-name: github.com/tdewolff/minify/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-19 17:21:17 +01:00
dependabot[bot]
4019b177e6
build(deps): bump github.com/evanw/esbuild from 0.20.0 to 0.20.1
...
Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild ) from 0.20.0 to 0.20.1.
- [Release notes](https://github.com/evanw/esbuild/releases )
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md )
- [Commits](https://github.com/evanw/esbuild/compare/v0.20.0...v0.20.1 )
---
updated-dependencies:
- dependency-name: github.com/evanw/esbuild
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-19 17:12:14 +01:00
Bjørn Erik Pedersen
5dbc29dc6c
Handle rebuilds when resources passed to transform.Unmarshal etc. changes
...
Fixes #12065
2024-02-19 14:50:23 +01:00
Bjørn Erik Pedersen
5ada27bf65
Fix handling of build options for term pages
...
Fixes #12058
2024-02-18 16:50:35 +01:00
Bjørn Erik Pedersen
60b176cb57
docs: Regen docshelper
2024-02-18 13:20:15 +01:00
Bjørn Erik Pedersen
afe5b6d7df
Fix sample logic when adding content files in server
...
The partial rebuilds works by calaulating a baseline from a change set.
For new content, this doesn't work, so to avoid rebuilding everything, we first
try to collect a sample of surrounding identities (e.g. content files in the same section).
This commit fixes a flaw in that logic that in some (many...) cases would return a too small sample set.
Fixes #12054
2024-02-18 12:24:27 +01:00
Christian Oliff
168d375784
all: Fix typos and some URLs
2024-02-18 12:16:30 +01:00
dependabot[bot]
4a53fd56b7
build(deps): bump golang.org/x/tools from 0.17.0 to 0.18.0
...
Bumps [golang.org/x/tools](https://github.com/golang/tools ) from 0.17.0 to 0.18.0.
- [Release notes](https://github.com/golang/tools/releases )
- [Commits](https://github.com/golang/tools/compare/v0.17.0...v0.18.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/tools
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-17 18:27:49 +01:00
Bjørn Erik Pedersen
fc6aabe938
Fix handling of draft term pages
...
By just removing the term page and all of its page entries.
Fixes #12055
2024-02-17 18:12:25 +01:00
Bjørn Erik Pedersen
9cc65757a1
releaser: Fix archive homepage and description
...
Fixes #12053
2024-02-17 13:32:15 +01:00
Bjørn Erik Pedersen
4835f9e898
commands: Fix --clock with the list command
...
Fixes #11888
2024-02-17 13:14:15 +01:00
Bjørn Erik Pedersen
5bdda0bdbf
Don't use the same value in .Data.Term.Title as in .Title
...
Fixes #12041
2024-02-17 12:34:50 +01:00
Bjørn Erik Pedersen
9679443c15
Fix server panic on i18n file change
...
Fixes #12048
2024-02-17 11:46:45 +01:00
dependabot[bot]
2d1681d915
build(deps): bump golang.org/x/net from 0.20.0 to 0.21.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.20.0 to 0.21.0.
- [Commits](https://github.com/golang/net/compare/v0.20.0...v0.21.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-02-17 11:16:15 +01:00
Bjørn Erik Pedersen
68f67c9aeb
Fix rebuild regression on non-default content language edits
...
Fixes #12043
2024-02-16 19:05:18 +01:00
Fabian Kammel
43ea2cd660
Let standard library handle charset parameter to MIME types
...
Fixes #10734
2024-02-16 18:24:25 +01:00
Bjørn Erik Pedersen
f1491c900e
Fix i18n rebuild regression
...
Fixes #12039
2024-02-16 16:17:57 +01:00
Bjørn Erik Pedersen
639073e4fe
Fix rebuild with resources.Concat
...
Fixes #12017
2024-02-16 13:17:53 +01:00
Joe Mooring
21d9057dbf
Add images.Dither filter
...
Closes #8598
2024-02-11 22:51:11 +02:00
Christian Oliff
0672b5c766
all: Fix typos
2024-02-11 13:51:33 +02:00
Rosano
e309f82efe
resources/page: Fix typo
2024-02-10 21:28:03 +02:00
Joe Mooring
6f59d96bba
markup/goldmark: Update TOC test
...
- Change copyright date
- Change name of site configuration file
- Reference issue numbers in failing tests
2024-02-10 20:16:59 +02:00
Bjørn Erik Pedersen
caba6ba6e7
Fix taxonomy term with backing file regression
...
Fixes #12020
2024-02-10 18:48:53 +02:00
Joe Mooring
f4575e5f29
markup/goldmark: Improve TOC tests
2024-02-10 16:03:37 +02:00
Bjørn Erik Pedersen
0851c175ad
Move the duplicate page/resource filter
...
Move the removal of duplicate content and resource files after we have determined if we're inside a leaf bundle or not.
Note that these would eventually have been filtered out as duplicates when inserting them into the document store, but doing it here will preserve a consistent ordering.
Fixes #12013
2024-02-08 20:11:17 +01:00
Bjørn Erik Pedersen
676e6875da
Make HTML behave exactly like other content formats (note)
...
Fixes #11999
2024-02-07 21:37:04 +01:00
Bjørn Erik Pedersen
068ccde4c7
docs: Regen CLI docs
2024-02-07 20:49:52 +01:00
Bjørn Erik Pedersen
7cb447ab8e
docs: Regenerate docshelper
2024-02-07 20:48:25 +01:00
Bjørn Erik Pedersen
6efb279bfa
Squashed 'docs/' changes from 5c085a37b..a9584e3d1
...
a9584e3d1 ci: bump GitHub workflow actions to latest versions
f37ee374d Fix methods related to time.After
a49214057 Correct heading render hook example
4b696f936 Update README.md
b5a6e4039 Clean up the contributing section
a5d79ed19 Fixed typo: instea → instead
6150a60e3 Remove the "local file templates" page
9395743dc Update/vendor theme
33d8c10cc Remove output format "name" parameter
7200ad97d Add security section to resources.GetRemote page
3f1e056b2 Remove erroneous front matter field
07c9a7e42 Add alpha index to glossary
6619c8aa0 Fix Page.Params example
145a92359 Simplify string concat example in math.Add
42488bb09 Add string concat example to math.Add
eb20521a2 Fix flash of unstyled content with mathematical markup
74603bebe Fix typo in 'typesetting'
git-subtree-dir: docs
git-subtree-split: a9584e3d146c4a194d937a4dc8a37cde5ba1c618
2024-02-07 20:46:41 +01:00
Bjørn Erik Pedersen
b8d5090452
Merge commit '6efb279bfacbd7304cef994be8181c6f804e7dd4'
2024-02-07 20:46:41 +01:00
dependabot[bot]
301bafabe0
build(deps): bump golang.org/x/mod from 0.14.0 to 0.15.0
...
Bumps [golang.org/x/mod](https://github.com/golang/mod ) from 0.14.0 to 0.15.0.
- [Commits](https://github.com/golang/mod/compare/v0.14.0...v0.15.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/mod
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-07 20:44:21 +01:00
Bjørn Erik Pedersen
9571246bcc
Upgrade to Go 1.22
...
Fixes #12010
2024-02-07 20:42:42 +01:00
Bjørn Erik Pedersen
0257eb50a4
Avoid impporting deploy from config when nodeploy tag is set
...
Test:
```
go list -tags nodeploy ./... | grep deploy
```
Fixes #12009
2024-02-07 20:38:13 +01:00
Bjørn Erik Pedersen
a65622a13e
Fix rebuild of changed bundled content files
...
Fixes #12000
2024-02-06 21:53:33 +01:00
Bjørn Erik Pedersen
146aedd7aa
Fix site.Taxonomies for taxonomies with space in name
...
Fixes #12001
2024-02-06 18:17:30 +01:00
Bjørn Erik Pedersen
bd0200da6e
commands: Remove unused memstats flag
2024-02-05 19:06:27 +01:00
Bjørn Erik Pedersen
a80c3021ba
source: Remove unused Filesystem struct
2024-02-05 15:03:03 +01:00
Bjørn Erik Pedersen
9df7b295bc
Filter dot files etc. in i18n
...
Closes #11993
2024-02-05 14:54:02 +01:00
Bjørn Erik Pedersen
c37bf19c89
commands: Revert the recent changes that allowed profiling on server rebuilds
...
There have been indications that this may freeze the server.
2024-02-05 14:27:35 +01:00
Bjørn Erik Pedersen
9c6d377872
commands: Make the server flag --renderToDisk into --renderToMemory (note)
...
Fixes #11987
2024-02-05 14:04:17 +01:00
dependabot[bot]
58d7f83390
build(deps): bump github.com/yuin/goldmark from 1.6.0 to 1.7.0
...
Bumps [github.com/yuin/goldmark](https://github.com/yuin/goldmark ) from 1.6.0 to 1.7.0.
- [Release notes](https://github.com/yuin/goldmark/releases )
- [Commits](https://github.com/yuin/goldmark/compare/v1.6.0...v1.7.0 )
---
updated-dependencies:
- dependency-name: github.com/yuin/goldmark
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-05 11:48:46 +01:00
Bjørn Erik Pedersen
609d798e34
Handle resource changes when the resources is already evicted from cache
...
Also fix a logical flaw in the cache resizer that made it too aggressive. After this I haven't been able to reproduce #11988 , but I need to look closer.
Closes #11973
Updates #11988
2024-02-04 16:55:06 +01:00
Bjørn Erik Pedersen
53f204310e
all: Rename Unmormalized => Unnormalized
2024-02-03 18:10:38 +01:00
Joe Mooring
7f82461407
hugolib: Formally deprecate .Page.NextPage .Page.PrevPage
...
Use .Page.Next and .Page.Prev instead.
2024-02-03 17:28:52 +01:00
Bjørn Erik Pedersen
b72f909725
hugio: Rename strigReadSeeker => stringReadSeeker
2024-02-03 17:25:34 +01:00
Joe Mooring
3a665ddbf9
resources/page: Formally deprecate .Site.LastChange
...
Use .Site.Lastmod instead.
2024-02-03 17:11:06 +01:00
Bjørn Erik Pedersen
46575baa02
Preserve file/dir name case when loading data
...
Fixes #11979
2024-02-03 16:30:10 +01:00
Bjørn Erik Pedersen
058f230a1b
Detect now invalid path patterns in cascade
...
Closes #11977
2024-02-03 15:07:59 +01:00