summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2021-04-30langs/i18n: Fix multiple unknown language codesBjørn Erik Pedersen
This fixes a bug upstream by temporarily using a patched version of go-i18n. Closes #7838
2021-04-30deps: Update github.com/evanw/esbuild v0.11.14 => v0.11.16Bjørn Erik Pedersen
2021-04-29Remove .Site.Authors from embedded templatesJoe Mooring
Closes #4458
2021-04-29deploy: Don't treat a NotFound response for Delete as a fatal error.Robert van Gent
2021-04-27snap: Switch to deb packages of nodejs and python3-pygmentsAnthony Fok
node/14/stable snap package is not available on ppc64el and s390x. nodejs deb package currently at 10.19.0~dfsg-3ubuntu1 in Ubuntu 20.04 LTS (base: core20)
2021-04-26snapcraft.yaml: Install bin/node from node/14/stableAnthony Fok
Resolves regression introduced in my previous commit 243951e. Special thanks to @jmooring for reporting the issue! TODO: Strip the bin/node binary?
2021-04-26build(deps): bump github.com/getkin/kin-openapi from 0.55.0 to 0.60.0dependabot[bot]
Bumps [github.com/getkin/kin-openapi](https://github.com/getkin/kin-openapi) from 0.55.0 to 0.60.0. - [Release notes](https://github.com/getkin/kin-openapi/releases) - [Commits](https://github.com/getkin/kin-openapi/compare/v0.55.0...v0.60.0) Signed-off-by: dependabot[bot] <support@github.com>
2021-04-26build(deps): bump github.com/evanw/esbuild from 0.11.13 to 0.11.14dependabot[bot]
Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild) from 0.11.13 to 0.11.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.11.13...v0.11.14) Signed-off-by: dependabot[bot] <support@github.com>
2021-04-25resources/page: Fix permalinks pattern detection for some of the sections ↵Bjørn Erik Pedersen
variants See #8363
2021-04-25deps: Update to Chroma v0.9.1Carlos Alexandro Becker
2021-04-25langs/i18n: Improve plural handling of floatsBjørn Erik Pedersen
The go-i18n library expects plural counts with floats to be represented as strings. Fixes #8464
2021-04-23tpl/collections: Fix where on type mismatchesBjørn Erik Pedersen
Fixes #8353
2021-04-23Make the shortcode template lookup for output formats stableBjørn Erik Pedersen
Fixes #7774
2021-04-23build(deps): bump github.com/evanw/esbuild from 0.11.12 to 0.11.13dependabot[bot]
Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild) from 0.11.12 to 0.11.13. - [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.11.12...v0.11.13) Signed-off-by: dependabot[bot] <support@github.com>
2021-04-23langs/i18n: Revise the plural implementationBjørn Erik Pedersen
There were some issues introduced with the plural counting when we upgraded from v1 to v2 of go-i18n. This commit improves that situation given the following rules: * A single integer argument is used as plural count and passed to the i18n template as a int type with a `.Count` method. The latter is to preserve compability with v1. * Else the plural count is either fetched from the `Count`/`count` field/method/map or from the value itself. * Any data type is accepted, if it can be converted to an integer, that value is used. The above means that you can now do pass a single integer and both of the below will work: ``` {{ . }} minutes to read {{ .Count }} minutes to read ``` Fixes #8454 Closes #7822 See https://github.com/gohugoio/hugoDocs/issues/1410
2021-04-22snapcraft.yaml: Update to "base: core20"Anthony Fok
That is, switch to using Ubuntu 20.04 LTS as base, leveraging new features in Snapcraft 4.x, etc. It is far from complete, with npm temporarily disabled (hence no PostCSS) and with Pandoc probably not working yet, but would hopefully get our Hugo Snap build, which stopped working shortly after v0.80.0, working again.
2021-04-22build(deps): bump github.com/frankban/quicktest from 1.11.3 to 1.12.0dependabot[bot]
Bumps [github.com/frankban/quicktest](https://github.com/frankban/quicktest) from 1.11.3 to 1.12.0. - [Release notes](https://github.com/frankban/quicktest/releases) - [Commits](https://github.com/frankban/quicktest/compare/v1.11.3...v1.12.0) Signed-off-by: dependabot[bot] <support@github.com>
2021-04-22build(deps): bump google.golang.org/api from 0.44.0 to 0.45.0dependabot[bot]
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.44.0 to 0.45.0. - [Release notes](https://github.com/googleapis/google-api-go-client/releases) - [Changelog](https://github.com/googleapis/google-api-go-client/blob/master/CHANGES.md) - [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.44.0...v0.45.0) Signed-off-by: dependabot[bot] <support@github.com>
2021-04-22build(deps): bump github.com/aws/aws-sdk-go from 1.37.11 to 1.38.23dependabot[bot]
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.37.11 to 1.38.23. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go/compare/v1.37.11...v1.38.23) Signed-off-by: dependabot[bot] <support@github.com>
2021-04-22Correct function name in commentSantiago De la Cruz
IsInt to IsNumber
2021-04-21Fix Params case handling in where with slices of structs (e.g. Pages)Bjørn Erik Pedersen
Fixes #7009
2021-04-21deps: Upgraded github.com/evanw/esbuild v0.11.0 => v0.11.12Bjørn Erik Pedersen
2021-04-20docs: Regen docs helperBjørn Erik Pedersen
2021-04-20Merge commit '07b8d9466dfb59c429c1b470a0443337bc0aeefe'Bjørn Erik Pedersen
2021-04-20Squashed 'docs/' changes from 9cece6640..fb551cc75Bjørn Erik Pedersen
fb551cc75 Update index.md 7af894857 Update index.md d235753ea Hugo 0.82.1 e03e72deb Merge branch 'temp0821' e62648961 Merge branch 'release-0.82.1' e1ab0f6eb releaser: Add release notes to /docs for release of 0.82.1 5d354c38d Replaced ``` code blocks with Code Toggler c9d065c20 Remove duplicate YAML keys (#1420) 8ae31e701 Add webp image encoding support 848f2af26 Update internal.md (#1407) c103a86a4 Fix `ref` shortcode example output (#1409) 9f8ba56dc Remove leading dot from where function KEY (#1419) 363251a51 Improve presentation of template lookup order (#1382) b73da986d Improve description of Page Resources (#1381) 4e0bb96d5 Rework robots.txt page (#1405) edf893e6f Update migrations.md (#1412) 450f1580b Add link to `site` function doc (#1417) cfffa6e6f Added one extension to the list (#1414) 05f1665a0 Update theme 5de0b1c6a Update theme 250e20552 Add hugo.IsExtended dea5e1fd7 Fix typo on merge function page (#1408) 1bbed2cf3 Update configuration.md be0b64a46 Omit ISO cbb5b8367 Fix `dateFormat` documentation 698f15466 Regenerate the docshelper f9a8a7cb6 Update multilingual.md a22dc6267 Fix grammar (#1398) eb98b0997 Fix pretty URL example (#1397) f4c4153dc Mention date var complementation in post scheduling (#1396) 17fae284c Fix resources.ExecuteAsTemplate argument order (#1394) 97e2c2abb Use code-toggle shortcode in `multilingual.md` (#1388) 3a84929bb Harmonize capitalization (#1393) 17f15daa6 fix file naming used in example (#1392) 5d97b6a18 Add slice syntax to sections permalinks config 00665b97b Improve description of `site.md` edcf5e3fc Fix example in `merge.md` f275ab778 Update postprocess.md 9593e3991 Fix file name 59bd9656f Update postprocess.md 1172fb6d0 Update to theNewDynamic repository (#1263) f5b5c1d2c Update Hugo container image 4f2e92f2a Adapt anchorize.md to Goldmark 98aa19073 Directly link to `highlight` shortcode (#1384) 4c75c2422 Fix header level f15c06f23 markdownify: add note about render-hooks and .RenderString (#1281) 69c82eb68 Remove Blackfriday reference from shortcode desc (#1380) 36de478df Update description of ignoreFiles config setting (#1377) 6337699d8 Remove "Authors" page from documentation (#1371) 35e73ca90 fix indent in example (#1372) d3f01f19a Remove opening body tag from header example (#1376) 341a5a7d8 Update index.md c9bfdbee6 Release 0.82.0 119644949 releaser: Add release notes to /docs for release of 0.82.0 32efaed78 docs: Regenerate docs helper dea5449a2 docs: Regen CLI docs eeab18fce Merge commit '81689af79901f0cdaff765cda6322dd4a9a7ccb3' d508a1259 Attributes for code fences should be placed after the lang indicator only c80905cef deps: Update to esbuild v0.9.0 95350eb79 Add support for Google Analytics v4 02d36f9bc Allow markdown attribute lists to be used in title render hooks 7df220a64 Merge commit '9d31f650da964a52f05fc27b7fb99cf3e09778cf' d80bf61b7 Fixes #7698. git-subtree-dir: docs git-subtree-split: fb551cc750faa83a1493b0e0d0898cd98ab74465
2021-04-20build(deps): bump github.com/tdewolff/minify/v2 from 2.9.15 to 2.9.16dependabot[bot]
Bumps [github.com/tdewolff/minify/v2](https://github.com/tdewolff/minify) from 2.9.15 to 2.9.16. - [Release notes](https://github.com/tdewolff/minify/releases) - [Commits](https://github.com/tdewolff/minify/compare/v2.9.15...v2.9.16) Signed-off-by: dependabot[bot] <support@github.com>
2021-04-20build(deps): bump golang.org/x/text from 0.3.5 to 0.3.6dependabot[bot]
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.3.5 to 0.3.6. - [Release notes](https://github.com/golang/text/releases) - [Commits](https://github.com/golang/text/compare/v0.3.5...v0.3.6) Signed-off-by: dependabot[bot] <support@github.com>
2021-04-20publisher: Remove some unreachable codeBjørn Erik Pedersen
2021-04-20build(deps): bump github.com/getkin/kin-openapi from 0.39.0 to 0.55.0dependabot[bot]
Bumps [github.com/getkin/kin-openapi](https://github.com/getkin/kin-openapi) from 0.39.0 to 0.55.0. - [Release notes](https://github.com/getkin/kin-openapi/releases) - [Commits](https://github.com/getkin/kin-openapi/compare/v0.39.0...v0.55.0) Signed-off-by: dependabot[bot] <support@github.com>
2021-04-20publisher: Some performance tweaks for the HTML elements collectorBjørn Erik Pedersen
2021-04-20publisher: Exclude comment and doctype elements from writeStatsDirk Olbrich
- Reorder code blocks - Rename cssClassCollectorWriter to htmlElementCollectorWriter, as it just collect html element information - Expand benchmark to test for minified and unminified content Fixes #8396 Fixes #8417
2021-04-20Merge branch 'release-0.82.1'Bjørn Erik Pedersen
2021-04-20releaser: Prepare repository for 0.83.0-DEVhugoreleaser
[ci skip]
2021-04-20releaser: Add release notes to /docs for release of 0.82.1v0.82.1hugoreleaser
[ci skip]
2021-04-20releaser: Bump versions for release of 0.82.1hugoreleaser
[ci skip]
2021-04-20releaser: Add release notes for 0.82.1hugoreleaser
[ci skip]
2021-04-20Regression in media type suffix lookupBjørn Erik Pedersen
Introduced in Hugo 0.82.0. Fixes #8406
2021-04-20Regression in media type suffix lookupBjørn Erik Pedersen
Introduced in Hugo 0.82.0. Fixes #8406
2021-04-16build(deps): bump github.com/yuin/goldmark from 1.3.2 to 1.3.5Joe Mooring
Updated test per <https://github.com/yuin/goldmark/pull/205>. Fixes #8377
2021-04-15Remove duplicate references from release notesJoe Mooring
Closes #8360
2021-04-15build(deps): bump github.com/spf13/afero from 1.5.1 to 1.6.0dependabot[bot]
Bumps [github.com/spf13/afero](https://github.com/spf13/afero) from 1.5.1 to 1.6.0. - [Release notes](https://github.com/spf13/afero/releases) - [Commits](https://github.com/spf13/afero/compare/v1.5.1...v1.6.0) Signed-off-by: dependabot[bot] <support@github.com>
2021-04-15build(deps): bump github.com/pelletier/go-toml from 1.8.1 to 1.9.0dependabot[bot]
Bumps [github.com/pelletier/go-toml](https://github.com/pelletier/go-toml) from 1.8.1 to 1.9.0. - [Release notes](https://github.com/pelletier/go-toml/releases) - [Commits](https://github.com/pelletier/go-toml/compare/v1.8.1...v1.9.0) Signed-off-by: dependabot[bot] <support@github.com>
2021-04-15Add webp image encoding supportBjørn Erik Pedersen
Fixes #5924
2021-04-15build(deps): bump google.golang.org/api from 0.40.0 to 0.44.0dependabot[bot]
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.40.0 to 0.44.0. - [Release notes](https://github.com/googleapis/google-api-go-client/releases) - [Changelog](https://github.com/googleapis/google-api-go-client/blob/master/CHANGES.md) - [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.40.0...v0.44.0) Signed-off-by: dependabot[bot] <support@github.com>
2021-04-15build(deps): bump github.com/nicksnyder/go-i18n/v2 from 2.1.1 to 2.1.2dependabot[bot]
Bumps [github.com/nicksnyder/go-i18n/v2](https://github.com/nicksnyder/go-i18n) from 2.1.1 to 2.1.2. - [Release notes](https://github.com/nicksnyder/go-i18n/releases) - [Changelog](https://github.com/nicksnyder/go-i18n/blob/main/CHANGELOG.md) - [Commits](https://github.com/nicksnyder/go-i18n/compare/v2.1.1...v2.1.2) Signed-off-by: dependabot[bot] <support@github.com>
2021-04-15build(deps): bump github.com/rogpeppe/go-internal from 1.6.2 to 1.8.0dependabot[bot]
Bumps [github.com/rogpeppe/go-internal](https://github.com/rogpeppe/go-internal) from 1.6.2 to 1.8.0. - [Release notes](https://github.com/rogpeppe/go-internal/releases) - [Commits](https://github.com/rogpeppe/go-internal/compare/v1.6.2...v1.8.0) Signed-off-by: dependabot[bot] <support@github.com>
2021-04-15Remove extraneous space from figure shortcodeJoe Mooring
Fixes #8401
2021-04-14build(deps): bump github.com/magefile/mage from 1.10.0 to 1.11.0dependabot[bot]
Bumps [github.com/magefile/mage](https://github.com/magefile/mage) from 1.10.0 to 1.11.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.10.0...v1.11.0) Signed-off-by: dependabot[bot] <support@github.com>
2021-04-14build(deps): bump github.com/google/go-cmp from 0.5.4 to 0.5.5dependabot[bot]
Bumps [github.com/google/go-cmp](https://github.com/google/go-cmp) from 0.5.4 to 0.5.5. - [Release notes](https://github.com/google/go-cmp/releases) - [Commits](https://github.com/google/go-cmp/compare/v0.5.4...v0.5.5) Signed-off-by: dependabot[bot] <support@github.com>
2021-04-12org: Disable broken pretty relative links featureNiklas Fasching
go-org PrettyRelativeLinks rewrites relative org links by - adding `../` in front - removing any `.org` suffix This was meant to play well with hugo pretty urls (which pretty much renders posts in a subdirectory without the file suffix) and allow use of normal org file links to reference other posts. There's a lot of edge cases I didn't consider and multiple bug reports in go-org [1] later I don't think the complexity of handling those edge cases is worth it - so let's disable it. [1] - https://github.com/niklasfasching/go-org/issues/53 - https://github.com/niklasfasching/go-org/commit/5dadf8c4c2924cbb3b93be45f96e1147596ca6f2 (comment) - https://github.com/niklasfasching/go-org/issues/51