Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-04-14releaser: Bump versions for release of 0.97.0v0.97.0hugoreleaser
[ci skip]
2022-04-14releaser: Add release notes for 0.97.0hugoreleaser
[ci skip]
2022-04-14releaser: Reduce parallelismBjørn Erik Pedersen
2022-04-13Revert "build(deps): bump gocloud.dev from 0.20.0 to 0.25.0"Bjørn Erik Pedersen
This reverts commit 20162518c450770ebfd54e0e987f34a5cccf236b. Updates #9778
2022-04-13resources: Add `key` to reources.GetRemote options mapBjørn Erik Pedersen
If set, `key` will be used as the only cache key element for the resource. The default behaviour is to calculate the key based on the URL and all the options. This means that you can now do: ``` {{ $cacheKey := print $url (now.Format "2006-01-02") }} {{ $resource := resource.GetRemote $url (dict "key" $cacheKey) }} ``` Fixes #9755
2022-04-12build(deps): bump github.com/evanw/esbuild from 0.14.34 to 0.14.36dependabot[bot]
Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild) from 0.14.34 to 0.14.36. - [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.34...v0.14.36) --- 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-12Make string sorting (e.g. ByTitle, ByLinkTitle and ByParam) language awareBjørn Erik Pedersen
Fixes #2180
2022-04-11Fix gosum checksum errorsBjørn Erik Pedersen
Both of the 2 libraries in question have had known "double releases" -- same tag pushed twice with different commits. Note that this will not resolve itself in Hugo "fully" before we do a new release (which should happen in a day or two). Fixes #9771
2022-04-11build(deps): bump github.com/tdewolff/minify/v2 from 2.11.0 to 2.11.1dependabot[bot]
Bumps [github.com/tdewolff/minify/v2](https://github.com/tdewolff/minify) from 2.11.0 to 2.11.1. - [Release notes](https://github.com/tdewolff/minify/releases) - [Commits](https://github.com/tdewolff/minify/compare/v2.11.0...v2.11.1) --- 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>
2022-04-11compare: Add a string sort benchmarkBjørn Erik Pedersen
2022-04-10Replace all usage of CopyOnWriteFs with OverlayFsBjørn Erik Pedersen
Fixes #9761
2022-04-08deps: Update github.com/tdewolff/minify/v2 v2.10.0 => v2.11.0Joe Mooring
Fixes #9713 Fixes #9740 Adds support for minify.tdewolff.svg.keepComments (bool)
2022-04-08Merge commit 'ec920363cdeb687c8bcac9c242767d366fb058cb'Bjørn Erik Pedersen
2022-04-08Squashed 'docs/' changes from 63386081c..4c5edacfeBjørn Erik Pedersen
4c5edacfe cSpell config update (#1700) 9df788b25 Fix broken link (hugo modules) (#1710) 9928a70d6 Fix workspace formatting (#1707) 55467e7c8 Update partials.md 9f4bd0023 Update formats.md 9b3913c86 Remove footnoteAnchorPrefix and footnoteReturnLinkContents (#1704) 94502a09b Code block render hooks are introduced in v0.93.0 (#1701) c447270ef Update sitemap-template.md 78665c1e0 Update sitemap-template.md 60653c17d Update the caddy error docs link (#1696) 9a3675aad Update sitemap templates (#1699) e0d08cdbb Add wpxr-to-static to list of migration tools (#1512) b53eb5a08 Add page for deploying with rclone (#1511) 4207c57ff netlify: Hugo 0.96.0 a18d646ea docs: Regen docshelper e3e0981ed docs: Regen CLI docs fda988d01 Merge commit 'd276e901b36d2576ef8350ed96b17f66254eac1b' e4a26dbca tpl/crypto: Add optional encoding arg to hmac function git-subtree-dir: docs git-subtree-split: 4c5edacfeebd13eb7f876723c065466cd50e0cae
2022-04-08docs: Regen CLI docsBjørn Erik Pedersen
2022-04-08Rework the Destination filesystem to make --renderStaticToDisk workBjørn Erik Pedersen
See #9626
2022-04-08Revert "Revert "Some minor adjustments to the new static filesystem logic""Bjørn Erik Pedersen
This reverts commit 5ef8a9f32c25a9b4cc821393c58733e57a7ad234.
2022-04-08Revert "Revert "Allow rendering static files to disk and dynamic to memory ↵Bjørn Erik Pedersen
in server mode"" This reverts commit 64b7b7a89753a39661219b2fcb92d7f185a03f63.
2022-04-07build(deps): bump github.com/evanw/esbuild from 0.14.31 to 0.14.34dependabot[bot]
Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild) from 0.14.31 to 0.14.34. - [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.31...v0.14.34) --- 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-05modules/client: Vendor config directory if presentJoe Mooring
Fixes #9751
2022-04-05resources: Create a common ResourceFinder interfaceBjørn Erik Pedersen
And make both .Resources and resources implement it. This gets us 2 new methods/functions, so you can now also do: * .Resources.Get * resources.ByType Note that GetRemote is not covered by this interface, as that is only available as a global template function. Fixes #8653
2022-04-05build(deps): bump gocloud.dev from 0.20.0 to 0.25.0dependabot[bot]
Bumps [gocloud.dev](https://github.com/google/go-cloud) from 0.20.0 to 0.25.0. - [Release notes](https://github.com/google/go-cloud/releases) - [Commits](https://github.com/google/go-cloud/compare/v0.20.0...v0.25.0) --- updated-dependencies: - dependency-name: gocloud.dev dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2022-04-05build(deps): bump golang.org/x/tools from 0.1.9 to 0.1.10dependabot[bot]
Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.1.9 to 0.1.10. - [Release notes](https://github.com/golang/tools/releases) - [Commits](https://github.com/golang/tools/compare/v0.1.9...v0.1.10) --- updated-dependencies: - dependency-name: golang.org/x/tools dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2022-04-05build(deps): bump github.com/magefile/mage from 1.12.1 to 1.13.0dependabot[bot]
Bumps [github.com/magefile/mage](https://github.com/magefile/mage) from 1.12.1 to 1.13.0. - [Release notes](https://github.com/magefile/mage/releases) - [Changelog](https://github.com/magefile/mage/blob/master/.goreleaser.yml) - [Commits](https://github.com/magefile/mage/compare/v1.12.1...v1.13.0) --- updated-dependencies: - dependency-name: github.com/magefile/mage dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2022-04-05build(deps): bump github.com/gobuffalo/flect from 0.2.4 to 0.2.5dependabot[bot]
Bumps [github.com/gobuffalo/flect](https://github.com/gobuffalo/flect) from 0.2.4 to 0.2.5. - [Release notes](https://github.com/gobuffalo/flect/releases) - [Commits](https://github.com/gobuffalo/flect/compare/v0.2.4...v0.2.5) --- updated-dependencies: - dependency-name: github.com/gobuffalo/flect dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2022-04-05Localize all the GroupBy*Date methodsBjørn Erik Pedersen
Fixes #9745
2022-04-05build(deps): bump github.com/getkin/kin-openapi from 0.93.0 to 0.94.0dependabot[bot]
Bumps [github.com/getkin/kin-openapi](https://github.com/getkin/kin-openapi) from 0.93.0 to 0.94.0. - [Release notes](https://github.com/getkin/kin-openapi/releases) - [Commits](https://github.com/getkin/kin-openapi/compare/v0.93.0...v0.94.0) --- updated-dependencies: - dependency-name: github.com/getkin/kin-openapi dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2022-04-05deploy: Set an MD5 attribute and use that if eTag not availableDavid Jones
During Hugo deploy when a remote MD5 is invalid (e.g due to multipart eTag) Hugo reads the entire remote file and calculates the MD5 again which can be slow. This commit updates the file upload so that it will also store an MD5 hash in the cloud provider's attributes. e.g in AWS this looks like x-amz-meta-md5chksum: 26fe392386a8123bf8956a16e08cb841.
2022-04-05build(deps): bump github.com/sanity-io/litter from 1.5.2 to 1.5.4dependabot[bot]
Bumps [github.com/sanity-io/litter](https://github.com/sanity-io/litter) from 1.5.2 to 1.5.4. - [Release notes](https://github.com/sanity-io/litter/releases) - [Changelog](https://github.com/sanity-io/litter/blob/main/CHANGELOG.md) - [Commits](https://github.com/sanity-io/litter/compare/v1.5.2...v1.5.4) --- updated-dependencies: - dependency-name: github.com/sanity-io/litter dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2022-04-05build(deps): bump github.com/evanw/esbuild from 0.14.25 to 0.14.31dependabot[bot]
Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild) from 0.14.25 to 0.14.31. - [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.25...v0.14.31) --- 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-05build(deps): bump github.com/frankban/quicktest from 1.14.2 to 1.14.3dependabot[bot]
Bumps [github.com/frankban/quicktest](https://github.com/frankban/quicktest) from 1.14.2 to 1.14.3. - [Release notes](https://github.com/frankban/quicktest/releases) - [Commits](https://github.com/frankban/quicktest/compare/v1.14.2...v1.14.3) --- updated-dependencies: - dependency-name: github.com/frankban/quicktest dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2022-04-05Add environment as a new filter to _cascade.targetCathrine Paulsen
Fixes #9612
2022-04-03Merge branch 'release-0.96.0'Bjørn Erik Pedersen
2022-04-01Snap: Add {system,user}-gitconfig plugs to read gitconfig (#9619)Further
* Add system-gitconfig plug to read /etc/gitconfig * Add user-gitconfig plug to read user-specific gitconfig file(s) * Add app environment setting to set $HOME as $SNAP_REAL_HOME
2022-03-26releaser: Prepare repository for 0.97.0-DEVrelease-0.96.0hugoreleaser
[ci skip]
2022-03-26releaser: Bump versions for release of 0.96.0v0.96.0hugoreleaser
[ci skip]
2022-03-26releaser: Add release notes for 0.96.0hugoreleaser
[ci skip]
2022-03-26docs: Regen docshelperBjørn Erik Pedersen
2022-03-26docs: Regen CLI docsBjørn Erik Pedersen
2022-03-26Squashed 'docs/' changes from a393f4cf4..63386081cBjørn Erik Pedersen
63386081c update cSpell config update 15c76494b Update cSpell custom dictionary (#1694) 34f3167b7 Update image processing (#1625) 7462cc798 fix: pipes in sample code break table creation (#1686) 48736447e Update anchorize.md 2ff0bd10b netlify: Hugo 0.95.0 0fc1d21b2 Update configuration.md 41855e372 Fix #1682 8c663433e Update related.md 7aa072eab netlify: Hugo 0.94.2 1682c7ee7 Update render-hooks.md ce1283cc4 Move the Render Hooks doc to its own page bbbbfbfc6 Update configuration-markup.md 92d91a316 Update configuration-markup.md 2e8068823 Update configuration-markup.md ff2dbca60 Update configuration-markup.md 89d8e5d65 Add code block documenation e993539f0 Update shortcodes.md c1b28dbfe netlify: Hugo 0.94.1 81b8c9b83 Merge branch 'tempv0.94.1' 4763b3d50 docs: Regenerate CLI docs b18463971 netlify: Bump to Hugo 0.94.0 4152ebc1d Merge branch 'tempv0.94.0' ba3a11ac2 docs: Regenerate docshelper e64016d13 docs: Regenerate docshelper 29180e4d2 add `.html` suffix to partial usage and references 3213e00f2 Docs tidy-up 6cfcae4b7 docs: Regenerate CLI docs 8a6cd0b4d docs: Regenerate docshelper b20ab262f Merge commit 'd706529720b3b2ccb99719ccd578062ca25a0cc2' git-subtree-dir: docs git-subtree-split: 63386081c55de6a7f97adde564a9cfc2ad326119
2022-03-26Merge commit 'd276e901b36d2576ef8350ed96b17f66254eac1b'Bjørn Erik Pedersen
2022-03-26Deprecate .File.ExtensionSara Op den Orth
Fixes #9352
2022-03-25resources: Add more details to .ErrBjørn Erik Pedersen
This commit adds a .Data object (a map with `Body`, `StatusCode` etc.) to the .Err returned from `resources.GetRemote`, which means you can now do: ``` {{ with .Err }} {{ range $k, $v := .Data }} {{ end }} {{ end }} ``` Fixes #9708
2022-03-25commands: Change link protocol to httpsJoe Mooring
2022-03-25build(deps): bump github.com/getkin/kin-openapi from 0.91.0 to 0.93.0dependabot[bot]
Bumps [github.com/getkin/kin-openapi](https://github.com/getkin/kin-openapi) from 0.91.0 to 0.93.0. - [Release notes](https://github.com/getkin/kin-openapi/releases) - [Commits](https://github.com/getkin/kin-openapi/compare/v0.91.0...v0.93.0) --- updated-dependencies: - dependency-name: github.com/getkin/kin-openapi dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2022-03-23tpl/crypto: Add optional encoding arg to hmac functionJoe Mooring
Closes #9709
2022-03-22Fix typoPanagiotis Koursaris
2022-03-22Fix some typoscuishuang
Signed-off-by: cuishuang <imcusg@gmail.com> [foka@debian.org: Resolve merge conflict and squash 2 commits] Signed-off-by: Anthony Fok <foka@debian.org>
2022-03-22Update CONTRIBUTING.md to use "go install" to install mageAnthony Fok
In Go 1.18, "go get" no longer builds packages.
2022-03-22Dockerfile: Make it build with Go 1.18Anthony Fok