]> git.maquefel.me Git - brevno-suite/hugo/log
brevno-suite/hugo
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>
2 years agobuild(deps): bump github.com/mattn/go-isatty from 0.0.19 to 0.0.20
dependabot[bot] [Fri, 27 Oct 2023 08:33:07 +0000 (08:33 +0000)]
build(deps): bump github.com/mattn/go-isatty from 0.0.19 to 0.0.20

Bumps [github.com/mattn/go-isatty](https://github.com/mattn/go-isatty) from 0.0.19 to 0.0.20.
- [Commits](https://github.com/mattn/go-isatty/compare/v0.0.19...v0.0.20)

---
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>
2 years agobuild(deps): bump golang.org/x/image from 0.12.0 to 0.13.0
dependabot[bot] [Fri, 27 Oct 2023 08:32:19 +0000 (08:32 +0000)]
build(deps): bump golang.org/x/image from 0.12.0 to 0.13.0

Bumps [golang.org/x/image](https://github.com/golang/image) from 0.12.0 to 0.13.0.
- [Commits](https://github.com/golang/image/compare/v0.12.0...v0.13.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 agoMerge commit 'aaaf1c8df5d6aa061609d20510f7fa6c42e5cc1a'
Bjørn Erik Pedersen [Sun, 29 Oct 2023 10:33:05 +0000 (11:33 +0100)]
Merge commit 'aaaf1c8df5d6aa061609d20510f7fa6c42e5cc1a'

2 years agoSquashed 'docs/' changes from 417593493..4d936aee6
Bjørn Erik Pedersen [Sun, 29 Oct 2023 10:33:05 +0000 (11:33 +0100)]
Squashed 'docs/' changes from 417593493..4d936aee6

4d936aee6 Fix function signatures
8182a27ed Simplify example usage of apply function

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

2 years agodocs: Regenerate docshelper
Bjørn Erik Pedersen [Sun, 29 Oct 2023 10:31:51 +0000 (11:31 +0100)]
docs: Regenerate docshelper

2 years agoRevert "modules: Throttle the "downloading modules …" log entries"
Bjørn Erik Pedersen [Sun, 29 Oct 2023 09:57:27 +0000 (10:57 +0100)]
Revert "modules: Throttle the "downloading modules …" log entries"

This reverts commit 66904097e02fc3e846ec87a9db023df92cf613ba.

2 years agoRevert "modules: Adjust the log throttle logic a little"
Bjørn Erik Pedersen [Sun, 29 Oct 2023 09:57:25 +0000 (10:57 +0100)]
Revert "modules: Adjust the log throttle logic a little"

This reverts commit 3f64b5a3de5f097c4ee1b70505398f75feb391c4.

2 years agoresources/images: Create padding image filter
Joe Mooring [Sat, 28 Oct 2023 03:19:39 +0000 (20:19 -0700)]
resources/images: Create padding image filter

Closes #11599

2 years agomarkup/goldmark: Update the CJK extension to allow specifying line break styles
OMOTO Tsukasa [Sun, 29 Oct 2023 09:13:56 +0000 (18:13 +0900)]
markup/goldmark: Update the CJK extension to allow specifying line break styles

This commit follows https://github.com/yuin/goldmark/pull/411

2 years agomodules: Adjust the log throttle logic a little
Bjørn Erik Pedersen [Sat, 28 Oct 2023 15:40:07 +0000 (17:40 +0200)]
modules: Adjust the log throttle logic a little

2 years agomodules: Throttle the "downloading modules …" log entries
Bjørn Erik Pedersen [Sat, 28 Oct 2023 15:15:34 +0000 (17:15 +0200)]
modules: Throttle the "downloading modules …" log entries

2 years agotpl/collections: Make delimit return a string
Bjørn Erik Pedersen [Sat, 28 Oct 2023 09:10:27 +0000 (11:10 +0200)]
tpl/collections: Make delimit return a string

Closes #10876
Closes #11502

2 years agoSquashed 'docs/' changes from cb18a5183..417593493
Bjørn Erik Pedersen [Fri, 27 Oct 2023 08:06:44 +0000 (10:06 +0200)]
Squashed 'docs/' changes from cb18a5183..417593493

417593493 Fix broken link
9829e2862 Mention Go variable naming rules
11ce3a59c Fix typo
0d62feed5 Update glossary
5e9ecb217 Prepare for pending deprecations
c5f76c776 Update Twitter Cards URL

git-subtree-dir: docs
git-subtree-split: 4175934933feca8fa1f9936ccf7d16b90b41e833

2 years agoMerge commit '3710a5ec7efe6baca6e452f43632c05d22bab3c4'
Bjørn Erik Pedersen [Fri, 27 Oct 2023 08:06:44 +0000 (10:06 +0200)]
Merge commit '3710a5ec7efe6baca6e452f43632c05d22bab3c4'

2 years agobuild(deps): bump golang.org/x/net from 0.15.0 to 0.17.0
dependabot[bot] [Wed, 11 Oct 2023 23:14:21 +0000 (23:14 +0000)]
build(deps): bump golang.org/x/net from 0.15.0 to 0.17.0

Bumps [golang.org/x/net](https://github.com/golang/net) from 0.15.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.15.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years agobuild(deps): bump github.com/evanw/esbuild from 0.19.3 to 0.19.5
dependabot[bot] [Tue, 17 Oct 2023 08:21:35 +0000 (08:21 +0000)]
build(deps): bump github.com/evanw/esbuild from 0.19.3 to 0.19.5

Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild) from 0.19.3 to 0.19.5.
- [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.3...v0.19.5)

---
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/spf13/afero from 1.9.5 to 1.10.0
dependabot[bot] [Mon, 25 Sep 2023 08:08:04 +0000 (08:08 +0000)]
build(deps): bump github.com/spf13/afero from 1.9.5 to 1.10.0

Bumps [github.com/spf13/afero](https://github.com/spf13/afero) from 1.9.5 to 1.10.0.
- [Release notes](https://github.com/spf13/afero/releases)
- [Commits](https://github.com/spf13/afero/compare/v1.9.5...v1.10.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/bep/logg from 0.2.0 to 0.3.0
dependabot[bot] [Mon, 25 Sep 2023 08:07:55 +0000 (08:07 +0000)]
build(deps): bump github.com/bep/logg from 0.2.0 to 0.3.0

Bumps [github.com/bep/logg](https://github.com/bep/logg) from 0.2.0 to 0.3.0.
- [Release notes](https://github.com/bep/logg/releases)
- [Commits](https://github.com/bep/logg/compare/v0.2.0...v0.3.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 agoRevise the deprecation logging
Bjørn Erik Pedersen [Thu, 26 Oct 2023 07:38:13 +0000 (09:38 +0200)]
Revise the deprecation logging

This introduces a more automatic way of increasing the log levels for deprecation log statements based on the version it was deprecated.

The thresholds are a little arbitrary, but

* We log INFO for 6 releases
* We log WARN for another 6 releases
* THen ERROR (failing the build)

This should give theme authors plenty of time to catch up without having the log filled with warnings.

2 years agoRemove rest of the now unused emoji code
Bjørn Erik Pedersen [Wed, 25 Oct 2023 09:31:01 +0000 (11:31 +0200)]
Remove rest of the now unused emoji code

See #11598

2 years agomarkdown: Pass emoji codes to yuin/goldmark-emoji
Joe Mooring [Tue, 24 Oct 2023 10:04:13 +0000 (03:04 -0700)]
markdown: Pass emoji codes to yuin/goldmark-emoji

Removes emoji code conversion from the page and shortcode parsers. Emoji
codes in markdown are now passed to Goldmark, where the goldmark-emoji
extension converts them to decimal numeric character references.

This disables emoji rendering for the alternate content formats: html,
asciidoc, org, pandoc, and rst.

Fixes #7332
Fixes #11587
Closes #11598

2 years agoFix so hugo get -u updates transitively
Razon Yang [Sun, 22 Oct 2023 14:32:01 +0000 (22:32 +0800)]
Fix so hugo get -u updates transitively

2 years agowatcher/filenotify: Remove redundant duplicated comments
Oleksandr Redko [Fri, 20 Oct 2023 11:10:37 +0000 (14:10 +0300)]
watcher/filenotify: Remove redundant duplicated comments

2 years agodocs: Remove outdated note from CONTRIBUTING.md
Oleksandr Redko [Fri, 20 Oct 2023 11:22:05 +0000 (14:22 +0300)]
docs: Remove outdated note from CONTRIBUTING.md

2 years agotpl/debug: Add average and median to timer output
Bjørn Erik Pedersen [Sat, 21 Oct 2023 13:41:21 +0000 (15:41 +0200)]
tpl/debug: Add average and median to timer output

2 years agotpl/debug: Add debug.Timer
Bjørn Erik Pedersen [Thu, 19 Oct 2023 08:53:27 +0000 (10:53 +0200)]
tpl/debug: Add debug.Timer

Closes #11580

2 years agoMerge commit 'e509cac533600cf4fa8382c9cdab78ddd82db688'
Bjørn Erik Pedersen [Fri, 20 Oct 2023 07:43:56 +0000 (09:43 +0200)]
Merge commit 'e509cac533600cf4fa8382c9cdab78ddd82db688'

2 years agoSquashed 'docs/' changes from 7ef2dbce4..cb18a5183
Bjørn Erik Pedersen [Fri, 20 Oct 2023 07:42:39 +0000 (09:42 +0200)]
Squashed 'docs/' changes from 7ef2dbce4..cb18a5183

cb18a5183 Fix broken link
07a0198bf Config: Place Google Analytics tag ID under the services key
4bf0c719f Fix typo
50d8ad1af Fix muiltilingual menu definition instructions
1a32519a9 Fix typos
6f34ca8e0 Explain usage of front matter to target a template
5bd977257 Improve goldmark config docs
447632938 Remove Docker notes from installation instructions
84741d173 Update reference to hugo.work
0338d7c71 Fix menu template
f5d2f5ed4 Fix typos in content/en/functions/fmt
a3a40ff99 Add return type to functions
85ac3e779 Remove outdated feature image
d47d889e4 Fix signatures
7551ba28f Document safe.JSStr function
e77993be0 Document keyVals function
4dba20db3 Update theme
babf91544 Update echoparam
8c8203efa Adjust related functions
4cb1b30fc Fix example
ba95eca64 Improve showcase prose
5d3dcf366 Add Overmind Studios showcase
8d634ac70 Change code blocks from indented to fenced
cfab978e6 Add missing code fences
407dd5c47 Limit related pages for functions to other functions
9fa67d981 Fix .Site.LastChange doc
393aa16d0 netlify: Hugo 0.119.0
f864af97a docs: Even more about images.Process
9d772d5f0 docs: More about images.Process
bc655f869 docs: Regen docshelper
41c3536d1 Merge commit '9aec42c5452b3eb224888c50ba1c3f3b68a447e9'
918ed53f4 Add images.Process filter
573645883 Add $image.Process
a1151b0fd Add images.Opacity filter

git-subtree-dir: docs
git-subtree-split: cb18a5183fc62f301ffde50b8c39f03e4b897aec

2 years agoAdd some convenient integration test helpers
Bjørn Erik Pedersen [Wed, 18 Oct 2023 16:54:15 +0000 (18:54 +0200)]
Add some convenient integration test helpers

2 years agohugolib: Deprecate .Site.DisqusShortname
Joe Mooring [Mon, 16 Oct 2023 17:56:37 +0000 (10:56 -0700)]
hugolib: Deprecate .Site.DisqusShortname

Use .Site.Config.Services.Disqus.Shortname instead.

2 years agotpl/tplimpl: Fix dropped error
Lars Lehtonen [Wed, 18 Oct 2023 15:33:00 +0000 (08:33 -0700)]
tpl/tplimpl: Fix dropped error

2 years agohugolib: Deprecate .Site.GoogleAnalytics
Joe Mooring [Mon, 16 Oct 2023 18:31:09 +0000 (11:31 -0700)]
hugolib: Deprecate .Site.GoogleAnalytics

Use .Site.Config.Services.GoogleAnalytics.ID instead.

2 years agotpl/tplimpl: Deprecate .Site.Author usage in RSS template
Joe Mooring [Mon, 16 Oct 2023 23:56:56 +0000 (16:56 -0700)]
tpl/tplimpl: Deprecate .Site.Author usage in RSS template

2 years agotpl/tplimpl: Deprecate .Site.Social usage with internal templates
Joe Mooring [Tue, 17 Oct 2023 00:43:11 +0000 (17:43 -0700)]
tpl/tplimpl: Deprecate .Site.Social usage with internal templates

2 years agomarkup/tableofcontents: Return template.HTML from .Fragments.ToHTML
Joe Mooring [Sun, 8 Oct 2023 23:59:36 +0000 (16:59 -0700)]
markup/tableofcontents: Return template.HTML from .Fragments.ToHTML

Closes #11545

2 years agodeps: Update github.com/tdewolff/minify/v2 v2.12.7 => v2.12.9
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

2 years agocommands: Update message displayed when running CLI from GUI
Joe Mooring [Thu, 5 Oct 2023 15:47:46 +0000 (08:47 -0700)]
commands: Update message displayed when running CLI from GUI

Fixes #11525

2 years agocommon/hugo: Add hugo.IsServer and hugo.IsDevelopment
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

2 years agoall: Format files with gofmt
Oleksandr Redko [Wed, 4 Oct 2023 19:25:43 +0000 (22:25 +0300)]
all: Format files with gofmt

2 years agomagefile: Update isGoLatest to check for Go 1.21
abdullah-alaadine [Wed, 4 Oct 2023 08:28:10 +0000 (11:28 +0300)]
magefile: Update isGoLatest to check for Go 1.21

2 years agoresources/integrity: Return string instead of template.HTMLAttr
Joe Mooring [Fri, 29 Sep 2023 16:22:58 +0000 (09:22 -0700)]
resources/integrity: Return string instead of template.HTMLAttr

Closes #11513

2 years agoUpdate README.md
Bjørn Erik Pedersen [Wed, 27 Sep 2023 17:32:41 +0000 (19:32 +0200)]
Update README.md

2 years agotpl/lang: Formally deprecate lang.NumFmt
Joe Mooring [Tue, 26 Sep 2023 21:04:01 +0000 (14:04 -0700)]
tpl/lang: Formally deprecate lang.NumFmt

Use lang.FormatNumberCustom instead.

2 years agotpl/collections: Fix and deprecate echoParams
Joe Mooring [Tue, 26 Sep 2023 20:49:44 +0000 (13:49 -0700)]
tpl/collections: Fix and deprecate echoParams

Fixes #11498

2 years agoreleaser: Prepare repository for 0.120.0-DEV
hugoreleaser [Sun, 24 Sep 2023 15:32:33 +0000 (15:32 +0000)]
releaser: Prepare repository for 0.120.0-DEV

[ci skip]

2 years agoreleaser: Bump versions for release of 0.119.0
hugoreleaser [Sun, 24 Sep 2023 15:20:17 +0000 (15:20 +0000)]
releaser: Bump versions for release of 0.119.0

[ci skip]

2 years agodocs: Even more about images.Process
Bjørn Erik Pedersen [Sun, 24 Sep 2023 10:26:00 +0000 (12:26 +0200)]
docs: Even more about images.Process

2 years agodocs: More about images.Process
Bjørn Erik Pedersen [Sun, 24 Sep 2023 10:11:03 +0000 (12:11 +0200)]
docs: More about images.Process

2 years agocommon: Remove unused constants
Oleksandr Redko [Thu, 31 Aug 2023 13:39:20 +0000 (16:39 +0300)]
common: Remove unused constants

2 years agodocs: Regen docshelper
Bjørn Erik Pedersen [Sun, 24 Sep 2023 09:56:43 +0000 (11:56 +0200)]
docs: Regen docshelper

2 years agoSquashed 'docs/' changes from 686c7b6eb..7ef2dbce4
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

2 years agoMerge commit '9aec42c5452b3eb224888c50ba1c3f3b68a447e9'
Bjørn Erik Pedersen [Sun, 24 Sep 2023 09:54:45 +0000 (11:54 +0200)]
Merge commit '9aec42c5452b3eb224888c50ba1c3f3b68a447e9'

2 years agoAdd images.Process filter
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

2 years agoAdd $image.Process
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

2 years agogoogle_analytics_async.html: Add deprecation warning
Carl Johnson [Mon, 18 Sep 2023 19:53:53 +0000 (15:53 -0400)]
google_analytics_async.html: Add deprecation warning

2 years agobuild(deps): bump golang.org/x/tools from 0.12.0 to 0.13.0
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>
2 years agobuild(deps): bump github.com/alecthomas/chroma/v2 from 2.8.0 to 2.9.1
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>
2 years agobuild(deps): bump github.com/evanw/esbuild from 0.19.2 to 0.19.3
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>
2 years agoAdd images.Opacity filter
Bjørn Erik Pedersen [Thu, 21 Sep 2023 20:32:32 +0000 (22:32 +0200)]
Add images.Opacity filter

Fixes #11471

2 years agobuild(deps): bump github.com/aws/aws-sdk-go from 1.44.314 to 1.45.14
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>