]> git.maquefel.me Git - brevno-suite/hugo/log
brevno-suite/hugo
2 years agoUpgrade to Go 1.21.6
Bjørn Erik Pedersen [Tue, 16 Jan 2024 09:49:03 +0000 (10:49 +0100)]
Upgrade to Go 1.21.6

Closes #11892

2 years agoparser/metadecoders: Add CSV lazyQuotes option to transform.Unmarshal
Joe Mooring [Sat, 13 Jan 2024 18:28:39 +0000 (10:28 -0800)]
parser/metadecoders: Add CSV lazyQuotes option to transform.Unmarshal

If true, a quote may appear in an unquoted field and a non-doubled quote
may appear in a quoted field. It defaults to false.

Closes #11884

2 years agoREADME: Update minimum Go version to 1.20
Joe Mooring [Sat, 6 Jan 2024 13:31:49 +0000 (05:31 -0800)]
README: Update minimum Go version to 1.20

2 years agoreleaser: Prepare repository for 0.122.0-DEV
hugoreleaser [Fri, 5 Jan 2024 12:34:12 +0000 (12:34 +0000)]
releaser: Prepare repository for 0.122.0-DEV

[ci skip]

2 years agoreleaser: Bump versions for release of 0.121.2
hugoreleaser [Fri, 5 Jan 2024 12:21:15 +0000 (12:21 +0000)]
releaser: Bump versions for release of 0.121.2

[ci skip]

2 years agobuild(deps): bump golang.org/x/crypto from 0.16.0 to 0.17.0
dependabot[bot] [Fri, 5 Jan 2024 11:28:09 +0000 (11:28 +0000)]
build(deps): bump golang.org/x/crypto from 0.16.0 to 0.17.0

Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.16.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.16.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years agotpl/math: Add math.Rand template function
Joe Mooring [Thu, 28 Dec 2023 22:25:29 +0000 (14:25 -0800)]
tpl/math: Add math.Rand template function

Closes #11833

2 years agoAdjust site benchmark
Bjørn Erik Pedersen [Fri, 29 Dec 2023 15:26:00 +0000 (16:26 +0100)]
Adjust site benchmark

2 years agoSimplify baseline benchmark
Bjørn Erik Pedersen [Fri, 29 Dec 2023 14:56:02 +0000 (15:56 +0100)]
Simplify baseline benchmark

2 years agoresources/images: Create AutoOrient image filter
Joe Mooring [Fri, 15 Dec 2023 20:04:05 +0000 (12:04 -0800)]
resources/images: Create AutoOrient image filter

Closes #11717

2 years agoall: Remove unused code
Bjørn Erik Pedersen [Mon, 18 Dec 2023 16:41:15 +0000 (17:41 +0100)]
all: Remove unused code

Using x/tools/cmd/deadcode

2 years agoreleaser: Prepare repository for 0.122.0-DEV
hugoreleaser [Fri, 8 Dec 2023 09:01:24 +0000 (09:01 +0000)]
releaser: Prepare repository for 0.122.0-DEV

[ci skip]

2 years agoreleaser: Bump versions for release of 0.121.1
hugoreleaser [Fri, 8 Dec 2023 08:47:45 +0000 (08:47 +0000)]
releaser: Bump versions for release of 0.121.1

[ci skip]

2 years agoUpgrade to Go 1.21.5
Bjørn Erik Pedersen [Thu, 7 Dec 2023 11:40:10 +0000 (12:40 +0100)]
Upgrade to Go 1.21.5

Closes #11786

2 years agoreleaser: Prepare repository for 0.122.0-DEV
hugoreleaser [Tue, 5 Dec 2023 15:36:07 +0000 (15:36 +0000)]
releaser: Prepare repository for 0.122.0-DEV

[ci skip]

2 years agoreleaser: Bump versions for release of 0.121.0
hugoreleaser [Tue, 5 Dec 2023 15:22:31 +0000 (15:22 +0000)]
releaser: Bump versions for release of 0.121.0

[ci skip]

2 years agodocs: Regen docshelper
Bjørn Erik Pedersen [Tue, 5 Dec 2023 15:19:43 +0000 (16:19 +0100)]
docs: Regen docshelper

2 years agobuild(deps): bump github.com/alecthomas/chroma/v2 from 2.11.1 to 2.12.0
dependabot[bot] [Tue, 5 Dec 2023 08:08:07 +0000 (08:08 +0000)]
build(deps): bump github.com/alecthomas/chroma/v2 from 2.11.1 to 2.12.0

