Bjørn Erik Pedersen
cd0112a05a
Add resources.Copy
...
Implemented by most Resource objects, but not Page (for now).
Fixes #9313
2022-05-25 10:35:31 +02:00
satotake
6f7fbe03b1
basefs: add noBuildLock
flag
...
If the flag is enabled, `.hugo_build.lock` will not be created.
This ensures safe running on read-only filesystem etc.
Close #9780
2022-05-24 13:57:23 +02:00
satotake
2fc2e9c871
import: Fix importing jekyll site
...
Just use `afero.OsFs` without building site.
Close #9817
2022-05-21 23:44:40 +02:00
hugoreleaser
e164834f0a
releaser: Prepare repository for 0.100.0-DEV
...
[ci skip]
2022-05-18 12:01:09 +00:00
hugoreleaser
d524067382
releaser: Bump versions for release of 0.99.1
...
[ci skip]
2022-05-18 11:18:14 +00:00
hugoreleaser
31ce89f7f4
releaser: Add release notes for 0.99.1
...
[ci skip]
2022-05-18 11:18:14 +00:00
Bjørn Erik Pedersen
ee55fde5e5
releaser: Fix version replacement
2022-05-18 13:12:42 +02:00
Bjørn Erik Pedersen
2f9eac480f
server: Fix multihost crash
...
As introduced in v0.99.0.
Fixes #9901
2022-05-18 11:10:04 +02:00
Bjørn Erik Pedersen
3a8189ee93
Update stale.yml
2022-05-17 13:57:01 +02:00
hugoreleaser
7bc3401eb5
common/hugo: Fix version logic
...
[ci skip]
2022-05-16 13:01:52 +02:00
hugoreleaser
1de333e7a3
releaser: Bump versions for release of 0.99.0
...
[ci skip]
2022-05-16 08:10:56 +00:00
hugoreleaser
35cb6eefb2
releaser: Add release notes for 0.99.0
...
[ci skip]
2022-05-16 08:10:55 +00:00
Bjørn Erik Pedersen
657d1a2d95
server: Refresh the error template
...
We cannot cache it forever, as that will not allow the end user to edit and preview it.
2022-05-16 09:24:30 +02:00
Bjørn Erik Pedersen
87a22eb6d6
server: Fix SIGINT handling after loading bad configuration
...
Also fix the config error messages.
Fixes #9664
2022-05-15 22:58:05 +02:00
Bjørn Erik Pedersen
fc9f315d86
Improve SASS errors
...
Fixes #9897
2022-05-15 20:25:25 +02:00
Bjørn Erik Pedersen
4b189d8fd9
postcss: Fix import error handling
...
Note that we will now fail if `inlineImports` is enabled and we cannot resolve an import.
You can work around this by either:
* Use url imports or imports with media queries.
* Set `skipInlineImportsNotFound=true` in the options
Also get the argument order in the different NewFileError* funcs in line.
Fixes #9895
2022-05-15 20:25:25 +02:00
dependabot[bot]
c2fa0a3320
build(deps): bump github.com/fsnotify/fsnotify from 1.5.3 to 1.5.4
...
Bumps [github.com/fsnotify/fsnotify](https://github.com/fsnotify/fsnotify ) from 1.5.3 to 1.5.4.
- [Release notes](https://github.com/fsnotify/fsnotify/releases )
- [Changelog](https://github.com/fsnotify/fsnotify/blob/main/CHANGELOG.md )
- [Commits](https://github.com/fsnotify/fsnotify/compare/v1.5.3...v1.5.4 )
---
updated-dependencies:
- dependency-name: github.com/fsnotify/fsnotify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-05-14 15:01:01 +02:00
Bjørn Erik Pedersen
48ea24f89a
common/herrors: Remove unused struct
2022-05-14 13:56:28 +02:00
dependabot[bot]
9f563856c1
build(deps): bump github.com/evanw/esbuild from 0.14.38 to 0.14.39
...
Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild ) from 0.14.38 to 0.14.39.
- [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.38...v0.14.39 )
---
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-05-14 13:45:11 +02:00
Bjørn Erik Pedersen
5c96bda70a
errors: Misc improvements
...
* 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
2022-05-14 13:40:56 +02:00
Bjørn Erik Pedersen
4a96df96d9
server: Always rebuild the files involved in an error
...
Fixes #9884
2022-05-14 13:40:56 +02:00
Bjørn Erik Pedersen
e8537e6dd0
postcss: Fix line numbers in error messages
...
Fixes #9880
2022-05-14 13:40:55 +02:00
Bjørn Erik Pedersen
2fbdee7268
Update CONTRIBUTING.md
...
Add some info about commit subject prefixes.
2022-05-13 11:42:12 +02:00
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