Age | Commit message (Collapse) | Author |
|
Broken by me in Hugo 0.103.0 it seems. A little bit mysterious as it has worked for me after that, but started to fail just
recently.
Closes #10668
|
|
Both will of course work, but hugo.toml will win if both are set.
We should have done this a long time ago, of course, but the reason I'm picking this up now is that my VS Code setup by default picks up some
JSON config schema from some random other software which also names its config files config.toml.
Fixes #8979
|
|
|
|
So you can do `process.env.HUGO_PUBLISHDIR` in your `postcss.config.js` to figure out where Hugo publishes
its files.
Note that the value will always be an absolute file path and will point to a directory on disk even when running `hugo server` in memory mode.
If you write to this folder from PostCSS when running the server, you could run the server with one of these flags:
```
hugo server --renderToDisk
hugo server --renderStaticToDisk
```
Fixes #10554
|
|
Fixes #10561
|
|
Fixes #10556
|
|
Fixes #10534
|
|
This is how it may look like with a extended build:
```
hugo v0.107.0-6445b1e9ff963b07c55d9d69cb9abef8ef21fc5d+extended darwin/arm64 BuildDate=2022-12-06T11:21:50Z
GOOS="darwin"
GOARCH="arm64"
GOVERSION="go1.19.3"
github.com/sass/libsass="3.6.5"
github.com/webmproject/libwebp="v1.2.4"
github.com/sass/dart-sass-embedded/protocol="1.1.0"
github.com/sass/dart-sass-embedded/compiler="1.56.1"
github.com/sass/dart-sass-embedded/implementation="1.56.1"
```
|
|
Closes #10460
|
|
|
|
Set getNumHomes: 1 to enable 567 ms or 2 s of wait for the server
to be ready in TestServerPathEncodingIssues/Unicode_paths and
TestServerPathEncodingIssues/Windows_multilingual_404.
Fixes #10332
|
|
Regression introduced in v0.104.1.
|
|
In `v0.103.0` we added support for `resources.PostProcess` for all file types, not just HTML. We had benchmarks that said we were fine in that department, but those did not consider the static file syncing.
This fixes that by:
* Making sure that the /static syncer always gets its own file system without any checks for the post process token.
* For dynamic files (e.g. rendered HTML files) we add an additional check to make sure that we skip binary files (e.g. images)
Fixes #10328
|
|
Fixes #10314
|
|
|
|
Fixes #10287
|
|
Not just HTML.
Fixes #10269
|
|
|
|
|
|
Closes #9243
|
|
Fixes #8257
|
|
Fixes #9932
Fixes #9931
|
|
Fixes #10004
|
|
Fixes #9971
|
|
There are some commands that needs to complete without a complete configuration.
|
|
Fixes #9838
|
|
If the flag is enabled, `.hugo_build.lock` will not be created.
This ensures safe running on read-only filesystem etc.
Close #9780
|
|
Just use `afero.OsFs` without building site.
Close #9817
|
|
As introduced in v0.99.0.
Fixes #9901
|
|
We cannot cache it forever, as that will not allow the end user to edit and preview it.
|
|
Also fix the config error messages.
Fixes #9664
|
|
Fixes #9897
|
|
* Redo the server error template
* Always add the content file context if relevant
* Remove some now superflous error string matching
* Move the server error template to _server/error.html
* Add file context (with position) to codeblock render blocks
* Improve JS build errors
Fixes #9892
Fixes #9891
Fixes #9893
|
|
Fixes #9884
|
|
We cannot (also, it doesn't add any value) use that when the `clock` is set,
* To measure time (before that global is set)
* To compare file timestamps re cache eviction
Fixes #9868
|
|
And some other related adjustments.
Updates #8787
|
|
Close #8787
|
|
* Add file context to minifier errors when publishing
* Misc fixes (see issues)
* Allow custom server error template in layouts/server/error.html
To get to this, this commit also cleans up and simplifies the code surrounding errors and files. This also removes the usage of `github.com/pkg/errors`, mostly because of https://github.com/pkg/errors/issues/223 -- but also because most of this is now built-in to Go.
Fixes #9852
Fixes #9857
Fixes #9863
|
|
As introduced in Hugo `v0.76.1`.
And add a proper test for it.
Fixes #9794
Closes #9788
|
|
This reverts commit 6c35a1a9eacf2aa86a11ecd31c4022ce330b2f16.
Updates #9794
|
|
This reverts commit 4deb5c60661bdb1d686664f0207f45517a086f29.
|
|
Fixes #9788
|
|
See #9626
|
|
This reverts commit 5ef8a9f32c25a9b4cc821393c58733e57a7ad234.
|
|
in server mode""
This reverts commit 64b7b7a89753a39661219b2fcb92d7f185a03f63.
|
|
|
|
Do this by announcing/listen on the local address before we start the server.
|
|
Updates #9687
|
|
Closes #9671
|
|
Updates #9647
|