Bumps [github.com/alecthomas/chroma/v2](https://github.com/alecthomas/chroma) from 2.11.1 to 2.12.0.
- [Release notes](https://github.com/alecthomas/chroma/releases)
- [Changelog](https://github.com/alecthomas/chroma/blob/master/.goreleaser.yml)
- [Commits](https://github.com/alecthomas/chroma/compare/v2.11.1...v2.12.0)

---
updated-dependencies:
- dependency-name: github.com/alecthomas/chroma/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years agodocs: Adjust last merge from docs repository
Joe Mooring [Mon, 4 Dec 2023 15:43:38 +0000 (07:43 -0800)]
docs: Adjust last merge from docs repository

2 years agodocs: Regen docs helper
Bjørn Erik Pedersen [Mon, 4 Dec 2023 14:24:34 +0000 (15:24 +0100)]
docs: Regen docs helper

2 years agoMerge commit '35dec7c96f7ee3eb17dd444f7067f0c776fb56ae'
Bjørn Erik Pedersen [Mon, 4 Dec 2023 14:24:01 +0000 (15:24 +0100)]
Merge commit '35dec7c96f7ee3eb17dd444f7067f0c776fb56ae'

2 years agoSquashed 'docs/' changes from 4d936aee6..4dd2d6415
Bjørn Erik Pedersen [Mon, 4 Dec 2023 14:14:18 +0000 (15:14 +0100)]
Squashed 'docs/' changes from 4d936aee6..4dd2d6415

4dd2d6415 Fix erroridf example
9ae8e9199 Clarify highlight options
f3943f9c8 Fix typo
b57ea5ac8 Add field to glossary of terms
3191e35b4 Clarify comment in the new-in shortcode
870c8d35c Correct description of Ref and RelRef page methods
c9df50e6e Specify encoding in description of crypto functions
749bb37e2 Add Ref, RelRef, and Site shortcode methods
994d4374b Update fmt functions
740f5ef96 Misc additions
77acdcdb6 Remove rssLimit from root config documentation
df84a1795 Document the openapi3.Unmarshal function
24236f57d Miscellaneous edits and corrections
41b54d421 Hide the "new in" button after some period of time
3c1ebac31 Update Ancestors.md
e699eb313 Add new-in tags to select functions and methods
5c41f0bf8 Clarify time.Format method
f7bd43ae1 Add link to built-in render hook for GoAT diagrams
06f9cd4c9 Document the diagrams.Goat function
5e432e12d Adjust quick reference weights
fc915efd6 Update FAQ
5bccf8b19 Use LinkTitle consistently in examples
36f207f3a Add page collection quick reference
699de883d Inlcude example of newScratch.Values
9bb7f8c78 Include RenderString example for emoji shortcodes
783fdd3ac Fix typo
26d5a4399 Fix typo
c7e86f0cf Fix typo
ad2a82fbd Clarify data type returned by partial and partialCached
1de5a52dd Miscellaneous corrections
3509e1b4d Update configuration-markup.md
8c6a9bf02 Clairfy figure shortcode output
c9d0dc8fb Update Markdownify.md
0c4bc1447 Update theme
0f0ab2ade Add methods deprecated in v0.120.0
e1c6ecd0f Miscellaneous edits
ec53b55b9 netlify: Hugo 0.120.4
23a1f3fd5 templates/internal.md: Correct GoogleAnalytics key name
6dcfa9a82 Update troubleshooting section
0c8857e8f Adjust code and code-toggle shortcodes
8820264d3 Reduce number of site audit warnings
526d06b90 Clarify hint option in image processing spec
310849daa Image Processing: Improve sentence and fix code sample
5bb67bfd4 Revert "Image Processing: Improve sentence and fix code sample" (#2318)
77c926fde Image Processing: Improve sentence and fix code sample
52179fb18 Miscellaneous edits
f4e886715 Revert change to hugo.work
c410fefa8 Update theme
8b72dfedd Rework where function documentation
f35a7126f Minor edits to global page function
903b42ebc Cleanup shortcode calls
c9247e98d Update documentation.md
dff3c4abb Clean up build option descriptions and examples
f46d31308 Use consistent signatures
2af2470b5 Minor correction to resources.GetRemote
45ec53fe0 Remove superfluous shortcode param
2a0544757 Improve deployment documentation
3cf36a7fc Clarify lang keyword
f10d6495d Update front-matter.md
dc94e20be Add Sveltia to CMS list
b15d6d670 Update front-ends.md
bb41588b2 Update FormatCurrency.md
b40fff396 Add showcase for hidden sections without index.html
71316e181 Improve image filter examples
d46f0b1d8 Miscellaneous edits
ad3f9cdb6 Adjust quick reference guides
8657804ba Update theme
d9e981147 Miscellaneous corrections
508666575 Miscellaneous updates
80b2241f9 Miscellaneous updates
723a827fd Namespace functions and methods
40212779a netlify: Hugo 0.120.3
66017c704 Bump GitHub workflows to latest versions
db0f1e682 Update related.md
7e758c23b netlify: Hugo 0.120.2
641ba3976 Update configuration.md
d2a9909d9 Update rss.md
7eb59d7a2 netlify: Hugo 0.120.1
708c351c4 Document debug.Timer
28e2388c2 Add new-in tag to images.Padding
ee24cffb5 Add new-in tags to hugo.IsDevelopment and hugo.IsServer
aa47ca023 netlify: Hugo 0.120.0
9c3e606fc docs: Regen docshelper
159fd971e commands/new: Remove format flag from new content cmd
9f7878092 Merge commit 'aaaf1c8df5d6aa061609d20510f7fa6c42e5cc1a'
65b2dd324 docs: Regenerate docshelper
2be620663 resources/images: Create padding image filter
c777d6c5e Merge commit '3710a5ec7efe6baca6e452f43632c05d22bab3c4'
24f2afeb2 Merge commit 'e509cac533600cf4fa8382c9cdab78ddd82db688'
3f947c19a hugolib: Deprecate .Site.DisqusShortname
6bd1af892 hugolib: Deprecate .Site.GoogleAnalytics
78becc6ee tpl/tplimpl: Deprecate .Site.Social usage with internal templates
e3ec2a4f2 common/hugo: Add hugo.IsServer and hugo.IsDevelopment

git-subtree-dir: docs
git-subtree-split: 4dd2d641531f74025ed9f51ea5a961e936988cfb

2 years agoPull in the latest code from Go's template packages (#11771)
Bjørn Erik Pedersen [Mon, 4 Dec 2023 11:07:54 +0000 (12:07 +0100)]
Pull in the latest code from Go's template packages (#11771)

Fixes #10707
Fixes #11507

2 years agotpl: Allow using page resources on the images page parameter for `opengraph`, `schema...
Razon Yang [Mon, 4 Dec 2023 11:05:41 +0000 (19:05 +0800)]
tpl: Allow using page resources on the images page parameter for `opengraph`, `schema` and `twitter_cards` templates

The page images selection order as follows:

1. Page's images parameter, image resources are supported.
2. Page's image resources that naming in *feature*, *cover* or *thumbnail* pattern.
3. If no page images specified, then the first one of site's images will be used as the fallback, supports site resources.

2 years agohugolib: Apply titleCaseStyle to automatic section pages
Joe Mooring [Mon, 9 Oct 2023 04:58:54 +0000 (21:58 -0700)]
hugolib: Apply titleCaseStyle to automatic section pages

Fixes #11547

2 years agotpl/urls: Retain query and fragment with absURL and absLangURL
Joe Mooring [Fri, 1 Dec 2023 22:39:09 +0000 (14:39 -0800)]
tpl/urls: Retain query and fragment with absURL and absLangURL

Closes #11772

2 years agomarkup: Add Level to Heading struct
Joe Mooring [Sat, 2 Dec 2023 20:55:54 +0000 (12:55 -0800)]
markup: Add Level to Heading struct

Closes #10776

2 years agotpl/fmt: Print suppression help with erroridf
Joe Mooring [Sun, 3 Dec 2023 19:06:33 +0000 (11:06 -0800)]
tpl/fmt: Print suppression help with erroridf

Closes #11506

2 years agotpl/transform: Display Chroma highlighting errors
Joe Mooring [Sun, 3 Dec 2023 22:38:49 +0000 (14:38 -0800)]
tpl/transform: Display Chroma highlighting errors

Closes #9642

2 years agobuild(deps): bump github.com/tdewolff/minify/v2 from 2.20.8 to 2.20.9
dependabot[bot] [Mon, 4 Dec 2023 08:46:46 +0000 (08:46 +0000)]
build(deps): bump github.com/tdewolff/minify/v2 from 2.20.8 to 2.20.9

Bumps [github.com/tdewolff/minify/v2](https://github.com/tdewolff/minify) from 2.20.8 to 2.20.9.
- [Release notes](https://github.com/tdewolff/minify/releases)
- [Commits](https://github.com/tdewolff/minify/compare/v2.20.8...v2.20.9)

---
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>
2 years agobuild(deps): bump github.com/spf13/cast from 1.5.1 to 1.6.0
dependabot[bot] [Fri, 1 Dec 2023 08:10:50 +0000 (08:10 +0000)]
build(deps): bump github.com/spf13/cast from 1.5.1 to 1.6.0

Bumps [github.com/spf13/cast](https://github.com/spf13/cast) from 1.5.1 to 1.6.0.
- [Release notes](https://github.com/spf13/cast/releases)
- [Commits](https://github.com/spf13/cast/compare/v1.5.1...v1.6.0)

---
updated-dependencies:
- dependency-name: github.com/spf13/cast
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years agobuild(deps): bump github.com/getkin/kin-openapi from 0.121.0 to 0.122.0
dependabot[bot] [Thu, 30 Nov 2023 18:23:52 +0000 (18:23 +0000)]
build(deps): bump github.com/getkin/kin-openapi from 0.121.0 to 0.122.0

Bumps [github.com/getkin/kin-openapi](https://github.com/getkin/kin-openapi) from 0.121.0 to 0.122.0.
- [Release notes](https://github.com/getkin/kin-openapi/releases)
- [Commits](https://github.com/getkin/kin-openapi/compare/v0.121.0...v0.122.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>
2 years agogithub: Fix CI build on Windows
Bjørn Erik Pedersen [Thu, 30 Nov 2023 18:22:29 +0000 (19:22 +0100)]
github: Fix CI build on Windows

2 years agobuild(deps): bump golang.org/x/image from 0.13.0 to 0.14.0
dependabot[bot] [Thu, 30 Nov 2023 09:07:30 +0000 (09:07 +0000)]
build(deps): bump golang.org/x/image from 0.13.0 to 0.14.0

Bumps [golang.org/x/image](https://github.com/golang/image) from 0.13.0 to 0.14.0.
- [Commits](https://github.com/golang/image/compare/v0.13.0...v0.14.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>
2 years agodeps: Update github.com/tdewolff/minify/v2 v2.20.7 => v2.20.8
Joe Mooring [Wed, 29 Nov 2023 22:03:40 +0000 (14:03 -0800)]
deps: Update github.com/tdewolff/minify/v2 v2.20.7 => v2.20.8

Closes #5748

2 years agobuild(deps): bump github.com/spf13/afero from 1.10.0 to 1.11.0
dependabot[bot] [Wed, 29 Nov 2023 08:41:22 +0000 (08:41 +0000)]
build(deps): bump github.com/spf13/afero from 1.10.0 to 1.11.0

Bumps [github.com/spf13/afero](https://github.com/spf13/afero) from 1.10.0 to 1.11.0.
- [Release notes](https://github.com/spf13/afero/releases)
- [Commits](https://github.com/spf13/afero/compare/v1.10.0...v1.11.0)

---
updated-dependencies:
- dependency-name: github.com/spf13/afero
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years agobuild(deps): bump github.com/evanw/esbuild from 0.19.7 to 0.19.8
dependabot[bot] [Wed, 29 Nov 2023 08:41:04 +0000 (08:41 +0000)]
build(deps): bump github.com/evanw/esbuild from 0.19.7 to 0.19.8

Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild) from 0.19.7 to 0.19.8.
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md)
- [Commits](https://github.com/evanw/esbuild/compare/v0.19.7...v0.19.8)

---
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>
2 years agoFix handling of dropped error in test
Lars Lehtonen [Wed, 29 Nov 2023 08:37:26 +0000 (00:37 -0800)]
Fix handling of dropped error in test

2 years agobuild(deps): bump google.golang.org/api from 0.151.0 to 0.152.0
dependabot[bot] [Tue, 28 Nov 2023 09:59:00 +0000 (09:59 +0000)]
build(deps): bump google.golang.org/api from 0.151.0 to 0.152.0

Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.151.0 to 0.152.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases)
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md)
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.151.0...v0.152.0)

---
updated-dependencies:
- dependency-name: google.golang.org/api
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years agocommon/para: Skip flaky test on CI
Bjørn Erik Pedersen [Tue, 28 Nov 2023 08:17:19 +0000 (09:17 +0100)]
common/para: Skip flaky test on CI

2 years agodeps: Upgrade to libwebp 1.3.2
Bjørn Erik Pedersen [Mon, 27 Nov 2023 22:08:12 +0000 (23:08 +0100)]
deps: Upgrade to libwebp 1.3.2

Closes #11746

2 years agobuild(deps): bump github.com/aws/aws-sdk-go from 1.48.4 to 1.48.6
dependabot[bot] [Tue, 28 Nov 2023 08:56:59 +0000 (08:56 +0000)]
build(deps): bump github.com/aws/aws-sdk-go from 1.48.4 to 1.48.6

Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.48.4 to 1.48.6.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.48.4...v1.48.6)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years agobuild(deps): bump golang.org/x/tools from 0.15.0 to 0.16.0
dependabot[bot] [Tue, 28 Nov 2023 08:56:39 +0000 (08:56 +0000)]
build(deps): bump golang.org/x/tools from 0.15.0 to 0.16.0

Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.15.0 to 0.16.0.
- [Release notes](https://github.com/golang/tools/releases)
- [Commits](https://github.com/golang/tools/compare/v0.15.0...v0.16.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>
2 years agobuild(deps): bump github.com/getkin/kin-openapi from 0.120.0 to 0.121.0
dependabot[bot] [Tue, 28 Nov 2023 08:56:04 +0000 (08:56 +0000)]
build(deps): bump github.com/getkin/kin-openapi from 0.120.0 to 0.121.0

Bumps [github.com/getkin/kin-openapi](https://github.com/getkin/kin-openapi) from 0.120.0 to 0.121.0.
- [Release notes](https://github.com/getkin/kin-openapi/releases)
- [Commits](https://github.com/getkin/kin-openapi/compare/v0.120.0...v0.121.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>
2 years agobuild(deps): bump github.com/bep/logg from 0.3.0 to 0.4.0
dependabot[bot] [Tue, 28 Nov 2023 08:56:10 +0000 (08:56 +0000)]
build(deps): bump github.com/bep/logg from 0.3.0 to 0.4.0

Bumps [github.com/bep/logg](https://github.com/bep/logg) from 0.3.0 to 0.4.0.
- [Release notes](https://github.com/bep/logg/releases)
- [Commits](https://github.com/bep/logg/compare/v0.3.0...v0.4.0)

---
updated-dependencies:
- dependency-name: github.com/bep/logg
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years agodeps: Upgrade to github.com/bep/simplecobra v0.4.0
Bjørn Erik Pedersen [Mon, 27 Nov 2023 15:14:27 +0000 (16:14 +0100)]
deps: Upgrade to github.com/bep/simplecobra v0.4.0

2 years agobuild(deps): bump github.com/aws/aws-sdk-go from 1.48.2 to 1.48.4
dependabot[bot] [Mon, 27 Nov 2023 09:00:54 +0000 (09:00 +0000)]
build(deps): bump github.com/aws/aws-sdk-go from 1.48.2 to 1.48.4

Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.48.2 to 1.48.4.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.48.2...v1.48.4)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years agowatcher: Skip flaky test for now
Bjørn Erik Pedersen [Mon, 27 Nov 2023 16:54:57 +0000 (17:54 +0100)]
watcher: Skip flaky test for now

2 years agobuild(deps): bump golang.org/x/tools from 0.14.0 to 0.15.0
dependabot[bot] [Thu, 23 Nov 2023 10:15:26 +0000 (10:15 +0000)]
build(deps): bump golang.org/x/tools from 0.14.0 to 0.15.0

Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.14.0 to 0.15.0.
- [Release notes](https://github.com/golang/tools/releases)
- [Commits](https://github.com/golang/tools/compare/v0.14.0...v0.15.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>
2 years agotpl/transform: Add transform.XMLEscape template function
Joe Mooring [Fri, 24 Nov 2023 23:51:27 +0000 (15:51 -0800)]
tpl/transform: Add transform.XMLEscape template function

Fixes #3268

2 years agobuild(deps): bump github.com/gorilla/websocket from 1.5.0 to 1.5.1
dependabot[bot] [Fri, 24 Nov 2023 08:59:33 +0000 (08:59 +0000)]
build(deps): bump github.com/gorilla/websocket from 1.5.0 to 1.5.1

Bumps [github.com/gorilla/websocket](https://github.com/gorilla/websocket) from 1.5.0 to 1.5.1.
- [Release notes](https://github.com/gorilla/websocket/releases)
- [Commits](https://github.com/gorilla/websocket/compare/v1.5.0...v1.5.1)

---
updated-dependencies:
- dependency-name: github.com/gorilla/websocket
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years agobuild(deps): bump github.com/fatih/color from 1.15.0 to 1.16.0
dependabot[bot] [Fri, 24 Nov 2023 08:59:58 +0000 (08:59 +0000)]
build(deps): bump github.com/fatih/color from 1.15.0 to 1.16.0

Bumps [github.com/fatih/color](https://github.com/fatih/color) from 1.15.0 to 1.16.0.
- [Release notes](https://github.com/fatih/color/releases)
- [Commits](https://github.com/fatih/color/compare/v1.15.0...v1.16.0)

---
updated-dependencies:
- dependency-name: github.com/fatih/color
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years agotpl/tplimpl: Remove superfluous type attr on script elements
Joe Mooring [Sat, 25 Nov 2023 20:43:52 +0000 (12:43 -0800)]
tpl/tplimpl: Remove superfluous type attr on script elements

Closes #6379

2 years agobuild(deps): bump golang.org/x/net from 0.17.0 to 0.18.0
dependabot[bot] [Thu, 23 Nov 2023 08:08:34 +0000 (08:08 +0000)]
build(deps): bump golang.org/x/net from 0.17.0 to 0.18.0

Bumps [golang.org/x/net](https://github.com/golang/net) from 0.17.0 to 0.18.0.
- [Commits](https://github.com/golang/net/compare/v0.17.0...v0.18.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>
2 years agobuild(deps): bump github.com/evanw/esbuild from 0.19.5 to 0.19.7
dependabot[bot] [Thu, 23 Nov 2023 08:09:05 +0000 (08:09 +0000)]
build(deps): bump github.com/evanw/esbuild from 0.19.5 to 0.19.7

Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild) from 0.19.5 to 0.19.7.
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md)
- [Commits](https://github.com/evanw/esbuild/compare/v0.19.5...v0.19.7)

---
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>
2 years agobuild(deps): bump github.com/alecthomas/chroma/v2 from 2.10.0 to 2.11.1
dependabot[bot] [Thu, 23 Nov 2023 08:09:41 +0000 (08:09 +0000)]
build(deps): bump github.com/alecthomas/chroma/v2 from 2.10.0 to 2.11.1

Bumps [github.com/alecthomas/chroma/v2](https://github.com/alecthomas/chroma) from 2.10.0 to 2.11.1.
- [Release notes](https://github.com/alecthomas/chroma/releases)
- [Changelog](https://github.com/alecthomas/chroma/blob/master/.goreleaser.yml)
- [Commits](https://github.com/alecthomas/chroma/compare/v2.10.0...v2.11.1)

---
updated-dependencies:
- dependency-name: github.com/alecthomas/chroma/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years agobuild(deps): bump github.com/tdewolff/minify/v2 from 2.20.5 to 2.20.7
dependabot[bot] [Fri, 17 Nov 2023 08:13:56 +0000 (08:13 +0000)]
build(deps): bump github.com/tdewolff/minify/v2 from 2.20.5 to 2.20.7

Bumps [github.com/tdewolff/minify/v2](https://github.com/tdewolff/minify) from 2.20.5 to 2.20.7.
- [Release notes](https://github.com/tdewolff/minify/releases)
- [Commits](https://github.com/tdewolff/minify/compare/v2.20.5...v2.20.7)

---
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>
2 years agobuild(deps): bump google.golang.org/api from 0.138.0 to 0.151.0
dependabot[bot] [Wed, 22 Nov 2023 11:20:10 +0000 (11:20 +0000)]
build(deps): bump google.golang.org/api from 0.138.0 to 0.151.0

Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.138.0 to 0.151.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases)
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md)
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.138.0...v0.151.0)

---
updated-dependencies:
- dependency-name: google.golang.org/api
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years agobuild(deps): bump github.com/aws/aws-sdk-go from 1.45.14 to 1.48.2 (#11724)
dependabot[bot] [Wed, 22 Nov 2023 11:19:01 +0000 (12:19 +0100)]
build(deps): bump github.com/aws/aws-sdk-go from 1.45.14 to 1.48.2 (#11724)

Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.45.14 to 1.48.2.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.45.14...v1.48.2)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Updates #11723

2 years agoresources/resource: Fix GroupByParamDate with raw TOML dates
Joe Mooring [Mon, 13 Nov 2023 21:34:41 +0000 (13:34 -0800)]
resources/resource: Fix GroupByParamDate with raw TOML dates

Closes #11563

2 years agocommon/para: Skip flaky tests on Windows
Bjørn Erik Pedersen [Thu, 16 Nov 2023 17:24:20 +0000 (18:24 +0100)]
common/para: Skip flaky tests on Windows

2 years agonavigation: Unexport menu entry methods
Joe Mooring [Wed, 8 Nov 2023 04:23:45 +0000 (20:23 -0800)]
navigation: Unexport menu entry methods

- MenuEntry.IsEqual
- MenuEntry.IsSameResource

Closes #11670

2 years agomarkup/goldmark: Sync image render hook code with Goldmark
Joe Mooring [Wed, 8 Nov 2023 03:47:15 +0000 (19:47 -0800)]
markup/goldmark: Sync image render hook code with Goldmark

Fixes #11681

2 years agohelpers: Fix TrimShortHTML used by markdownify and RenderString
Joe Mooring [Sun, 12 Nov 2023 05:27:44 +0000 (21:27 -0800)]
helpers: Fix TrimShortHTML used by markdownify and RenderString

Closes #11698

2 years agoreleaser: Prepare repository for 0.121.0-DEV
hugoreleaser [Wed, 8 Nov 2023 11:32:02 +0000 (11:32 +0000)]
releaser: Prepare repository for 0.121.0-DEV

[ci skip]

2 years agoreleaser: Bump versions for release of 0.120.4
hugoreleaser [Wed, 8 Nov 2023 11:18:07 +0000 (11:18 +0000)]
releaser: Bump versions for release of 0.120.4

[ci skip]

2 years agoUpgrade to go 1.21.4
Bjørn Erik Pedersen [Wed, 8 Nov 2023 10:53:26 +0000 (11:53 +0100)]
Upgrade to go 1.21.4

Closes #11685

2 years agoAdd a new test helper
Bjørn Erik Pedersen [Thu, 2 Nov 2023 08:50:18 +0000 (09:50 +0100)]
Add a new test helper

2 years agoreleaser: Prepare repository for 0.121.0-DEV
hugoreleaser [Wed, 1 Nov 2023 18:11:30 +0000 (18:11 +0000)]
releaser: Prepare repository for 0.121.0-DEV

[ci skip]

2 years agoreleaser: Bump versions for release of 0.120.3
hugoreleaser [Wed, 1 Nov 2023 17:57:00 +0000 (17:57 +0000)]
releaser: Bump versions for release of 0.120.3

[ci skip]

2 years agotpl/tplimpl: Fix deprecation logic in embedded templates
Joe Mooring [Wed, 1 Nov 2023 15:31:15 +0000 (08:31 -0700)]
tpl/tplimpl: Fix deprecation logic in embedded templates

Closes #11658

2 years agoRemove some old and unused deprecation code
Bjørn Erik Pedersen [Wed, 1 Nov 2023 14:36:17 +0000 (15:36 +0100)]
Remove some old and unused deprecation code

2 years agoAdd a field prefix to the deprecated log statements
Bjørn Erik Pedersen [Wed, 1 Nov 2023 14:21:21 +0000 (15:21 +0100)]
Add a field prefix to the deprecated log statements

To make theme easier to spot, esp. on INFO level.

2 years agoAvoid double printing INFO deprecation messages
Bjørn Erik Pedersen [Wed, 1 Nov 2023 14:15:34 +0000 (15:15 +0100)]
Avoid double printing INFO deprecation messages

Fixes #11645

2 years agobuild(deps): bump github.com/tdewolff/parse/v2 from 2.7.1 to 2.7.3
dependabot[bot] [Wed, 1 Nov 2023 09:33:52 +0000 (09:33 +0000)]
build(deps): bump github.com/tdewolff/parse/v2 from 2.7.1 to 2.7.3

Bumps [github.com/tdewolff/parse/v2](https://github.com/tdewolff/parse) from 2.7.1 to 2.7.3.
- [Release notes](https://github.com/tdewolff/parse/releases)
- [Commits](https://github.com/tdewolff/parse/compare/v2.7.1...v2.7.3)

---
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>
2 years agobuild(deps): bump github.com/tdewolff/minify/v2 from 2.20.1 to 2.20.5
dependabot[bot] [Wed, 1 Nov 2023 08:53:19 +0000 (08:53 +0000)]
build(deps): bump github.com/tdewolff/minify/v2 from 2.20.1 to 2.20.5

Bumps [github.com/tdewolff/minify/v2](https://github.com/tdewolff/minify) from 2.20.1 to 2.20.5.
- [Release notes](https://github.com/tdewolff/minify/releases)
- [Commits](https://github.com/tdewolff/minify/compare/v2.20.1...v2.20.5)

---
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>
2 years agoreleaser: Prepare repository for 0.121.0-DEV
hugoreleaser [Tue, 31 Oct 2023 16:40:29 +0000 (16:40 +0000)]
releaser: Prepare repository for 0.121.0-DEV

[ci skip]

2 years agoreleaser: Bump versions for release of 0.120.2
hugoreleaser [Tue, 31 Oct 2023 16:27:18 +0000 (16:27 +0000)]
releaser: Bump versions for release of 0.120.2

[ci skip]

2 years agoFix deprecation printing on info level
Bjørn Erik Pedersen [Tue, 31 Oct 2023 08:25:28 +0000 (09:25 +0100)]
Fix deprecation printing on info level

Fixes #11638

2 years agotpl/tplimpl: Fix deprecation logic in RSS template
Joe Mooring [Tue, 31 Oct 2023 07:34:30 +0000 (00:34 -0700)]
tpl/tplimpl: Fix deprecation logic in RSS template

Closes #11639

2 years agoreleaser: Prepare repository for 0.121.0-DEV
hugoreleaser [Mon, 30 Oct 2023 16:57:41 +0000 (16:57 +0000)]
releaser: Prepare repository for 0.121.0-DEV

[ci skip]

2 years agoreleaser: Bump versions for release of 0.120.1
hugoreleaser [Mon, 30 Oct 2023 16:44:31 +0000 (16:44 +0000)]
releaser: Bump versions for release of 0.120.1

[ci skip]

2 years agodeps: Update github.com/tdewolff/minify/v2 v2.20.0 => v2.20.1
Joe Mooring [Mon, 30 Oct 2023 15:12:52 +0000 (08:12 -0700)]
deps: Update github.com/tdewolff/minify/v2 v2.20.0 => v2.20.1

Fixes #11633

2 years agoreleaser: Prepare repository for 0.121.0-DEV
hugoreleaser [Mon, 30 Oct 2023 14:20:34 +0000 (14:20 +0000)]
releaser: Prepare repository for 0.121.0-DEV

[ci skip]

2 years agoreleaser: Bump versions for release of 0.120.0
hugoreleaser [Mon, 30 Oct 2023 14:06:47 +0000 (14:06 +0000)]
releaser: Bump versions for release of 0.120.0

[ci skip]

2 years agodocs: Regen docshelper
Bjørn Erik Pedersen [Mon, 30 Oct 2023 14:03:10 +0000 (15:03 +0100)]
docs: Regen docshelper

2 years agoAdd Solaris build
Bjørn Erik Pedersen [Mon, 30 Oct 2023 11:43:36 +0000 (12:43 +0100)]
Add Solaris build

Closes #3500

2 years agobuild(deps): bump github.com/fsnotify/fsnotify from 1.6.0 to 1.7.0
dependabot[bot] [Mon, 30 Oct 2023 09:30:36 +0000 (09:30 +0000)]
build(deps): bump github.com/fsnotify/fsnotify from 1.6.0 to 1.7.0

Bumps [github.com/fsnotify/fsnotify](https://github.com/fsnotify/fsnotify) from 1.6.0 to 1.7.0.
- [Release notes](https://github.com/fsnotify/fsnotify/releases)
- [Changelog](https://github.com/fsnotify/fsnotify/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fsnotify/fsnotify/compare/v1.6.0...v1.7.0)

---
updated-dependencies:
- dependency-name: github.com/fsnotify/fsnotify
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years agobuild(deps): bump github.com/google/go-cmp from 0.5.9 to 0.6.0
dependabot[bot] [Mon, 30 Oct 2023 08:32:51 +0000 (08:32 +0000)]
build(deps): bump github.com/google/go-cmp from 0.5.9 to 0.6.0

Bumps [github.com/google/go-cmp](https://github.com/google/go-cmp) from 0.5.9 to 0.6.0.
- [Release notes](https://github.com/google/go-cmp/releases)
- [Commits](https://github.com/google/go-cmp/compare/v0.5.9...v0.6.0)

---
updated-dependencies:
- dependency-name: github.com/google/go-cmp
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years agobuild(deps): bump github.com/alecthomas/chroma/v2 from 2.9.1 to 2.10.0
dependabot[bot] [Mon, 30 Oct 2023 08:33:02 +0000 (08:33 +0000)]
build(deps): bump github.com/alecthomas/chroma/v2 from 2.9.1 to 2.10.0

Bumps [github.com/alecthomas/chroma/v2](https://github.com/alecthomas/chroma) from 2.9.1 to 2.10.0.
- [Release notes](https://github.com/alecthomas/chroma/releases)
- [Changelog](https://github.com/alecthomas/chroma/blob/master/.goreleaser.yml)
- [Commits](https://github.com/alecthomas/chroma/compare/v2.9.1...v2.10.0)

---
updated-dependencies:
- dependency-name: github.com/alecthomas/chroma/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years agoMake site.BaseURL and $pager.URL a string
Bjørn Erik Pedersen [Mon, 30 Oct 2023 08:07:03 +0000 (09:07 +0100)]
Make site.BaseURL and $pager.URL a string

Was template.URL.

2 years agocreate/skeletons: Fix menu template
Joe Mooring [Wed, 4 Oct 2023 02:36:14 +0000 (19:36 -0700)]
create/skeletons: Fix menu template

Check identifier existence before calling lang.Translate to prevent
empty warnings when using the --printI18nWarnings flag.

Closes #11519

2 years agocommands/new: Remove format flag from new content cmd
Joe Mooring [Fri, 29 Sep 2023 19:17:35 +0000 (12:17 -0700)]
commands/new: Remove format flag from new content cmd

Fixes #11462

2 years agohugolib: Display correct markup identifier in error message
Joe Mooring [Sat, 7 Oct 2023 18:11:45 +0000 (11:11 -0700)]
hugolib: Display correct markup identifier in error message

Fixes #11538

2 years agolivereloadinject: Save some allocations
Bjørn Erik Pedersen [Sun, 29 Oct 2023 17:03:36 +0000 (18:03 +0100)]
livereloadinject: Save some allocations

As suggested by @DominoPivot

```
name                 old time/op    new time/op    delta
LiveReloadInject-10    1.11µs ± 2%    1.04µs ± 2%   -6.45%  (p=0.029 n=4+4)

name                 old alloc/op   new alloc/op   delta
LiveReloadInject-10    1.23kB ± 0%    0.89kB ± 0%  -27.69%  (p=0.029 n=4+4)

name                 old allocs/op  new allocs/op  delta
LiveReloadInject-10      12.0 ± 0%      10.0 ± 0%  -16.67%  (p=0.029 n=4+4)
```

2 years agolivereloadinject: Use more robust injection method
Domino Goupil [Wed, 18 Oct 2023 21:46:36 +0000 (17:46 -0400)]
livereloadinject: Use more robust injection method

2 years agotpl/urls: Return strings from URL functions
Joe Mooring [Fri, 29 Sep 2023 14:51:33 +0000 (07:51 -0700)]
tpl/urls: Return strings from URL functions

Closes #11511

2 years agotransform/livereloadinject: Add benchmark
Bjørn Erik Pedersen [Sun, 29 Oct 2023 16:50:55 +0000 (17:50 +0100)]
transform/livereloadinject: Add benchmark

2 years agobuild(deps): bump golang.org/x/tools from 0.13.0 to 0.14.0
dependabot[bot] [Sun, 29 Oct 2023 10:37:52 +0000 (10:37 +0000)]
build(deps): bump golang.org/x/tools from 0.13.0 to 0.14.0

Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.13.0 to 0.14.0.
- [Release notes](https://github.com/golang/tools/releases)
- [Commits](https://github.com/golang/tools/compare/v0.13.0...v0.14.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>
2 years agobuild(deps): bump github.com/tdewolff/minify/v2 from 2.12.9 to 2.20.0
dependabot[bot] [Sun, 29 Oct 2023 09:15:38 +0000 (09:15 +0000)]
build(deps): bump github.com/tdewolff/minify/v2 from 2.12.9 to 2.20.0

Bumps [github.com/tdewolff/minify/v2](https://github.com/tdewolff/minify) from 2.12.9 to 2.20.0.
- [Release notes](https://github.com/tdewolff/minify/releases)
- [Commits](https://github.com/tdewolff/minify/compare/v2.12.9...v2.20.0)

---
updated-dependencies:
- dependency-name: github.com/tdewolff/minify/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>