summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2022-12-14Also consider wrapped errors when checking for file IsNotExist errorsBjørn Erik Pedersen
Fixes #10534
2022-12-14tpl/openapi3: Wrap *kopenapi3.TBjørn Erik Pedersen
To make it easier to document.
2022-12-13resources/js: Fix some import discrepancies between Hugo and ESBuildBjørn Erik Pedersen
This fixes the cases where ```js import 'imp2/index.js'; import 'imp3/foo.js'; ``` And these files lives in `assets` as: ``` imp2/index.ts imp3/foo.ts ``` Fixes #10527
2022-12-13github: Update to Dart Sass 1.56.2Bjørn Erik Pedersen
2022-12-11github: Use ruby/setup-rubyBjørn Erik Pedersen
Closes #10517
2022-12-11tpl/tplimpl: Use https in sitemap templatesJoe Mooring
Closes #10515
2022-12-10parser/metadecoders: Fix spellingFrancesco La Camera
2022-12-06releaser: Prepare repository for 0.109.0-DEVrelease-0.108.0hugoreleaser
[ci skip]
2022-12-06releaser: Bump versions for release of 0.108.0v0.108.0hugoreleaser
[ci skip]
2022-12-06Make the hugo env non verbose output slightly more verboseBjørn Erik Pedersen
This is how it may look like with a extended build: ``` hugo v0.107.0-6445b1e9ff963b07c55d9d69cb9abef8ef21fc5d+extended darwin/arm64 BuildDate=2022-12-06T11:21:50Z GOOS="darwin" GOARCH="arm64" GOVERSION="go1.19.3" github.com/sass/libsass="3.6.5" github.com/webmproject/libwebp="v1.2.4" github.com/sass/dart-sass-embedded/protocol="1.1.0" github.com/sass/dart-sass-embedded/compiler="1.56.1" github.com/sass/dart-sass-embedded/implementation="1.56.1" ```
2022-12-06Add dart-sass-embedded version info to hugo env -vBjørn Erik Pedersen
``` ~ ❯❯❯ hugo env -v | grep dart github.com/bep/godartsass="v0.16.0" github.com/sass/dart-sass-embedded/compiler="1.56.1" github.com/sass/dart-sass-embedded/implementation="1.56.1" github.com/sass/dart-sass-embedded/protocol="1.1.0" ```
2022-12-06deps: Upgrade github.com/bep/godartsass v0.15.0 => v0.16.0Bjørn Erik Pedersen
2022-12-06tpl/embedded: Make Open Graph's series optionalRazon Yang
2022-12-06Merge commit 'da670c38ee63a7fef25e2b9f42519232055b60dc'Bjørn Erik Pedersen
2022-12-06Squashed 'docs/' changes from 4c1309cdf..2201ac0e5Bjørn Erik Pedersen
2201ac0e5 Update theme git-subtree-dir: docs git-subtree-split: 2201ac0e5fa47400ecd182e28af823e0f03ed05b
2022-12-06common/hugio: Fix multiWriteCloser.CloseBjørn Erik Pedersen
Fixes #10505
2022-12-06build(deps): bump github.com/getkin/kin-openapi from 0.109.0 to 0.110.0dependabot[bot]
Bumps [github.com/getkin/kin-openapi](https://github.com/getkin/kin-openapi) from 0.109.0 to 0.110.0. - [Release notes](https://github.com/getkin/kin-openapi/releases) - [Commits](https://github.com/getkin/kin-openapi/compare/v0.109.0...v0.110.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-12-05docs: Add basic doc for wrapStandAloneImageWithinParagraph etc.Bjørn Erik Pedersen
See #10492
2022-12-05dartsass: Add sourceMapIncludeSources optionBjørn Erik Pedersen
2022-12-05github: Update Dart Sass Embedded to 1.56.1Bjørn Erik Pedersen
2022-12-05markup/goldmark: Add removeSurroundingParagraph for Markdown imagesBjørn Erik Pedersen
* Removes any surrounding paragraph nodes * And transfers any attributes from the surrounding paragraph down to the image node * Adds IsBlock and Ordinal (zero based) field to the image context passed to the image render hooks IsBlock is set to true if `wrapStandAloneImageWithinParagraph = false` and the image's parent node has only one child. Closes #8362 Fixes #10492 Fixes #10494 Fixes #10501
2022-12-05build(deps): bump github.com/evanw/esbuild from 0.15.16 to 0.15.18dependabot[bot]
Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild) from 0.15.16 to 0.15.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.15.16...v0.15.18) --- 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-12-05build(deps): bump golang.org/x/text from 0.4.0 to 0.5.0dependabot[bot]
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.4.0 to 0.5.0. - [Release notes](https://github.com/golang/text/releases) - [Commits](https://github.com/golang/text/compare/v0.4.0...v0.5.0) --- updated-dependencies: - dependency-name: golang.org/x/text dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2022-12-04build(deps): bump github.com/evanw/esbuild from 0.15.15 to 0.15.16dependabot[bot]
Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild) from 0.15.15 to 0.15.16. - [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.15.15...v0.15.16) --- 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-12-04tpl/tplimpl: Allow alternate comment syntaxJoe Mooring
Allow alternate comment syntax before block definitions: {{/* foo */}} {{- /* foo */}} {{- /* foo */ -}} Fixes #10495
2022-12-03resources: Increase timeout for http.ClientAnton Sattarov
Increase timeout for http.Client in resources.GetRemote from 10 second to 1 minute Fixes #10478
2022-12-03tpl/collections: Fix some index cases where the indices given is a slice and ↵Bjørn Erik Pedersen
be more lenient with nil inputs See adjusted tests for detail. Fixes #10489
2022-12-03tpl: Misco GoDoc improvementsBjørn Erik Pedersen
2022-12-02config/security: Add CI env var to whitelistsepts
2022-12-02Squashed 'docs/' changes from 32cb8785e..4c1309cdfBjørn Erik Pedersen
4c1309cdf Fix broken link to front matter page (#1923) 8181fff20 Add footnote to Quick Start guide for Win users (#1922) 4fd934f61 Fix abslangurl.md (#1919) bf2c45617 Quick start guide: fix broken links (#1915) 201b568df Update theme 874db199d Hide the news stripe on front page for now aaf59e3e2 netlify: Hugo 0.107.0 79654c301 Merge branch 'tempv107' 8345e0347 docs: Regen docs helper b5b4f15f9 Add assets directory to directory structure diagram (#1917) 76dd3a82a Follow-up: improve function signatures (#1914) (#1916) 656dc72ba Improving function signatures (#1914) b715e8407 Explain how to create multilingual content (#1912) 8500ee417 Fix typo in Quick Start guide ce60bb572 Add docu for undocumented functions (#1907) 372bf5e88 Improve Quick Start tutorial 71e81ec5f Remove asciicast from site 1e56c653f Update hosting-on-cloudflare-pages.md (#1903) 1686f60b1 Adding documentation page for function 'strings.FirstUpper' (#1901) d533f7c9c Fixing typos (#1900) 2563eee45 Update multilingual.md (#1899) 2173ed799 Update theme 5591b8875 Update urls.md (#1897) 4a88890b5 netlify: Hugo 0.106.0 512879fdd docs: Regen CLI docs f74b1d87d docs: Regenerate docs helper 9feacb48f Merge commit '00c4484c7092181729f6f470805bc7d72e8ad17b' git-subtree-dir: docs git-subtree-split: 4c1309cdfe9858434684352f9d544bf0c5c9d646
2022-12-02Merge commit 'da16527896d3087585c5e758083ea498dcabc2c3'Bjørn Erik Pedersen
2022-12-02deps: Upgrade github.com/bep/godartsass v0.14.0 => v0.15.0Bjørn Erik Pedersen
2022-11-25tpl: Use consistent delimiter spacing in examplesJoe Mooring
2022-11-24docs: Regen docs helperBjørn Erik Pedersen
2022-11-24releaser: Bump versions for release of 0.107.0v0.107.0hugoreleaser
[ci skip]
2022-11-24build(deps): bump github.com/getkin/kin-openapi from 0.108.0 to 0.109.0dependabot[bot]
Bumps [github.com/getkin/kin-openapi](https://github.com/getkin/kin-openapi) from 0.108.0 to 0.109.0. - [Release notes](https://github.com/getkin/kin-openapi/releases) - [Commits](https://github.com/getkin/kin-openapi/compare/v0.108.0...v0.109.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-11-24build(deps): bump github.com/evanw/esbuild from 0.15.14 to 0.15.15dependabot[bot]
Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild) from 0.15.14 to 0.15.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.15.14...v0.15.15) --- 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-11-24Add a cache for lexers.GetBjørn Erik Pedersen
``` name old time/op new time/op delta Codeblocks/Default-10 152ms ±11% 12ms ± 1% -92.44% (p=0.029 n=4+4) Codeblocks/Hook_no_higlight-10 142ms ± 0% 7ms ± 0% -95.36% (p=0.029 n=4+4) name old alloc/op new alloc/op delta Codeblocks/Default-10 11.9MB ± 0% 11.7MB ± 0% -1.59% (p=0.029 n=4+4) Codeblocks/Hook_no_higlight-10 4.62MB ± 1% 4.43MB ± 0% -4.08% (p=0.029 n=4+4) name old allocs/op new allocs/op delta Codeblocks/Default-10 209k ± 0% 209k ± 0% -0.03% (p=0.029 n=4+4) Codeblocks/Hook_no_higlight-10 68.4k ± 0% 68.3k ± 0% -0.06% (p=0.029 n=4+4) ```
2022-11-24markup/goldmark: Improve benchmarkBjørn Erik Pedersen
2022-11-21commands: Create assets directory with new siteJoe Mooring
Closes #10460
2022-11-19build(deps): bump github.com/frankban/quicktest from 1.14.3 to 1.14.4dependabot[bot]
Bumps [github.com/frankban/quicktest](https://github.com/frankban/quicktest) from 1.14.3 to 1.14.4. - [Release notes](https://github.com/frankban/quicktest/releases) - [Commits](https://github.com/frankban/quicktest/compare/v1.14.3...v1.14.4) --- 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-11-19build(deps): bump golang.org/x/tools from 0.2.0 to 0.3.0dependabot[bot]
Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.2.0 to 0.3.0. - [Release notes](https://github.com/golang/tools/releases) - [Commits](https://github.com/golang/tools/compare/v0.2.0...v0.3.0) --- updated-dependencies: - dependency-name: golang.org/x/tools dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2022-11-19deps: Upgrade github.com/alecthomas/chroma/v2 v2.4.0Bjørn Erik Pedersen
2022-11-18hugo/parser: Fix shortcode boolean param parsingJoe Mooring
Fixes #10451
2022-11-17releaser: Prepare repository for 0.107.0-DEVrelease-0.106.0hugoreleaser
[ci skip]
2022-11-17releaser: Bump versions for release of 0.106.0v0.106.0hugoreleaser
[ci skip]
2022-11-17resources/tpl: Add a test for resources.GetBjørn Erik Pedersen
Updates #10101
2022-11-17tlp/resources: resources.Get returns nil when given empty stringshifterbit
2022-11-17build(deps): bump github.com/pelletier/go-toml/v2 from 2.0.4 to 2.0.6dependabot[bot]
Bumps [github.com/pelletier/go-toml/v2](https://github.com/pelletier/go-toml) from 2.0.4 to 2.0.6. - [Release notes](https://github.com/pelletier/go-toml/releases) - [Changelog](https://github.com/pelletier/go-toml/blob/v2/.goreleaser.yaml) - [Commits](https://github.com/pelletier/go-toml/compare/v2.0.4...v2.0.6) --- updated-dependencies: - dependency-name: github.com/pelletier/go-toml/v2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2022-11-17docs: Regen CLI docsBjørn Erik Pedersen