summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2020-10-29tpl: Fix reflection bug in mergeCameron Moore
Value.Type().Key() must only be called on map values. Fixes #7899
2020-10-28deploy: Do not call CDN service invalidation when executing a dry run deploymentJosé Moreira
Currently, if cache invalidation is enabled when running `hugo deploy --dryRun` with , the deployer does not take the dry run flag into consideration and triggers CloudFront/GoogleCloudCDN cache invalidation if any of those services are configured. This change will instead print a feedback message if a dry run is in effect and quiet mode is not enabled. Fixes #7884
2020-10-24create: Pass editor arguments from newContentEditor correctlyBhavin Gandhi
If newContentEditor has editor name with arguments like `emacsclient -n`, it fails with `executable file not found in $PATH`. This change parses the value correctly and passes it to the given editor. Signed-off-by: Bhavin Gandhi <bhavin7392@gmail.com>
2020-10-24deps: Bump github.com/spf13/cobra from 0.0.7 to 1.1.1Anthony Fok
Cobra 1.1.1 fixes internal formatting for go-md2man v2 (which caused man page generation e.g. "hugo gen man" to be broken since Cobra 0.0.6). See spf13/cobra#1049 for context.
2020-10-23build: Allow optional "nodeploy" tag to exclude deploy command from binEric Hagman
Fixes #7826
2020-10-22Allow cascade _target to work with non toml fmGareth Watts
The TOML lib unmarshals slices of string maps to []map[string]interface{} whereas YAML and JSON decode to []interface{} The existing tests only check for TOML working correctly, and _target with cascade did not work at all for frontmatter defined in other formats. Add a function to normalize those slices Fixes #7874
2020-10-22Allow getJSON errors to be ignoredBjørn Erik Pedersen
This change is mostly motivated to get a more stable CI build (we're building the Hugo site there, with Instagram and Twitter shortcodes sometimes failing). Fixes #7866
2020-10-21build(deps): bump github.com/evanw/esbuild from 0.7.15 to 0.7.18dependabot[bot]
Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild) from 0.7.15 to 0.7.18. - [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.7.15...v0.7.18) Signed-off-by: dependabot[bot] <support@github.com>
2020-10-21tpl: Refactor time.AsTime location implementationCameron Moore
2020-10-21tpl: Update Hugo time to support optional [LOCATION] parameterMark Johnson
2020-10-17Revert "Add benchmark for building docs site"Bjørn Erik Pedersen
We already have a lot of site building benchmarks. The main problem with adding the "Hugo site docs" to the list is that it cannot easiliy be compared to any previous release, because its content/template/whatever has changed. This reverts commit 837e084bbe53e9e2e6cd471d2a3daf273a874d92.
2020-10-16highlight: Avoid making unnecessary allocationCameron Moore
Avoid creating a local copy of the highlight configuration when no options are passed. Benchmarks of building the docs site: name old time/op new time/op delta DocsSite-2 1.94s ± 4% 1.93s ± 4% ~ (p=0.841 n=5+5) name old alloc/op new alloc/op delta DocsSite-2 666MB ± 1% 656MB ± 0% -1.48% (p=0.008 n=5+5) name old allocs/op new allocs/op delta DocsSite-2 8.85M ± 0% 8.76M ± 0% -1.04% (p=0.029 n=4+4)
2020-10-16Add benchmark for building docs siteCameron Moore
2020-10-16embedded: Always show page number when 5 pages or lessCameron Moore
Fixes #7523
2020-10-15output: Improve layout path constructionCameron Moore
2020-10-15build(deps): bump github.com/frankban/quicktest from 1.11.0 to 1.11.1dependabot[bot]
Bumps [github.com/frankban/quicktest](https://github.com/frankban/quicktest) from 1.11.0 to 1.11.1. - [Release notes](https://github.com/frankban/quicktest/releases) - [Commits](https://github.com/frankban/quicktest/compare/v1.11.0...v1.11.1) Signed-off-by: dependabot[bot] <support@github.com>
2020-10-14build(deps): bump github.com/evanw/esbuild from 0.7.14 to 0.7.15dependabot[bot]
Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild) from 0.7.14 to 0.7.15. - [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.7.14...v0.7.15) Signed-off-by: dependabot[bot] <support@github.com>
2020-10-14Merge branch 'release-0.76.5'Bjørn Erik Pedersen
2020-10-14releaser: Prepare repository for 0.77.0-DEVhugoreleaser
[ci skip]
2020-10-14releaser: Add release notes to /docs for release of 0.76.5v0.76.5hugoreleaser
[ci skip]
2020-10-14releaser: Bump versions for release of 0.76.5hugoreleaser
[ci skip]
2020-10-14releaser: Add release notes for 0.76.5hugoreleaser
[ci skip]
2020-10-14Render aliases even if render=linkBjørn Erik Pedersen
Fixes #7832
2020-10-14Render aliases even if render=linkBjørn Erik Pedersen
Fixes #7832
2020-10-12build(deps): bump github.com/spf13/afero from 1.4.0 to 1.4.1dependabot[bot]
Bumps [github.com/spf13/afero](https://github.com/spf13/afero) from 1.4.0 to 1.4.1. - [Release notes](https://github.com/spf13/afero/releases) - [Commits](https://github.com/spf13/afero/compare/v1.4.0...v1.4.1) Signed-off-by: dependabot[bot] <support@github.com>
2020-10-12build(deps): bump github.com/evanw/esbuild from 0.7.9 to 0.7.14dependabot[bot]
Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild) from 0.7.9 to 0.7.14. - [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.7.9...v0.7.14) Signed-off-by: dependabot[bot] <support@github.com>
2020-10-12docker: Update to Go 1.15 and Alpine 3.12Daniel Sutton
2020-10-12output: Test all lookup permutations in TestLayoutCameron Moore
2020-10-12output: Reformat TestLayout tableCameron Moore
2020-10-12releaser: Prepare repository for 0.77.0-DEVhugoreleaser
[ci skip]
2020-10-12releaser: Add release notes to /docs for release of 0.76.4v0.76.4hugoreleaser
[ci skip]
2020-10-12releaser: Bump versions for release of 0.76.4hugoreleaser
[ci skip]
2020-10-12releaser: Add release notes for 0.76.4hugoreleaser
[ci skip]
2020-10-09snap: Install postcss v8 explicitly as it is now a peer dependencyAnthony Fok
Fix Snap build failures since 2020-09-21
2020-10-09lang/i18n: Fix for language code case issue with pt-br etc.Bjørn Erik Pedersen
Fixes #7804
2020-10-08Merge branch 'release-0.76.3'Bjørn Erik Pedersen
2020-10-08Add merge helperBjørn Erik Pedersen
2020-10-08releaser: Prepare repository for 0.77.0-DEVhugoreleaser
[ci skip]
2020-10-08releaser: Add release notes to /docs for release of 0.76.3v0.76.3hugoreleaser
[ci skip]
2020-10-08releaser: Bump versions for release of 0.76.3hugoreleaser
[ci skip]
2020-10-08releaser: Add release notes for 0.76.3hugoreleaser
[ci skip]
2020-10-08langs/i18n: Add workaround for known language, but missing plural rule errorBjørn Erik Pedersen
Closes #7798
2020-10-08langs/i18n: Fix for bare TOML keysBjørn Erik Pedersen
Hugo 0.76.0 updated go-i18n from v1 to v2. This allowed us to set the TOML unmarshaler to use, so we set the one we use in other places in Hugo. But that does not support dotted bare keys, which caused some breakage in the wild. This commit fixes that by: * Using go-toml for language files * Updating go-toml to the latest version
2020-10-07releaser: Prepare repository for 0.77.0-DEVhugoreleaser
[ci skip]
2020-10-07releaser: Add release notes to /docs for release of 0.76.2v0.76.2hugoreleaser
[ci skip]
2020-10-07releaser: Bump versions for release of 0.76.2hugoreleaser
[ci skip]
2020-10-07releaser: Add release notes for 0.76.2hugoreleaser
[ci skip]
2020-10-07Revert "deps: Update to github.com/tdewolff/minify v2.9.4"Bjørn Erik Pedersen
Closes #7792 This reverts commit b254532b52785954c98a473a635b9cea016d8565.
2020-10-07releaser: Prepare repository for 0.77.0-DEVhugoreleaser
[ci skip]
2020-10-07releaser: Add release notes to /docs for release of 0.76.1v0.76.1hugoreleaser
[ci skip]