Joe Mooring
6dbbe6dd3a
resources/images: Handle NaN EXIF latitude and longitude
...
Fixes #12490
2024-05-14 14:16:58 +02:00
Bjørn Erik Pedersen
e2d66e3218
Create pages from _content.gotmpl
...
Closes #12427
Closes #12485
Closes #6310
Closes #5074
2024-05-14 13:12:08 +02:00
Joe Mooring
55dea41c1a
create/skeletons: Remove superfluous language code fallback
...
Closes #12479
2024-05-14 10:24:53 +02:00
Joe Mooring
87ab7f7ffc
tpl/tplimpl: Improve locale value in opengraph.html
...
Closes #12480
2024-05-14 10:24:17 +02:00
dependabot[bot]
ee26e69ce3
build(deps): bump golang.org/x/net from 0.24.0 to 0.25.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.24.0 to 0.25.0.
- [Commits](https://github.com/golang/net/compare/v0.24.0...v0.25.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-05-10 22:33:46 +02:00
dependabot[bot]
6e83d00a83
build(deps): bump golang.org/x/image from 0.15.0 to 0.16.0
...
Bumps [golang.org/x/image](https://github.com/golang/image ) from 0.15.0 to 0.16.0.
- [Commits](https://github.com/golang/image/compare/v0.15.0...v0.16.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-05-10 22:33:33 +02:00
Bjørn Erik Pedersen
d02f0622b4
livereload: Improve the livereload script build and update to v4.0.2
...
This script has very infrequent updates, but just copy pasting the minified source creates some potential trust issues.
This JS will now be pulled from a Git version and both the unminified and minified version gets written to disk.
This way it should be easier to reason about changes in the future.
To upgrade, change the commit hash and run `mage generate`.
Closes #12451
Closes #6290
2024-05-10 22:33:08 +02:00
Joe Mooring
6dfeb9f038
tpl/tplimpl: Retain query string and fragment in render-image.html
...
Closes #12468
2024-05-10 22:32:48 +02:00
Joe Mooring
ca9a77ef92
markup/goldmark: Support extras extension
...
Enables inclusion of these HTML elements in Markdown:
- Inserted Text (++inserted++)
- Mark Text (==marked==)
- Subscript (H~2~O)
- Superscript (1^st^)
2024-05-10 22:32:02 +02:00
hugoreleaser
b1bf0bff2c
releaser: Prepare repository for 0.126.0-DEV
...
[ci skip]
2024-05-08 15:00:23 +00:00
hugoreleaser
b1d808bc37
releaser: Bump versions for release of 0.125.7
...
[ci skip]
2024-05-08 14:46:24 +00:00
Bjørn Erik Pedersen
3c6260f046
deps: Downgrade github.com/getkin/kin-openapi v0.124.0 => v0.123.0
...
We have received reports from users of Hugo's `openapi3.Unmarshal` about breaking behavior in the mentioned `kin-openapi` version, so revert for now, pending further investigation.
2024-05-08 16:42:48 +02:00
Bjørn Erik Pedersen
70c13f444e
readme: Update Sponsors
2024-05-08 11:37:56 +02:00
hugoreleaser
c46d603a02
releaser: Prepare repository for 0.126.0-DEV
...
[ci skip]
2024-05-05 11:05:28 +00:00
hugoreleaser
69ede10edc
releaser: Bump versions for release of 0.125.6
...
[ci skip]
2024-05-05 10:52:52 +00:00
Bjørn Erik Pedersen
bb59a7ed97
Fix one more resource change eviction logic issue
...
This is how we should have fixed #1239 .
Fixes #12456
2024-05-05 12:41:51 +02:00
Bjørn Erik Pedersen
503d20954f
Make the cache eviction logic for stale entities more robust
...
Fixes #12458
2024-05-04 19:45:43 +02:00
dependabot[bot]
68e95327f7
build(deps): bump github.com/pelletier/go-toml/v2 from 2.2.1 to 2.2.2
...
Bumps [github.com/pelletier/go-toml/v2](https://github.com/pelletier/go-toml ) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/pelletier/go-toml/releases )
- [Changelog](https://github.com/pelletier/go-toml/blob/v2/.goreleaser.yaml )
- [Commits](https://github.com/pelletier/go-toml/compare/v2.2.1...v2.2.2 )
---
updated-dependencies:
- dependency-name: github.com/pelletier/go-toml/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-02 11:29:07 +02:00
Bjørn Erik Pedersen
9cd7db61d3
Run mage generate
2024-05-02 10:49:09 +02:00
Bjørn Erik Pedersen
c892e75fbc
resources/page: Pull internal Page methods into its own interface
...
So it doesn't get visible when passing it to `jsonify`.
2024-05-02 10:49:02 +02:00
hugoreleaser
4255d13d3e
releaser: Prepare repository for 0.126.0-DEV
...
[ci skip]
2024-05-01 15:36:00 +00:00
hugoreleaser
c8b9f9f81c
releaser: Bump versions for release of 0.125.5
...
[ci skip]
2024-05-01 15:22:11 +00:00
Bjørn Erik Pedersen
7be7f89bf6
Fix rebuilds on cascade deletes/renames
...
And also avoid reading sub directories on simple changes to branch `_index.md` files.
Fixes #12449
2024-05-01 17:18:30 +02:00
Bjørn Erik Pedersen
c8e400b621
commands: Print "Webserver is ..." right before "Total ..."
...
Also fix it so
* It's not printed when running `hugo -w`
* It'd printed for all kinds of rebuilds
Fixes #12384
2024-05-01 10:52:40 +02:00
Bjørn Erik Pedersen
9dd687027f
Make sure replaced pages gets marked as stale
...
Fixes #12436
2024-04-30 20:57:44 +02:00
hugoreleaser
1961327536
releaser: Prepare repository for 0.126.0-DEV
...
[ci skip]
2024-04-25 13:40:37 +00:00
hugoreleaser
cc3574ef4f
releaser: Bump versions for release of 0.125.4
...
[ci skip]
2024-04-25 13:27:26 +00:00
Peter van Dijk
fe84cc218e
commands: Clarify that create or install a theme are two options
2024-04-25 14:38:22 +02:00
Bjørn Erik Pedersen
babcb339a8
config: Setups with only one active language can never be multihost
...
Fixes #12288
2024-04-25 14:35:49 +02:00
Bjørn Erik Pedersen
7203a95a60
Fix rebuilds when running hugo -w
...
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
2024-04-25 14:35:49 +02:00
dependabot[bot]
fb084390cd
build(deps): bump github.com/tdewolff/minify/v2 from 2.20.19 to 2.20.20
...
Bumps [github.com/tdewolff/minify/v2](https://github.com/tdewolff/minify ) from 2.20.19 to 2.20.20.
- [Release notes](https://github.com/tdewolff/minify/releases )
- [Commits](https://github.com/tdewolff/minify/compare/v2.20.19...v2.20.20 )
---
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-04-25 11:44:14 +02:00
Joe Mooring
fb51b698b3
tpl/tplimpl: Fix double-escaping in opengraph template
...
Closes #12418
2024-04-25 10:03:17 +02:00
Bjørn Erik Pedersen
6b867972ec
Use Apache License without modification
...
Closes #12415
2024-04-23 09:15:29 +02:00
Bjørn Erik Pedersen
509ab08c1b
markup/goldmark: Fix data race in the hugocontext wrapper
...
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.
2024-04-22 19:10:15 +02:00
Bjørn Erik Pedersen
2d75f539e1
Delete .hugo_build.lock
...
Added to Git by accident.
2024-04-22 16:57:48 +02:00
Bjørn Erik Pedersen
15a4b9b337
tpl: Escape .Title in built-in image and link render hooks
...
Co-authored-by: Joe Mooring <joe@mooring.com>
2024-04-22 16:54:24 +02:00
Joe Mooring
10a8448eee
tpl/tplimpl: Improve embedded templates
...
- Do not call the YouTube oEmbed API
- Do not include the Hugo version in RSS feeds
Closes #12396
2024-04-22 15:57:37 +02:00
Eric Anderson
722c486a34
SECURITY.md: Update link to security model
...
The security model was moved in https://github.com/gohugoio/hugoDocs/pull/2495
2024-04-22 13:04:53 +02:00
Bjørn Erik Pedersen
f40f50ead0
modules: Fix potential infinite loop in module collection
...
Fixes #12407
2024-04-22 11:34:11 +02:00
hugoreleaser
4e483f5d4a
releaser: Bump versions for release of 0.125.2
...
[ci skip]
2024-04-20 15:29:44 +00:00
Bjørn Erik Pedersen
06d248910c
Only add root sections to the section pages menu
...
Fixes #12399
2024-04-20 17:23:33 +02:00
Bjørn Erik Pedersen
004b694390
Fix partial rebuilds for SCSS fetched with GetMatch and similar
...
Fixes #12395
2024-04-20 15:09:12 +02:00
Joe Mooring
da6112fc65
commands: Add gen chromastyles --lineNumbersTableStyle flag
...
For symmetry, also rename --linesStyle to --lineNumbersInlineStyle.
Closes #12393
2024-04-20 12:25:28 +02:00
Bjørn Erik Pedersen
faf9fedc3d
resources/images: Fix TestColorLuminance on s390x
2024-04-19 11:21:50 +02:00
Joe Mooring
11aa893198
commands: Provide examples for chromastyles flags
...
Closes #12387
2024-04-18 12:16:36 -07:00
hugoreleaser
d88cb5269a
releaser: Prepare repository for 0.126.0-DEV
...
[ci skip]
2024-04-18 08:34:20 +00:00
hugoreleaser
68c5ad638c
releaser: Bump versions for release of 0.125.1
...
[ci skip]
2024-04-18 08:21:19 +00:00
Bjørn Erik Pedersen
0c188fda24
tpl: Use erroridf for remote YouTube errors
...
So they can be silenced.
Fixes #12383
2024-04-18 10:02:36 +02:00
Bjørn Erik Pedersen
bbc6888d02
build: Fix `GLIBC_2.29' not found issue
...
Closes #12381
2024-04-17 12:04:00 +02:00
hugoreleaser
8c14d1edc3
releaser: Prepare repository for 0.126.0-DEV
...
[ci skip]
2024-04-16 15:21:02 +00:00