]>
git.maquefel.me Git - brevno-suite/hugo/log
Joe Mooring [Mon, 16 Oct 2023 23:56:56 +0000 (16:56 -0700)]
tpl/tplimpl: Deprecate .Site.Author usage in RSS template
Joe Mooring [Tue, 17 Oct 2023 00:43:11 +0000 (17:43 -0700)]
tpl/tplimpl: Deprecate .Site.Social usage with internal templates
Joe Mooring [Sun, 8 Oct 2023 23:59:36 +0000 (16:59 -0700)]
markup/tableofcontents: Return template.HTML from .Fragments.ToHTML
Closes #11545
Joe Mooring [Fri, 6 Oct 2023 15:39:43 +0000 (08:39 -0700)]
deps: Update github.com/tdewolff/minify/v2 v2.12.7 => v2.12.9
Fixes #11533
Joe Mooring [Thu, 5 Oct 2023 15:47:46 +0000 (08:47 -0700)]
commands: Update message displayed when running CLI from GUI
Fixes #11525
Joe Mooring [Fri, 29 Sep 2023 17:23:08 +0000 (10:23 -0700)]
common/hugo: Add hugo.IsServer and hugo.IsDevelopment
And deprecate site.IsServer.
Closes #11510
Oleksandr Redko [Wed, 4 Oct 2023 19:25:43 +0000 (22:25 +0300)]
all: Format files with gofmt
abdullah-alaadine [Wed, 4 Oct 2023 08:28:10 +0000 (11:28 +0300)]
magefile: Update isGoLatest to check for Go 1.21
Joe Mooring [Fri, 29 Sep 2023 16:22:58 +0000 (09:22 -0700)]
resources/integrity: Return string instead of template.HTMLAttr
Closes #11513
Bjørn Erik Pedersen [Wed, 27 Sep 2023 17:32:41 +0000 (19:32 +0200)]
Update README.md
Joe Mooring [Tue, 26 Sep 2023 21:04:01 +0000 (14:04 -0700)]
tpl/lang: Formally deprecate lang.NumFmt
Use lang.FormatNumberCustom instead.
Joe Mooring [Tue, 26 Sep 2023 20:49:44 +0000 (13:49 -0700)]
tpl/collections: Fix and deprecate echoParams
Fixes #11498
hugoreleaser [Sun, 24 Sep 2023 15:32:33 +0000 (15:32 +0000)]
releaser: Prepare repository for 0.120.0-DEV
[ci skip]
hugoreleaser [Sun, 24 Sep 2023 15:20:17 +0000 (15:20 +0000)]
releaser: Bump versions for release of 0.119.0
[ci skip]
Bjørn Erik Pedersen [Sun, 24 Sep 2023 10:26:00 +0000 (12:26 +0200)]
docs: Even more about images.Process
Bjørn Erik Pedersen [Sun, 24 Sep 2023 10:11:03 +0000 (12:11 +0200)]
docs: More about images.Process
Oleksandr Redko [Thu, 31 Aug 2023 13:39:20 +0000 (16:39 +0300)]
common: Remove unused constants
Bjørn Erik Pedersen [Sun, 24 Sep 2023 09:56:43 +0000 (11:56 +0200)]
docs: Regen docshelper
Bjørn Erik Pedersen [Sun, 24 Sep 2023 09:54:45 +0000 (11:54 +0200)]
Bjørn Erik Pedersen [Sun, 24 Sep 2023 09:54:45 +0000 (11:54 +0200)]
Squashed 'docs/' changes from
686c7b6eb ..
7ef2dbce4
7ef2dbce4 Cleanup RSS templates page
0e23d5e1a Fix multilingual permalinks example
b3c342b07 Update faq.md
f73109ae2 Regen CLI docs
ac6ee2027 Fix minor nitpicks (#2233)
f24fcffe1 Mention the Giscus comments system (#2234)
418fa981e Remove reference to Ghost migration tool
94a76df29 Adjust table layout
e263ad6b9 content: Fix typos
fd1eb26b5 Update featured image in digital.gov showcase
d3d946555 Correct directory description
bbe1dff56 Use sentence case for heading
acfa0be54 Add hosting provider fetch depth to GitInfo variables page
d78c427e6 Fix typo
751517fea Fix spelling mistake
cdd77aa9a Update content for v0.118.0
c77d09b1c Format netlify.toml
d5a6c4f51 netlify: Hugo 0.118.1
8c717301a Revert "netlify: Hugo 0.118.0"
a9b2ef5c2 netlify: Hugo 0.118.0
61959591c Merge commit '
77b976dd92b4f66657d83d875aef0c617df492d9 '
95f2029a1 docs: Regen docs helper
fd57ba960 markup/goldmark: Add CJK extension
2bfb3bf4c docshelper: Improve template lookup order descriptions
b0baa890e cache: Hide IsResourceDir from the exported config
b4b071ea0 docs: Replace docs.json with docs.yaml
git-subtree-dir: docs
git-subtree-split:
7ef2dbce4ad728d32c218761c6cfbe2f58f8da16
Bjørn Erik Pedersen [Sat, 23 Sep 2023 09:45:17 +0000 (11:45 +0200)]
Add images.Process filter
This allows for constructs like:
```
{{ $filters := slice (images.GaussianBlur 8) (images.Grayscale) (images.Process "jpg q30 resize 200x") }}
{{ $img = $img | images.Filter $filters }}
```
Note that the `action` option in `images.Process` is optional (`resize` in the example above), so you can use the above to just set the target format, e.g.:
```
{{ $filters := slice (images.GaussianBlur 8) (images.Grayscale) (images.Process "jpg") }}
{{ $img = $img | images.Filter $filters }}
```
Fixes #8439
Bjørn Erik Pedersen [Fri, 22 Sep 2023 13:15:16 +0000 (15:15 +0200)]
Add $image.Process
Which supports all the existing actions: resize, crop, fit, fill.
But it also allows plain format conversions:
```
{{ $img = $img.Process "webp" }}
```
Which will be a simple re-encoding of the source image.
Fixes #11483
Carl Johnson [Mon, 18 Sep 2023 19:53:53 +0000 (15:53 -0400)]
google_analytics_async.html: Add deprecation warning
dependabot[bot] [Fri, 22 Sep 2023 08:10:35 +0000 (08:10 +0000)]
build(deps): bump golang.org/x/tools from 0.12.0 to 0.13.0
Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.12.0 to 0.13.0.
- [Release notes](https://github.com/golang/tools/releases)
- [Commits](https://github.com/golang/tools/compare/v0.12.0...v0.13.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>
dependabot[bot] [Fri, 22 Sep 2023 08:10:20 +0000 (08:10 +0000)]
build(deps): bump github.com/alecthomas/chroma/v2 from 2.8.0 to 2.9.1
Bumps [github.com/alecthomas/chroma/v2](https://github.com/alecthomas/chroma) from 2.8.0 to 2.9.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.8.0...v2.9.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>
dependabot[bot] [Fri, 22 Sep 2023 08:10:45 +0000 (08:10 +0000)]
build(deps): bump github.com/evanw/esbuild from 0.19.2 to 0.19.3
Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild) from 0.19.2 to 0.19.3.
- [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.2...v0.19.3)
---
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>
Bjørn Erik Pedersen [Thu, 21 Sep 2023 20:32:32 +0000 (22:32 +0200)]
Add images.Opacity filter
Fixes #11471
dependabot[bot] [Thu, 21 Sep 2023 08:13:49 +0000 (08:13 +0000)]
build(deps): bump github.com/aws/aws-sdk-go from 1.44.314 to 1.45.14
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.44.314 to 1.45.14.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.44.314...v1.45.14)
---
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>
dependabot[bot] [Thu, 14 Sep 2023 11:24:37 +0000 (11:24 +0000)]
build(deps): bump github.com/getkin/kin-openapi from 0.118.0 to 0.120.0
Bumps [github.com/getkin/kin-openapi](https://github.com/getkin/kin-openapi) from 0.118.0 to 0.120.0.
- [Release notes](https://github.com/getkin/kin-openapi/releases)
- [Commits](https://github.com/getkin/kin-openapi/compare/v0.118.0...v0.120.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>
dependabot[bot] [Thu, 14 Sep 2023 11:25:31 +0000 (11:25 +0000)]
build(deps): bump golang.org/x/image from 0.11.0 to 0.12.0
Bumps [golang.org/x/image](https://github.com/golang/image) from 0.11.0 to 0.12.0.
- [Commits](https://github.com/golang/image/compare/v0.11.0...v0.12.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>
Bjørn Erik Pedersen [Thu, 21 Sep 2023 18:15:31 +0000 (20:15 +0200)]
Upgrade to Go 1.21.1
See https://github.com/golang/go/issues?q=milestone%3AGo1.21.1+label%3ACherryPickApproved
Fixes #11474
Fixes #11414
Bjørn Erik Pedersen [Wed, 20 Sep 2023 16:01:52 +0000 (18:01 +0200)]
commands: Update CLI docs with the important -u flag in hugo mod get
Joe Mooring [Sat, 16 Sep 2023 16:06:14 +0000 (09:06 -0700)]
create/skeletons: Improve viewport meta tag
Remove initial-scale=1.0 (this is the browser default)
Remove minimum-scale=1.0 (opinionated, can throw WCAG warning)
Bjørn Erik Pedersen [Thu, 14 Sep 2023 10:12:19 +0000 (12:12 +0200)]
Fix tests for Go 1.21.1
Fixes #11450
Joe Mooring [Wed, 13 Sep 2023 00:11:25 +0000 (17:11 -0700)]
commands/gen: Remove default highlight style
Fixes #11445
Bjørn Erik Pedersen [Tue, 12 Sep 2023 09:50:31 +0000 (11:50 +0200)]
Fix recently broken benchmark
Bjørn Erik Pedersen [Tue, 12 Sep 2023 08:47:43 +0000 (10:47 +0200)]
Adjust baseline benchmarks
ilmari-lauhakangas [Mon, 11 Sep 2023 09:38:24 +0000 (12:38 +0300)]
commands: Print language code after web server address info
hugoreleaser [Thu, 31 Aug 2023 11:35:48 +0000 (11:35 +0000)]
releaser: Prepare repository for 0.119.0-DEV
[ci skip]
hugoreleaser [Thu, 31 Aug 2023 11:23:51 +0000 (11:23 +0000)]
releaser: Bump versions for release of 0.118.2
[ci skip]
Bjørn Erik Pedersen [Thu, 31 Aug 2023 11:20:35 +0000 (13:20 +0200)]
release: Revert to building with Go 1.20
We need to investigate these issues, but that needs to wait.
Updates #11414
hugoreleaser [Thu, 31 Aug 2023 09:56:08 +0000 (09:56 +0000)]
releaser: Prepare repository for 0.119.0-DEV
[ci skip]
hugoreleaser [Thu, 31 Aug 2023 09:42:31 +0000 (09:42 +0000)]
releaser: Bump versions for release of 0.118.1
[ci skip]
Bjørn Erik Pedersen [Thu, 31 Aug 2023 09:37:36 +0000 (11:37 +0200)]
Revert to bullseye as the release build image
This was not available when I upgraded to Go 1.21, but is now, for some odd reason.
See https://github.com/bep/dockerfiles/commit/
7761572995bed74c71ead9f3c3a71f624a4900ee
Fixes #11414
hugoreleaser [Thu, 31 Aug 2023 07:49:58 +0000 (07:49 +0000)]
releaser: Prepare repository for 0.119.0-DEV
[ci skip]
hugoreleaser [Thu, 31 Aug 2023 07:36:55 +0000 (07:36 +0000)]
releaser: Bump versions for release of 0.118.0
[ci skip]
Bjørn Erik Pedersen [Wed, 30 Aug 2023 17:24:34 +0000 (19:24 +0200)]
Bjørn Erik Pedersen [Wed, 30 Aug 2023 17:23:47 +0000 (19:23 +0200)]
Squashed 'docs/' changes from
a7e1e9be8 ..
686c7b6eb
686c7b6eb ci(Netlify): specify `HUGO_VERSION` environment variable once
da99a356f fix: change heading level
e57da3f00 Update taxonomy methods
746172490 Update description of rendered breadcrumb navigation
6bc52fd40 Clarify term
dab07dcb0 Fix typo
e50fa452a Fix typo
6c1ea83c2 Update template overview page
a5dc97845 Clarify the append function
a135e52a0 Update GitHub hosting instructions
a51bf9f4f Update sections page
ed35fc6c4 Update archetypes and glossary
1a4522b3e Format examples
a70f20094 Use "hugo new content" to create content
673846ff9 Remove comment
b7febf0c5 Fix link
6f6fe2133 Miscellaneous edits
99227dd18 Remove lookup order table from output formats page
bc8870657 tools/editors: Add Prettier Plugin for Go Templates
157b169eb Update docs.yaml
1c8f514e0 Update cond function
e5f1f8113 Add assumptions to taxonomy and term template lookup order examples
475b406e2 Update postprocess
2d6cb8dfc glossary: Update content type
03b514bac Add descriptions to template lookup order example sections
06678f919 glossary: Fix broken link
4cd505612 Simplify news listing
fadb980db Update glossary of terms
491bacd78 Change order of example sections for template lookup order
04b8f39ec Create glossary of terms
12e896bc0 Remove reference to asciidoctor-rouge extension
055f7bb37 Insert missing words
8cd6ac387 Miscellaneous edits
2cbe17f41 Update configuration.md
529615373 Update data-templates.md
853154e65 Update theme
45f08627a resources.getRemote: Fix definition list
29a51dac1 Update docshelper
3bdfe88c6 Remove link to gitter from site footer
cacd0e461 Use "map" instead of "dictionary"
704dd5da6 Document the transform.Remarshal template function
e8d744951 Populate news section via GitHub releases API
3ff1118c7 Replace docs.json with docs.yaml
7726bbcac Use docs.json to generate default config throughout the site
57dca93df Use docs.json to generate default config for related content
74d5082c7 Add some .RenderShortcodes docs
cf5ab5062 netlify: Hugo 0.117.0
420f7aa69 Add all config to docshelper.json
git-subtree-dir: docs
git-subtree-split:
686c7b6eb182ed335dc94b3a0b80c564f7658380
Bjørn Erik Pedersen [Wed, 30 Aug 2023 17:23:34 +0000 (19:23 +0200)]
docs: Regen docs helper
Bjørn Erik Pedersen [Wed, 30 Aug 2023 17:14:04 +0000 (19:14 +0200)]
Don't use the OS environment when creating config for docs
Bjørn Erik Pedersen [Wed, 30 Aug 2023 09:05:15 +0000 (11:05 +0200)]
Delay the creation of cache directories until they're used
Fixes #11390
Matt Brown [Sat, 8 Jul 2023 12:00:45 +0000 (00:00 +1200)]
deploy: Create AWS session for CloudFront invalidation via Go CDK
This allows the AWS credentials to be picked up from the configured
target URL (like blob does) rather than the current behaviour of only
relying on the defaults.
Relying on the defaults here means having to specify credentials twice
(once in the URL for the blob, once in the environment for this code
path) when non-default AWS credentials are in used (e.g. via a profile).
OMOTO Tsukasa [Wed, 30 Aug 2023 11:08:45 +0000 (20:08 +0900)]
markup/goldmark: Add CJK extension
Fixes #10472
dependabot[bot] [Wed, 30 Aug 2023 09:18:55 +0000 (09:18 +0000)]
build(deps): bump google.golang.org/api from 0.134.0 to 0.138.0
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.134.0 to 0.138.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.134.0...v0.138.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>
Bjørn Erik Pedersen [Wed, 30 Aug 2023 08:25:43 +0000 (10:25 +0200)]
Fix RegularPagesRecursive for the home page
Fixes #11396
dependabot[bot] [Tue, 8 Aug 2023 08:28:08 +0000 (08:28 +0000)]
build(deps): bump golang.org/x/tools from 0.11.1 to 0.12.0
Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.11.1 to 0.12.0.
- [Release notes](https://github.com/golang/tools/releases)
- [Commits](https://github.com/golang/tools/compare/v0.11.1...v0.12.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>
dependabot[bot] [Mon, 28 Aug 2023 08:20:21 +0000 (08:20 +0000)]
build(deps): bump gocloud.dev from 0.33.0 to 0.34.0
Bumps [gocloud.dev](https://github.com/google/go-cloud) from 0.33.0 to 0.34.0.
- [Release notes](https://github.com/google/go-cloud/releases)
- [Commits](https://github.com/google/go-cloud/compare/v0.33.0...v0.34.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>
dependabot[bot] [Wed, 30 Aug 2023 08:18:21 +0000 (08:18 +0000)]
build(deps): bump github.com/pelletier/go-toml/v2 from 2.0.9 to 2.1.0
Bumps [github.com/pelletier/go-toml/v2](https://github.com/pelletier/go-toml) from 2.0.9 to 2.1.0.
- [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.9...v2.1.0)
---
updated-dependencies:
- dependency-name: github.com/pelletier/go-toml/v2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Bjørn Erik Pedersen [Wed, 30 Aug 2023 08:30:45 +0000 (10:30 +0200)]
testscripts: Move hugo new tests to where they belong
Bjørn Erik Pedersen [Wed, 30 Aug 2023 08:11:20 +0000 (11:11 +0300)]
Fix .RawContent for empty content pages (#11407)
Fixes #11406
Lars Lehtonen [Thu, 24 Aug 2023 16:57:44 +0000 (09:57 -0700)]
hugolib: Handle dropped error
Oleksandr Redko [Thu, 17 Aug 2023 09:16:08 +0000 (12:16 +0300)]
common/loggers: Fix typo in option name
Joe Mooring [Wed, 23 Aug 2023 19:58:19 +0000 (12:58 -0700)]
misc: Change dart-sass labels in workflows and snapcraft
Bjørn Erik Pedersen [Wed, 23 Aug 2023 19:53:46 +0000 (21:53 +0200)]
Make sure resources directory isn't created in hugo new theme
Fixes #11382
Bjørn Erik Pedersen [Wed, 23 Aug 2023 16:23:52 +0000 (18:23 +0200)]
Go 1.21 Upgrade
Fixes #11351
Bjørn Erik Pedersen [Wed, 23 Aug 2023 16:14:43 +0000 (18:14 +0200)]
testscripts: Make mod vendor test stable
michalbiesek [Wed, 23 Aug 2023 16:06:52 +0000 (18:06 +0200)]
dockerfile: Update Docker images
- `golang:1.21-alpine`
- `alpine:3.18`
Bjørn Erik Pedersen [Wed, 23 Aug 2023 10:39:24 +0000 (12:39 +0200)]
Fix it so disable a module does not disable transitive dependency required by others
The motivation behind the original implementation was probably to show disabled modules when running `hugo mod graph`.
Fixes #11376
Joe Mooring [Wed, 23 Aug 2023 13:33:37 +0000 (06:33 -0700)]
create/skeletons: Move theme's site config to top level
Closes #11380
dependabot[bot] [Thu, 17 Aug 2023 08:19:16 +0000 (08:19 +0000)]
build(deps): bump github.com/yuin/goldmark from 1.5.5 to 1.5.6
Bumps [github.com/yuin/goldmark](https://github.com/yuin/goldmark) from 1.5.5 to 1.5.6.
- [Release notes](https://github.com/yuin/goldmark/releases)
- [Commits](https://github.com/yuin/goldmark/compare/v1.5.5...v1.5.6)
---
updated-dependencies:
- dependency-name: github.com/yuin/goldmark
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Joe Mooring [Tue, 22 Aug 2023 06:47:02 +0000 (23:47 -0700)]
modules: Make new cache directories read/write
Leave newly-created directories in the module cache read-write instead
of making them read-only.
Closes #11369
Oleksandr Redko [Mon, 21 Aug 2023 13:09:15 +0000 (16:09 +0300)]
deploy: Update InvalidateCloudFront to use Go CDK helper
Bjørn Erik Pedersen [Mon, 21 Aug 2023 08:48:28 +0000 (10:48 +0200)]
Avoid escaping HTML chars inside hugo_stats.json
Fixes #11371
Joe Mooring [Wed, 16 Aug 2023 22:07:01 +0000 (15:07 -0700)]
commands/new: Embed site and theme skeletons
The skeletons are used when creating new sites and themes with the CLI.
Closes #11358
Joe Mooring [Sun, 13 Aug 2023 16:29:04 +0000 (09:29 -0700)]
docshelper: Improve template lookup order descriptions
- Always include example for "with layout/type set"
- Use lowercase for "set to" examples (lookup is case sensitive)
- Consistent use of taxonomy and term
Fixes gohugoio/hugoDocs#1734
dependabot[bot] [Mon, 14 Aug 2023 08:32:44 +0000 (08:32 +0000)]
build(deps): bump github.com/evanw/esbuild from 0.18.17 to 0.19.2
Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild) from 0.18.17 to 0.19.2.
- [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.18.17...v0.19.2)
---
updated-dependencies:
- dependency-name: github.com/evanw/esbuild
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Bjørn Erik Pedersen [Wed, 9 Aug 2023 21:47:39 +0000 (23:47 +0200)]
cache: Hide IsResourceDir from the exported config
Bjørn Erik Pedersen [Mon, 7 Aug 2023 17:56:02 +0000 (19:56 +0200)]
commands: Handle floats without decimals in hugo config
Updates #11345
Bjørn Erik Pedersen [Mon, 7 Aug 2023 16:56:30 +0000 (18:56 +0200)]
docs: Replace docs.json with docs.yaml
Updates #11345
Bjørn Erik Pedersen [Mon, 7 Aug 2023 16:01:46 +0000 (18:01 +0200)]
config: Add a type value for the tags related config entry
Which doesn't have any practical difference, but it looks cleaner in the generated docs.
dependabot[bot] [Mon, 7 Aug 2023 10:19:26 +0000 (10:19 +0000)]
build(deps): bump golang.org/x/net from 0.13.0 to 0.14.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.13.0 to 0.14.0.
- [Commits](https://github.com/golang/net/compare/v0.13.0...v0.14.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>
Bjørn Erik Pedersen [Mon, 7 Aug 2023 08:52:52 +0000 (10:52 +0200)]
Add all config to docshelper.json
Also consolidate so the mediaTypes and outputFormats are listed once only.
Fixes #11328
dependabot[bot] [Mon, 7 Aug 2023 09:00:54 +0000 (09:00 +0000)]
build(deps): bump golang.org/x/image from 0.10.0 to 0.11.0
Bumps [golang.org/x/image](https://github.com/golang/image) from 0.10.0 to 0.11.0.
- [Commits](https://github.com/golang/image/compare/v0.10.0...v0.11.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>
Bjørn Erik Pedersen [Mon, 7 Aug 2023 08:38:12 +0000 (10:38 +0200)]
Bjørn Erik Pedersen [Mon, 7 Aug 2023 08:35:12 +0000 (10:35 +0200)]
Squashed 'docs/' changes from
c43daf45f ..
a7e1e9be8
a7e1e9be8 Clarify front matter date fields
69df4fc22 Clarify how to determine if .Inner is populated
9046bf424 Document strings.ContainsNonSpace
8dbe5df90 Fix indentation and broken image
48ad4124e Typo: functions/after.md
d4c01b57b Link to detailed descriptions of canonfiyURLs and relativeURLs
4d9597302 Explain behaviour when appending to a slice containing other slices
69e24e44e Standardize right arrow usage
01b378726 Remove references to Google's Universal Analytics and the async template
d415bae24 Use shared file to describe regex syntax
e75dee6b8 snap: How to enable or revoke access to SSH keys
feed2d1c0 Remove hasPrefix and hasSuffix in favor of namespaced versions
3c6d2cfe5 security: Use default execution settings
461b5fcaf netlify: Hugo 0.116.1
95fac27a5 configuration: correct cacheDir description
cd9f1f929 configuration: Fix broken link
605394de4 netlify: Upgrade to Hugo 0.116.0
baf2a0f7b Merge branch 'tempv0.116.0'
ee51a9323 Update requirements for building from source
40189956d Editor tools: Remove duplicate sentence
fb0ff2621 docs: Regenerate CLI docs
e8a5665c4 Update where.md
7bc5cf15d Update hosting instructions
018a04314 docs: Update where
d33ae91cf docs: Update where function operators
9a108a664 docs: Rework the cacheDir documentation
git-subtree-dir: docs
git-subtree-split:
a7e1e9be851b95e636ab5360e5151156b4f89044
Bjørn Erik Pedersen [Sat, 5 Aug 2023 09:40:18 +0000 (11:40 +0200)]
Try to make test more stable
Bjørn Erik Pedersen [Sat, 5 Aug 2023 08:55:48 +0000 (10:55 +0200)]
deps: Sync go-i18n with upstream
Closes #11336
Bjørn Erik Pedersen [Fri, 4 Aug 2023 16:46:47 +0000 (18:46 +0200)]
Return original error on resources.GetRemote retry timeouts
See #11327
Bjørn Erik Pedersen [Fri, 4 Aug 2023 09:41:59 +0000 (11:41 +0200)]
testing: Write test caches to /tmp
Fixes #11327
Bjørn Erik Pedersen [Thu, 3 Aug 2023 15:52:17 +0000 (17:52 +0200)]
Add retry in resources.GetRemote for temporary HTTP errors
Fixes #11312
dependabot[bot] [Fri, 4 Aug 2023 10:39:20 +0000 (10:39 +0000)]
build(deps): bump gocloud.dev from 0.24.0 to 0.33.0
Bumps [gocloud.dev](https://github.com/google/go-cloud) from 0.24.0 to 0.33.0.
- [Release notes](https://github.com/google/go-cloud/releases)
- [Commits](https://github.com/google/go-cloud/compare/v0.24.0...v0.33.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>
dependabot[bot] [Fri, 4 Aug 2023 10:39:39 +0000 (10:39 +0000)]
build(deps): bump golang.org/x/net from 0.11.0 to 0.13.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.11.0 to 0.13.0.
- [Commits](https://github.com/golang/net/compare/v0.11.0...v0.13.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>
dependabot[bot] [Fri, 4 Aug 2023 08:18:49 +0000 (08:18 +0000)]
build(deps): bump github.com/marekm4/color-extractor from 1.2.0 to 1.2.1
Bumps [github.com/marekm4/color-extractor](https://github.com/marekm4/color-extractor) from 1.2.0 to 1.2.1.
- [Commits](https://github.com/marekm4/color-extractor/compare/v1.2.0...v1.2.1)
---
updated-dependencies:
- dependency-name: github.com/marekm4/color-extractor
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
dependabot[bot] [Fri, 4 Aug 2023 08:18:37 +0000 (08:18 +0000)]
build(deps): bump github.com/frankban/quicktest from 1.14.5 to 1.14.6
Bumps [github.com/frankban/quicktest](https://github.com/frankban/quicktest) from 1.14.5 to 1.14.6.
- [Commits](https://github.com/frankban/quicktest/compare/v1.14.5...v1.14.6)
---
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>
dependabot[bot] [Fri, 4 Aug 2023 08:18:27 +0000 (08:18 +0000)]
build(deps): bump golang.org/x/image from 0.9.0 to 0.10.0
Bumps [golang.org/x/image](https://github.com/golang/image) from 0.9.0 to 0.10.0.
- [Commits](https://github.com/golang/image/compare/v0.9.0...v0.10.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>
dependabot[bot] [Mon, 31 Jul 2023 08:21:47 +0000 (08:21 +0000)]
build(deps): bump github.com/clbanning/mxj/v2 from 2.5.7 to 2.7.0
Bumps [github.com/clbanning/mxj/v2](https://github.com/clbanning/mxj) from 2.5.7 to 2.7.0.
- [Release notes](https://github.com/clbanning/mxj/releases)
- [Commits](https://github.com/clbanning/mxj/compare/2.5.7...v2.7)
---
updated-dependencies:
- dependency-name: github.com/clbanning/mxj/v2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
dependabot[bot] [Tue, 1 Aug 2023 08:23:45 +0000 (08:23 +0000)]
build(deps): bump golang.org/x/tools from 0.9.3 to 0.11.1
Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.9.3 to 0.11.1.
- [Release notes](https://github.com/golang/tools/releases)
- [Commits](https://github.com/golang/tools/compare/v0.9.3...v0.11.1)
---
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>
dependabot[bot] [Tue, 1 Aug 2023 08:21:27 +0000 (08:21 +0000)]
build(deps): bump go.uber.org/automaxprocs from 1.5.2 to 1.5.3
Bumps [go.uber.org/automaxprocs](https://github.com/uber-go/automaxprocs) from 1.5.2 to 1.5.3.
- [Release notes](https://github.com/uber-go/automaxprocs/releases)
- [Changelog](https://github.com/uber-go/automaxprocs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/uber-go/automaxprocs/compare/v1.5.2...v1.5.3)
---
updated-dependencies:
- dependency-name: go.uber.org/automaxprocs
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
dependabot[bot] [Thu, 3 Aug 2023 08:07:37 +0000 (08:07 +0000)]
build(deps): bump github.com/hairyhenderson/go-codeowners
Bumps [github.com/hairyhenderson/go-codeowners](https://github.com/hairyhenderson/go-codeowners) from 0.3.0 to 0.4.0.
- [Release notes](https://github.com/hairyhenderson/go-codeowners/releases)
- [Commits](https://github.com/hairyhenderson/go-codeowners/compare/v0.3.0...v0.4.0)
---
updated-dependencies:
- dependency-name: github.com/hairyhenderson/go-codeowners
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Bjørn Erik Pedersen [Tue, 1 Aug 2023 16:12:36 +0000 (18:12 +0200)]
Add Page.RenderShortcodes
A layouts/shortcodes/include.html shortcode may look like this:
```html
{{ $p := site.GetPage (.Get 0) }}
{{ $p.RenderShortcodes }}
```
Fixes #7297