summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2023-03-05releaser: Prepare repository for 0.112.0-DEVrelease-0.111.2hugoreleaser
[ci skip]
2023-03-05releaser: Bump versions for release of 0.111.2v0.111.2hugoreleaser
[ci skip]
2023-03-05Fix .Fragments when called cross sites on uninitialized output formatBjørn Erik Pedersen
Fixes #10794
2023-03-05Allow page.TableOfContents on self in shortcodeBjørn Erik Pedersen
Fixes #10791
2023-03-04tpl/partial: Consolidate GoDocBjørn Erik Pedersen
2023-03-04Fix "context canceled" with partialBjørn Erik Pedersen
Make sure the context used for timeouts isn't created based on the incoming context, as we have cases where this can cancel the context prematurely. Fixes #10789
2023-03-04cache: Fix --gc failure on WindowsOleksandr Redko
Fixes "Error: failed to prune cache" on Windows and removes work around from ec1c97e7e9d62ce5245135e0906fdedf14af0cae. Follows #10781.
2023-03-04Page context handling in i18nBjørn Erik Pedersen
This is a workaround. We need to improve on this, but not today. Fixes #10782
2023-03-04Work around --gc failure on Windows <= 10Bjørn Erik Pedersen
This applies two related fixes/improvements: * The --gc now keeps empty `_resources/_gen/images` etc folders, even if empty. This should have been the behaviour from the start. * Also, if removal of an empty dir on Windows fails with the "used by another process" error, just ignore it for now. Fixes #10781
2023-03-04Update to Go 1.20.1Bjørn Erik Pedersen
Fixes #10785
2023-03-04snap: Fix dart-sass-embedded installationJoe Mooring
Closes #10783
2023-03-02Correct typos in Go commentsOleksandr Redko
2023-03-02releaser: Prepare repository for 0.112.0-DEVrelease-0.111.1hugoreleaser
[ci skip]
2023-03-02releaser: Bump versions for release of 0.111.1v0.111.1hugoreleaser
[ci skip]
2023-03-02Merge branch 'release-0.111.0'Bjørn Erik Pedersen
2023-03-02Fix "page" not definedBjørn Erik Pedersen
Fixes #10774
2023-03-01releaser: Prepare repository for 0.112.0-DEVrelease-0.111.0hugoreleaser
[ci skip]
2023-03-01releaser: Bump versions for release of 0.111.0v0.111.0hugoreleaser
[ci skip]
2023-03-01Revert "build(deps): bump gocloud.dev from 0.24.0 to 0.28.0 (#10610)"Bjørn Erik Pedersen
This reverts commit c3a59a7d5a53eff9723861d0c4b18a574e2769bc. See #10770
2023-03-01build: Bump build imagesBjørn Erik Pedersen
To fix changed Shuffle behaviour on Go 1.20.
2023-03-01build: Update Linux ARM build imageBjørn Erik Pedersen
2023-03-01tpl/tplimpl: Remove the Google News internal templateJoe Mooring
This was deprecated, with a warning message, on 21 Nov 2021. Reference #9190
2023-03-01strings: fix Truncate behavior for formatted htmlKhayyam Saleem
Before this fix, strings.Truncate would erroneously re-include attributes from the opening tag in the closing tag when closing formatted html, due to a bug in how tagnames were extracted from the regex capture group for html tags used in `truncate.go`. This change ensures that only the tagname is retained and all attributes are discarded when storing the tags for closing them later. Fixes #10399
2023-03-01tpl/strings: Adjust benchmarkBjørn Erik Pedersen
2023-03-01tpl/strings: Add BenchmarkTruncateBjørn Erik Pedersen
2023-03-01cods: Regen docs helperBjørn Erik Pedersen
2023-03-01Move the Related doc counter to prevent a raceBjørn Erik Pedersen
Closes #10768
2023-03-01Misc ioutil deprecation adjustmentsBjørn Erik Pedersen
To make the tests pass. * Replace io => os.ReadFile in magefile.go * Adjust failing image test vs fs.DirEntry * Adjust poller test See #10732
2023-03-01Replace deprecated ioutil with io and osOleksandr Redko
https://pkg.go.dev/io/ioutil is deprecated since Go 1.16.
2023-03-01Merge commit '336622d5e7afd9334cd2de7150d4f16bdf7c24f9'Bjørn Erik Pedersen
2023-03-01Squashed 'docs/' changes from 36dd5483f..6e32d0591Bjørn Erik Pedersen
6e32d0591 Update quick-start.md (#1984) eddd25ff4 Mermaid: reflect latest docs specifications b2a23b6f5 Mermaid: switch to ESM import 43d83c131 Update index.md git-subtree-dir: docs git-subtree-split: 6e32d05910fb9d623ef26b647def10ea0e00cd15
2023-03-01build(deps): bump github.com/tdewolff/parse/v2 from 2.6.4 to 2.6.5dependabot[bot]
Bumps [github.com/tdewolff/parse/v2](https://github.com/tdewolff/parse) from 2.6.4 to 2.6.5. - [Release notes](https://github.com/tdewolff/parse/releases) - [Commits](https://github.com/tdewolff/parse/compare/v2.6.4...v2.6.5) --- updated-dependencies: - dependency-name: github.com/tdewolff/parse/v2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2023-02-27build(deps): bump github.com/mattn/go-isatty from 0.0.16 to 0.0.17dependabot[bot]
Bumps [github.com/mattn/go-isatty](https://github.com/mattn/go-isatty) from 0.0.16 to 0.0.17. - [Release notes](https://github.com/mattn/go-isatty/releases) - [Commits](https://github.com/mattn/go-isatty/compare/v0.0.16...v0.0.17) --- updated-dependencies: - dependency-name: github.com/mattn/go-isatty dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2023-02-27build(deps): bump golang.org/x/imagedependabot[bot]
Bumps [golang.org/x/image](https://github.com/golang/image) from 0.0.0-20211028202545-6944b10bf410 to 0.5.0. - [Release notes](https://github.com/golang/image/releases) - [Commits](https://github.com/golang/image/commits/v0.5.0) --- updated-dependencies: - dependency-name: golang.org/x/image dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2023-02-27Remove unused temp directoryOleksandr Redko
2023-02-26exif: Return the proper exposure time value in some special casesWaltCuller
Return value in float64 if exposure time is int or greater than 1, otherwise return in fraction. Fixes #10738
2023-02-25Add a page template funcBjørn Erik Pedersen
Fixes #9339
2023-02-24dartsass: Import CSS without extension at compile timeJoe Mooring
Applicable to Dart Sass only: - Sass imports with the .css extension indicate a plain CSS @import. - Sass imports without the .css extension are imported at compile time. Fixes #10592
2023-02-24Split parse and render for GoldmarkBjørn Erik Pedersen
This also speeds up situations where you only need the fragments/toc and not the rendered content, e.g. Related with fragments type indexing: ```bash name old time/op new time/op delta RelatedSite-10 12.3ms ± 2% 10.7ms ± 1% -12.95% (p=0.029 n=4+4) name old alloc/op new alloc/op delta RelatedSite-10 38.6MB ± 0% 38.2MB ± 0% -1.08% (p=0.029 n=4+4) name old allocs/op new allocs/op delta RelatedSite-10 117k ± 0% 115k ± 0% -1.36% (p=0.029 n=4+4) ``` Fixes #10750
2023-02-23related: Add config option cardinalityThresholdBjørn Erik Pedersen
Fixes #10744
2023-02-23 docs: Another fix related docs exampleBjørn Erik Pedersen
2023-02-23docs: Fix related docs exampleBjørn Erik Pedersen
2023-02-23build(deps): bump golang.org/x/net from 0.4.0 to 0.7.0dependabot[bot]
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.4.0 to 0.7.0. - [Release notes](https://github.com/golang/net/releases) - [Commits](https://github.com/golang/net/compare/v0.4.0...v0.7.0) --- updated-dependencies: - dependency-name: golang.org/x/net dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2023-02-23Fix shortcode error when closing without .InnerBjørn Erik Pedersen
Fixes #10672
2023-02-23Throw an error when shortcode is expected to be closedBjørn Erik Pedersen
Fixes #10675
2023-02-23Add some shortcode testcasesBjørn Erik Pedersen
Closes #10671
2023-02-23sass: Remove some unused leftover codeBjørn Erik Pedersen
2023-02-23resources/sass: Remove debug statementsJoe Mooring
Closes #10470
2023-02-23Squashed 'docs/' changes from 1214f6ffb..36dd5483fBjørn Erik Pedersen
36dd5483f Clarify placement of 404 template 6f0a5f3f0 Update urls.Parse.md c8070e578 Remove reference to Internet Explorer conditional comments (#1975) 3e3458f09 Describe default source map behavior for js.build (#1974) 08c9ed09a Simplify ordinal abbreviation example... (#1970) b5aa8d598 docs(markdownify): mention a context limitation (#1968) 596af47f5 Fixing typo in configuration.md doc (#1966) c47cadfcb Fix `hardWraps` config spelling (#1964) 5739a174e Add detail to tabWidth highlighting option 73a4bcd1f doc: Add hugo-lyra search engine (#1959) 6cc9ebdfd Update uniq function example (#1963) 686a65cf6 Update uniq.md 096f794d0 Update uniq.md 914ca0c38 remove `version` from SVG example (#1957) 58347d41f Update theme 7c806371f Fix 404 error for CloudCannon community learn docs (#1955) 58e42b03d Update theme fd0385ee2 Update theme 513b7a43a Update findRe.md 4d39137ef Update configuration.md b1c3b58a7 Update configuration.md f827cce8d Update configuration.md 3d72ed8fb netlify: Hugo 0.110.0 e6f969c87 Merge branch 'feat/config-rename' 4c0b5a0b5 dos: Regen CLI docs 05d9db705 docs: Regen docshelper f73bdb6e5 Merge commit 'ef6f101e75256c3bb88a6f1f3b5c1273bf8d7382' e83141f88 Format config 4cadf795e Rename config.toml -> hugo.toml c8aa8617f Move config/_default/config.toml -> config.toml 2943c031a Add fill HTTP Response info into .Data in resources.GetRemote git-subtree-dir: docs git-subtree-split: 36dd5483fb8efb6db4488bbaca5f6ac855f8ffea
2023-02-23Merge commit 'cf591b7c0c598d34896709db6d28598da37e3ff6'Bjørn Erik Pedersen