Bjørn Erik Pedersen
91fe1b6c69
js: Bump test dependency
...
To work around a cache issue.
2022-05-13 11:08:23 +02:00
Bjørn Erik Pedersen
7de629121d
deps: Update github.com/spf13/cast v1.4.1 => v1.5.0
2022-05-11 17:03:28 +02:00
Bjørn Erik Pedersen
9d7f166244
hugolib: Check for nil in shouldRender
2022-05-09 15:53:25 +02:00
Bjørn Erik Pedersen
51f08b0b6a
Revise the use of htime.Since/htime.Now
...
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
2022-05-09 14:18:40 +02:00
Bjørn Erik Pedersen
860c51c314
tpl/collections: Make sort stable
...
Fixes #9865
2022-05-08 20:45:54 +02:00
Bjørn Erik Pedersen
855e5869c6
docs: Regen CLI docs
2022-05-08 16:57:29 +02:00
Bjørn Erik Pedersen
327aaed6d8
Squashed 'docs/' changes from 7030fe3a2..2d9da3a56
...
2d9da3a56 Update build-options.md
5d910e24d Update introduction.md
111482a8d netlify: Hugo 0.98.0
d5505ca6f docs: Regen docs helper
git-subtree-dir: docs
git-subtree-split: 2d9da3a563a90eb8bc80dfb387b25a34b328329e
2022-05-08 16:56:42 +02:00
Bjørn Erik Pedersen
1c7759028e
Merge commit '327aaed6d8ca57d8e5e3acb99ff53402ff1c556d'
2022-05-08 16:56:42 +02:00
Bjørn Erik Pedersen
35c88a7f90
Use configured timeZone for the clock
...
And some other related adjustments.
Updates #8787
2022-05-08 16:56:26 +02:00
satotake
e77ca3c105
Add clock
cli flag
...
Close #8787
2022-05-08 16:56:26 +02:00
Bjørn Erik Pedersen
f2946da9e8
Improve error messages, esp. when the server is running
...
* 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
2022-05-06 19:43:22 +02:00
Bjørn Erik Pedersen
6eea32bd6b
tpl: Improve godoc
2022-05-06 19:43:22 +02:00
nathannaveen
a6d545854a
github: Add permissions to test action
2022-05-03 09:23:47 +02:00
Bjørn Erik Pedersen
e5f2173169
tpl/crypto: Add example for FNV32a
2022-04-28 17:47:17 +02:00
hugoreleaser
89c1655ec8
releaser: Prepare repository for 0.99.0-DEV
...
[ci skip]
2022-04-28 11:02:45 +00:00
hugoreleaser
165d299cde
releaser: Bump versions for release of 0.98.0
...
[ci skip]
2022-04-28 10:23:30 +00:00
hugoreleaser
e94dc6710a
releaser: Add release notes for 0.98.0
...
[ci skip]
2022-04-28 10:23:30 +00:00
Bjørn Erik Pedersen
a4fff5753f
docs: Regen docs helper
2022-04-28 11:53:03 +02:00
Bjørn Erik Pedersen
3902f9a476
Squashed 'docs/' changes from 4c5edacfe..7030fe3a2
...
7030fe3a2 Remove .hvm file
dd0f98831 Add details for DigitalOcean (#1730 )
ff0c8a6e7 netlify: Hugo 0.97.3
e254724a7 Delete hosting-on-bitbucket.md (#1723 )
f4304fb7e Remove references to mmark (#1727 )
255319023 remove broken link to codeplex.com (#1725 )
06cc3856b delete broken link (#1724 )
ec80dc069 Revert "netlify: Hugo 0.97.2"
211bad5de netlify: Hugo 0.97.2
cd549bca9 Revert "netlify: Update to Hugo 0.97.1" (#1722 )
1039a0a48 netlify: Update to Hugo 0.97.1
a28e0d0d3 Update AddDate method
9077b443f Update lists.md
6b174329a Update lists.md
d87d9e296 netlify: Hugo 0.97.0
fa7db7c7e Merge branch 'tempv0.97.0'
dd6df54b5 Fix broken anchor links (#1717 )
6b6743976 Remove StackImpact showcase
d00a7eda9 Fix for Cloudflare docs location (#1716 )
890866722 Add git required FAQ & remove ZIP from Quick Start (#1713 )
73e82d911 resources: Add `key` to reources.GetRemote options map
6795cd2a1 Correct possible typos re: Alias robots usage (#1165 )
efd5d186a Hosting on Cloudflare Pages (#1709 )
9239c5f2a deps: Update github.com/tdewolff/minify/v2 v2.10.0 => v2.11.0
859573bc8 Merge commit 'ec920363cdeb687c8bcac9c242767d366fb058cb'
21f108f12 docs: Regen CLI docs
9b6e7afd2 Add environment as a new filter to _cascade.target
git-subtree-dir: docs
git-subtree-split: 7030fe3a2ea107a23a4442902cb693557a421523
2022-04-28 11:52:15 +02:00
Bjørn Erik Pedersen
4852a37653
Merge commit '3902f9a4767fe6e62ac5146728d8311b8cd227e0'
2022-04-28 11:52:15 +02:00
Bjørn Erik Pedersen
fa80fe3c8a
Some godoc adjustments and image struct renames
2022-04-27 23:53:56 +02:00
Bjørn Erik Pedersen
11047534e4
tpl/crypto: Add FNV32a
...
Main motivation to get a integer from a string.
2022-04-27 23:53:56 +02:00
Bjørn Erik Pedersen
d7b54a4c37
markup/goldmark: Fix attribute nilpointer
...
Fixes 9819
2022-04-27 23:53:56 +02:00
Bjørn Erik Pedersen
13ceef7599
deps: Update to gocloud.dev v0.24.0
...
Note that the v0.25.0 version is broken (for Hugo, at least).
2022-04-27 12:12:43 +02:00
dependabot[bot]
942d0dd2c7
build(deps): bump github.com/mitchellh/mapstructure from 1.4.3 to 1.5.0
...
Bumps [github.com/mitchellh/mapstructure](https://github.com/mitchellh/mapstructure ) from 1.4.3 to 1.5.0.
- [Release notes](https://github.com/mitchellh/mapstructure/releases )
- [Changelog](https://github.com/mitchellh/mapstructure/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mitchellh/mapstructure/compare/v1.4.3...v1.5.0 )
---
updated-dependencies:
- dependency-name: github.com/mitchellh/mapstructure
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-27 10:06:21 +02:00
Joe Mooring
a022ca271b
deps: Update github.com/yuin/goldmark v1.4.11 => v1.4.12
...
Fixes #9054
Fixes #9756
Fixes #9757
2022-04-27 10:04:00 +02:00
dependabot[bot]
d56b33955f
build(deps): bump github.com/evanw/esbuild from 0.14.36 to 0.14.38
...
Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild ) from 0.14.36 to 0.14.38.
- [Release notes](https://github.com/evanw/esbuild/releases )
- [Changelog](https://github.com/evanw/esbuild/blob/master/CHANGELOG.md )
- [Commits](https://github.com/evanw/esbuild/compare/v0.14.36...v0.14.38 )
---
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>
2022-04-27 10:03:12 +02:00
Joe Mooring
55e28c239e
deps: Update github.com/tdewolff/minify/v2 v2.11.1 => v2.11.2
...
Fixes #9820
2022-04-26 20:01:45 +02:00
Bjørn Erik Pedersen
9a888c243a
Some godoc adjustments
2022-04-23 22:22:50 +02:00
Bjørn Erik Pedersen
05b45c35c8
tpl/lang: Handle nil values in lang.Merge
2022-04-23 22:22:50 +02:00
Bjørn Erik Pedersen
625be77e08
resources/page: Mark some more interface methods as internal
...
For the new documenttion.
2022-04-23 22:22:50 +02:00
Bjørn Erik Pedersen
097fd588ca
Deprecate page.Author and page.Authors
...
These are not documented, and they don't belong on Page. We should consider having author a first class citizen of Hugo, but as it is not it's better modelled as a taxonomy.
2022-04-23 22:22:50 +02:00
hugoreleaser
41cc4e4ba3
releaser: Prepare repository for 0.98.0-DEV
...
[ci skip]
2022-04-18 18:01:38 +00:00
hugoreleaser
078053a43d
releaser: Bump versions for release of 0.97.3
...
[ci skip]
2022-04-18 17:22:19 +00:00
hugoreleaser
7d9f888080
releaser: Add release notes for 0.97.3
...
[ci skip]
2022-04-18 17:22:19 +00:00
Bjørn Erik Pedersen
9b352f04a3
Fix syncing of /static regression
...
As introduced in Hugo `v0.76.1`.
And add a proper test for it.
Fixes #9794
Closes #9788
2022-04-18 19:17:27 +02:00
Bjørn Erik Pedersen
e66e2e9ce5
Revert "Revert "Fix PostProcess regression for hugo server""
...
This reverts commit 6c35a1a9ea
.
Updates #9794
2022-04-18 19:17:27 +02:00
hugoreleaser
5de6f8a02c
releaser: Prepare repository for 0.98.0-DEV
...
[ci skip]
2022-04-17 09:16:40 +00:00
hugoreleaser
5099abe600
releaser: Bump versions for release of 0.97.2
...
[ci skip]
2022-04-17 08:39:27 +00:00
hugoreleaser
99ec88d42d
releaser: Add release notes for 0.97.2
...
[ci skip]
2022-04-17 08:39:27 +00:00
Bjørn Erik Pedersen
6c35a1a9ea
Revert "Fix PostProcess regression for hugo server"
...
This reverts commit 4deb5c6066
.
2022-04-17 10:35:01 +02:00
hugoreleaser
363bc907c0
releaser: Prepare repository for 0.98.0-DEV
...
[ci skip]
2022-04-16 17:35:04 +00:00
hugoreleaser
04efcb2a68
releaser: Bump versions for release of 0.97.1
...
[ci skip]
2022-04-16 16:57:30 +00:00
hugoreleaser
4560725521
releaser: Add release notes for 0.97.1
...
[ci skip]
2022-04-16 16:57:30 +00:00
Bjørn Erik Pedersen
4deb5c6066
Fix PostProcess regression for hugo server
...
Fixes #9788
2022-04-16 18:43:13 +02:00
Bjørn Erik Pedersen
397fce5603
Fix MediaType when reading images from cache
...
Fixes #8931
2022-04-16 16:36:15 +02:00
Bjørn Erik Pedersen
0093eaa683
deps: Upgrade github.com/bep/overlayfs v0.4.0 => v0.5.0
...
That version implement file.Readdir/Readdirnames for n > 0.
Closes #9783
2022-04-14 21:26:05 +02:00
hugoreleaser
d0f731c039
releaser: Prepare repository for 0.98.0-DEV
...
[ci skip]
2022-04-14 09:24:30 +00:00
hugoreleaser
c07f3626e7
releaser: Bump versions for release of 0.97.0
...
[ci skip]
2022-04-14 08:45:07 +00:00
hugoreleaser
42b5d16536
releaser: Add release notes for 0.97.0
...
[ci skip]
2022-04-14 08:45:07 +00:00