hugoreleaser [Sat, 12 Mar 2022 11:02:38 +0000 (11:02 +0000)]
releaser: Prepare repository for 0.95.0-DEV
[ci skip]
hugoreleaser [Sat, 12 Mar 2022 10:28:41 +0000 (10:28 +0000)]
releaser: Bump versions for release of 0.94.2
[ci skip]
hugoreleaser [Sat, 12 Mar 2022 10:28:41 +0000 (10:28 +0000)]
releaser: Add release notes for 0.94.2
[ci skip]
Bjørn Erik Pedersen [Sat, 12 Mar 2022 09:45:31 +0000 (10:45 +0100)]
deps: Update github.com/yuin/goldmark v1.4.9 => v1.4.10
Fixes #9658
hugoreleaser [Fri, 11 Mar 2022 14:30:03 +0000 (14:30 +0000)]
releaser: Prepare repository for 0.95.0-DEV
[ci skip]
hugoreleaser [Fri, 11 Mar 2022 13:53:32 +0000 (13:53 +0000)]
releaser: Bump versions for release of 0.94.1
[ci skip]
hugoreleaser [Fri, 11 Mar 2022 13:53:32 +0000 (13:53 +0000)]
releaser: Add release notes for 0.94.1
[ci skip]
Bjørn Erik Pedersen [Fri, 11 Mar 2022 13:47:27 +0000 (14:47 +0100)]
docs: Regenerate CLI docs
Bjørn Erik Pedersen [Fri, 11 Mar 2022 12:13:18 +0000 (13:13 +0100)]
deps: Fix Goldmark regression with HTML comments
Fixes #9650
Bjørn Erik Pedersen [Fri, 11 Mar 2022 08:48:20 +0000 (09:48 +0100)]
Revert "Allow rendering static files to disk and dynamic to memory in server mode"
This reverts commit
7d8011ed63d587b87a7c182748914fe146590093.
Updates #9647
Bjørn Erik Pedersen [Fri, 11 Mar 2022 08:48:09 +0000 (09:48 +0100)]
Revert "Some minor adjustments to the new static filesystem logic"
This reverts commit
63bb2a5b18193602fd442ebafdc85bc36fe05ad2.
hugoreleaser [Thu, 10 Mar 2022 10:25:00 +0000 (10:25 +0000)]
releaser: Prepare repository for 0.95.0-DEV
[ci skip]
hugoreleaser [Thu, 10 Mar 2022 09:46:35 +0000 (09:46 +0000)]
releaser: Bump versions for release of 0.94.0
[ci skip]
hugoreleaser [Thu, 10 Mar 2022 09:46:35 +0000 (09:46 +0000)]
releaser: Add release notes for 0.94.0
[ci skip]
Bjørn Erik Pedersen [Thu, 10 Mar 2022 09:08:04 +0000 (10:08 +0100)]
docs: Regenerate docshelper
Bjørn Erik Pedersen [Thu, 10 Mar 2022 09:06:22 +0000 (10:06 +0100)]
Revert "markup/highlight: Add hl_inline option"
This reverts commit
a360cab75a073c2a8d47dcd27f52a6847e8d8d13.
Bjørn Erik Pedersen [Thu, 10 Mar 2022 07:19:03 +0000 (08:19 +0100)]
Fail with error when double-rendering text in markdownify/RenderString
This commit prevents the most commons case of infinite recursion in link render hooks when the `linkify` option is enabled (see below). This is always a user error, but getting a `stack overflow` (the current stack limit in Go is 1 GB on 64-bit, 250 MB on 32-bit) error isn't very helpful. This fix will not prevent all such errors, though, but we may do better once #9570 is in place.
So, these will fail:
```
<a href="{{ .Destination | safeURL }}" >{{ .Text | markdownify }}</a>
<a href="{{ .Destination | safeURL }}" >{{ .Text | .Page.RenderString }}</a>
```
`.Text` is already rendered to `HTML`. The above needs to be rewritten to:
```
<a href="{{ .Destination | safeURL }}" >{{ .Text | safeHTML }}</a>
<a href="{{ .Destination | safeURL }}" >{{ .Text | safeHTML }}</a>
```
Fixes #8959
Bjørn Erik Pedersen [Wed, 9 Mar 2022 17:26:32 +0000 (18:26 +0100)]
markup/goldmark: Default to https for linkify
Fixes #9639
Joe Mooring [Wed, 2 Mar 2022 04:27:52 +0000 (20:27 -0800)]
Add lang attribute to internal alias template
Closes #9586
Bjørn Erik Pedersen [Wed, 9 Mar 2022 10:33:53 +0000 (11:33 +0100)]
docs: Regenerate docshelper
Bjørn Erik Pedersen [Wed, 9 Mar 2022 09:45:02 +0000 (10:45 +0100)]
markup/highlight: Add hl_inline option
If set to true, the highlighted code will not be wrapped in any div.
Closes #9442
Joe Mooring [Wed, 9 Mar 2022 06:48:18 +0000 (22:48 -0800)]
minifiers: Make keepWhitespace = false default for HTML (note)
Closes #9456
Bjørn Erik Pedersen [Tue, 8 Mar 2022 19:10:19 +0000 (20:10 +0100)]
markup/goldmark/codeblocks: Fix slice bounds out of range
For the Position in code blocks we try to match the .Inner with the original source. This isn't always possible.
This commits avoids panics in these situations.
Fixes #9627
Bjørn Erik Pedersen [Tue, 8 Mar 2022 18:40:50 +0000 (19:40 +0100)]
docs: Regenerate CLI docs
Bjørn Erik Pedersen [Tue, 8 Mar 2022 18:40:07 +0000 (19:40 +0100)]
docs: Regenerate docshelper
Bjørn Erik Pedersen [Tue, 8 Mar 2022 18:39:33 +0000 (19:39 +0100)]
Bjørn Erik Pedersen [Tue, 8 Mar 2022 18:37:17 +0000 (19:37 +0100)]
Squashed 'docs/' changes from
3f95a2ace..
a393f4cf4
a393f4cf4 Add a Spellcheck GitHub Action and config
8b6b1c381 netlify: Bump to Hugo 0.93.3
84515c183 Delete deployment-with-nanobox.md
dd45f9899 Fix typos in docs
e69de81a9 Update build-options.md
7745b7891 netlify: Hubo 0.93.2
037d63364 Clarify GitHub Pages Branches
94660c34b add missing %s
325de15e2 fix link to latest release note since the release notes were moved to GitHub: https://gohugo.io/news/no-more-releasenotes-here/
dbff41d01 Update introduction.md
0ecd627f7 netlify: Hugo 0.93.1
a74e16582 Update diagrams.md
33e310956 Add Goat example to test styling
fa0100a5b Update diagrams.md
64ac75367 Adjust diagram docs
f1d600044 Update theme
95bedff1a netlify: Bump to Hugo 0.93.0
849a8437f Merge commit '
c1398b91a9f4c67876b31feb67516b252e654d3c'
c0c60c43c docs: Regenerate docs helper
2c63fe518 cod: Regen CLI docs
f33ba4e5a CodeblockContext method renames
979b47968 Move the Goat template to the correct place
2df37e9e8 Add Markdown diagrams and render hooks for code blocks
bd8037d43 Allow images to be cropped without being resized
8b2af4b49 modules: Add modules.Workspace config for Go 1.18
46b99dea1 Add --printUnusedTemplates
1285302c9 commands: Rename --i18n-warnings to printI18nWarnings
dea2242c6 commands: Rename --path-warnings, --print-men to --printPathWarnings, --printMemoryUsage
db782ea46 deps: Update github.com/alecthomas/chroma v0.9.4 => v0.10.0
git-subtree-dir: docs
git-subtree-split:
a393f4cf43829011e96d109de2f039a9b05b2d16
Bjørn Erik Pedersen [Tue, 8 Mar 2022 09:06:12 +0000 (10:06 +0100)]
Cache reflect.MethodByName
The isolated benchmark for the function is obviously much faster:
```bash
name old time/op new time/op delta
GetMethodByName-10 1.21µs ± 7% 0.23µs ± 5% -81.42% (p=0.029 n=4+4)
name old alloc/op new alloc/op delta
GetMethodByName-10 680B ± 0% 0B -100.00% (p=0.029 n=4+4)
name old allocs/op new allocs/op delta
GetMethodByName-10 20.0 ± 0% 0.0 -100.00% (p=0.029 n=4+4)
```
But more pleasing is the overall performance looking at the site benchmarks:
```bash
name old time/op new time/op delta
SiteNew/Regular_Bundle_with_image-10 6.25ms ± 2% 6.10ms ± 2% ~ (p=0.057 n=4+4)
SiteNew/Regular_Bundle_with_JSON_file-10 6.30ms ± 2% 5.66ms ±11% ~ (p=0.057 n=4+4)
SiteNew/Regular_Tags_and_categories-10 22.2ms ± 2% 17.4ms ± 1% -21.88% (p=0.029 n=4+4)
SiteNew/Regular_Canonify_URLs-10 108ms ± 0% 107ms ± 0% -1.20% (p=0.029 n=4+4)
SiteNew/Regular_Deep_content_tree-10 36.1ms ± 1% 33.8ms ± 1% -6.44% (p=0.029 n=4+4)
SiteNew/Regular_TOML_front_matter-10 24.9ms ± 1% 22.6ms ± 1% -9.30% (p=0.029 n=4+4)
SiteNew/Regular_Many_HTML_templates-10 17.9ms ± 1% 16.7ms ± 1% -6.43% (p=0.029 n=4+4)
SiteNew/Regular_Page_collections-10 23.3ms ± 1% 22.0ms ± 0% -5.58% (p=0.029 n=4+4)
SiteNew/Regular_List_terms-10 8.00ms ± 1% 7.63ms ± 0% -4.62% (p=0.029 n=4+4)
name old alloc/op new alloc/op delta
SiteNew/Regular_Bundle_with_image-10 2.10MB ± 0% 2.07MB ± 0% -1.46% (p=0.029 n=4+4)
SiteNew/Regular_Bundle_with_JSON_file-10 1.88MB ± 0% 1.85MB ± 0% -1.76% (p=0.029 n=4+4)
SiteNew/Regular_Tags_and_categories-10 13.5MB ± 0% 11.6MB ± 0% -13.99% (p=0.029 n=4+4)
SiteNew/Regular_Canonify_URLs-10 96.1MB ± 0% 95.8MB ± 0% -0.40% (p=0.029 n=4+4)
SiteNew/Regular_Deep_content_tree-10 28.4MB ± 0% 27.3MB ± 0% -3.83% (p=0.029 n=4+4)
SiteNew/Regular_TOML_front_matter-10 16.9MB ± 0% 15.1MB ± 0% -10.58% (p=0.029 n=4+4)
SiteNew/Regular_Many_HTML_templates-10 8.98MB ± 0% 8.44MB ± 0% -6.04% (p=0.029 n=4+4)
SiteNew/Regular_Page_collections-10 17.1MB ± 0% 16.5MB ± 0% -3.91% (p=0.029 n=4+4)
SiteNew/Regular_List_terms-10 3.92MB ± 0% 3.72MB ± 0% -5.03% (p=0.029 n=4+4)
name old allocs/op new allocs/op delta
SiteNew/Regular_Bundle_with_image-10 25.8k ± 0% 24.9k ± 0% -3.49% (p=0.029 n=4+4)
SiteNew/Regular_Bundle_with_JSON_file-10 25.8k ± 0% 24.9k ± 0% -3.49% (p=0.029 n=4+4)
SiteNew/Regular_Tags_and_categories-10 288k ± 0% 233k ± 0% -18.90% (p=0.029 n=4+4)
SiteNew/Regular_Canonify_URLs-10 375k ± 0% 364k ± 0% -2.80% (p=0.029 n=4+4)
SiteNew/Regular_Deep_content_tree-10 314k ± 0% 283k ± 0% -9.77% (p=0.029 n=4+4)
SiteNew/Regular_TOML_front_matter-10 302k ± 0% 252k ± 0% -16.55% (p=0.029 n=4+4)
SiteNew/Regular_Many_HTML_templates-10 133k ± 0% 117k ± 0% -11.81% (p=0.029 n=4+4)
SiteNew/Regular_Page_collections-10 202k ± 0% 183k ± 0% -9.55% (p=0.029 n=4+4)
SiteNew/Regular_List_terms-10 55.6k ± 0% 49.8k ± 0% -10.40% (p=0.029 n=4+4)
```
Thanks to @quasilyte for the suggestion.
Fixes 9386
Bjørn Erik Pedersen [Tue, 8 Mar 2022 18:36:13 +0000 (19:36 +0100)]
releaser: Remove the GitHub link syntax around release contributors
Fixes #9581
Bjørn Erik Pedersen [Tue, 8 Mar 2022 16:43:48 +0000 (17:43 +0100)]
Some minor adjustments to the new static filesystem logic
Closes #9625
SatowTakeshi [Sun, 18 Apr 2021 07:13:00 +0000 (16:13 +0900)]
Allow rendering static files to disk and dynamic to memory in server mode
Updates #9625
dependabot[bot] [Thu, 3 Mar 2022 08:03:55 +0000 (08:03 +0000)]
build(deps): bump github.com/kyokomi/emoji/v2 from 2.2.8 to 2.2.9
Bumps [github.com/kyokomi/emoji/v2](https://github.com/kyokomi/emoji) from 2.2.8 to 2.2.9.
- [Release notes](https://github.com/kyokomi/emoji/releases)
- [Commits](https://github.com/kyokomi/emoji/compare/v2.2.8...v2.2.9)
---
updated-dependencies:
- dependency-name: github.com/kyokomi/emoji/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
dependabot[bot] [Fri, 4 Mar 2022 08:04:06 +0000 (08:04 +0000)]
build(deps): bump github.com/evanw/esbuild from 0.14.23 to 0.14.25
Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild) from 0.14.23 to 0.14.25.
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/master/CHANGELOG.md)
- [Commits](https://github.com/evanw/esbuild/compare/v0.14.23...v0.14.25)
---
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>
dependabot[bot] [Fri, 4 Mar 2022 08:03:59 +0000 (08:03 +0000)]
build(deps): bump github.com/niklasfasching/go-org from 1.6.0 to 1.6.2
Bumps [github.com/niklasfasching/go-org](https://github.com/niklasfasching/go-org) from 1.6.0 to 1.6.2.
- [Release notes](https://github.com/niklasfasching/go-org/releases)
- [Commits](https://github.com/niklasfasching/go-org/compare/v1.6.0...v1.6.2)
---
updated-dependencies:
- dependency-name: github.com/niklasfasching/go-org
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
dependabot[bot] [Tue, 8 Mar 2022 08:03:40 +0000 (08:03 +0000)]
build(deps): bump github.com/getkin/kin-openapi from 0.90.0 to 0.91.0
Bumps [github.com/getkin/kin-openapi](https://github.com/getkin/kin-openapi) from 0.90.0 to 0.91.0.
- [Release notes](https://github.com/getkin/kin-openapi/releases)
- [Commits](https://github.com/getkin/kin-openapi/compare/v0.90.0...v0.91.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>
hugoreleaser [Tue, 8 Mar 2022 10:50:30 +0000 (10:50 +0000)]
releaser: Prepare repository for 0.94.0-DEV
[ci skip]
hugoreleaser [Tue, 8 Mar 2022 10:15:27 +0000 (10:15 +0000)]
releaser: Bump versions for release of 0.93.3
[ci skip]
hugoreleaser [Tue, 8 Mar 2022 10:15:27 +0000 (10:15 +0000)]
releaser: Add release notes for 0.93.3
[ci skip]
Bjørn Erik Pedersen [Mon, 7 Mar 2022 17:08:39 +0000 (18:08 +0100)]
Remove the decorator from the fs used in ReadDir
There have been a site breakage reported in the wild after 0.93.1. With this commit we shoudl be back to how it behaved in 0.92.2.
Closes #9609
Bjørn Erik Pedersen [Tue, 8 Mar 2022 08:09:38 +0000 (09:09 +0100)]
Update stale.yml
operations-per-run: 999
We need to get this done so the notification gets back to normal.
dependabot[bot] [Mon, 7 Mar 2022 08:03:11 +0000 (08:03 +0000)]
build(deps): bump github.com/yuin/goldmark from 1.4.7 to 1.4.8
Bumps [github.com/yuin/goldmark](https://github.com/yuin/goldmark) from 1.4.7 to 1.4.8.
- [Release notes](https://github.com/yuin/goldmark/releases)
- [Commits](https://github.com/yuin/goldmark/compare/v1.4.7...v1.4.8)
---
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>
Bjørn Erik Pedersen [Sat, 5 Mar 2022 14:47:59 +0000 (15:47 +0100)]
Remove the examples/ folder
These are not maintained and do not belong in this repository.
hugoreleaser [Fri, 4 Mar 2022 12:57:53 +0000 (12:57 +0000)]
releaser: Prepare repository for 0.94.0-DEV
[ci skip]
hugoreleaser [Fri, 4 Mar 2022 12:21:48 +0000 (12:21 +0000)]
releaser: Bump versions for release of 0.93.2
[ci skip]
hugoreleaser [Fri, 4 Mar 2022 12:21:48 +0000 (12:21 +0000)]
releaser: Add release notes for 0.93.2
[ci skip]
Bjørn Erik Pedersen [Fri, 4 Mar 2022 06:07:11 +0000 (07:07 +0100)]
tpl/os: Revert readDir in theme behaviour
Fixes #9599
Joe Mooring [Wed, 2 Mar 2022 17:30:57 +0000 (09:30 -0800)]
markup/goldmark: Escape image alt attribute
Fixes #9594
hugoreleaser [Wed, 2 Mar 2022 12:52:43 +0000 (12:52 +0000)]
releaser: Prepare repository for 0.94.0-DEV
[ci skip]
hugoreleaser [Wed, 2 Mar 2022 12:16:06 +0000 (12:16 +0000)]
releaser: Bump versions for release of 0.93.1
[ci skip]
hugoreleaser [Wed, 2 Mar 2022 12:16:06 +0000 (12:16 +0000)]
releaser: Add release notes for 0.93.1
[ci skip]
Bjørn Erik Pedersen [Wed, 2 Mar 2022 09:44:29 +0000 (10:44 +0100)]
tpl/transform: Fix it when template.HTML is passes as option to Hightlight
Fixes #9591
Bjørn Erik Pedersen [Wed, 2 Mar 2022 09:04:29 +0000 (10:04 +0100)]
tpl/partials: Fix partialCached deadlock regression
This is a rollback of
0927cf739fee9646c7fb917965799d9acf080922
We cannot do that change until we either completes #9570 or possibly also use the new TryLock in GO 1.18.
Fixes #9588
Opens #4086
Bjørn Erik Pedersen [Tue, 1 Mar 2022 10:30:11 +0000 (11:30 +0100)]
tpl/collections: Fix apply when function have Context as first arg
As introduced in `partial` and `partialCached` in Hugo 0.93.0.
Fixes #9585
Bjørn Erik Pedersen [Mon, 28 Feb 2022 09:37:27 +0000 (10:37 +0100)]
Squashed 'docs/' changes from
93f7baf80..
3f95a2ace
3f95a2ace Update merge function examples (#1662)
e8d518011 requires -> require typo fix (#1666)
e714066cb Update GitLab deployment instructions (#1661)
11946a218 update GitLab CI/CD yaml syntax (#1649)
3568ddc03 Add explicit `contentDir` to module-config-mounts (#1658)
798ac8f68 Add default value to isHTML
d376565ce Create extensions.json
git-subtree-dir: docs
git-subtree-split:
3f95a2ace37b04851905d72e4444020e30996787
Bjørn Erik Pedersen [Mon, 28 Feb 2022 09:37:27 +0000 (10:37 +0100)]
hugoreleaser [Mon, 28 Feb 2022 09:05:08 +0000 (09:05 +0000)]
releaser: Prepare repository for 0.94.0-DEV
[ci skip]
hugoreleaser [Mon, 28 Feb 2022 08:30:42 +0000 (08:30 +0000)]
releaser: Bump versions for release of 0.93.0
[ci skip]
hugoreleaser [Mon, 28 Feb 2022 08:30:42 +0000 (08:30 +0000)]
releaser: Add release notes for 0.93.0
[ci skip]
Bjørn Erik Pedersen [Mon, 28 Feb 2022 07:52:15 +0000 (08:52 +0100)]
docs: Regenerate docs helper
Bjørn Erik Pedersen [Mon, 28 Feb 2022 07:30:29 +0000 (08:30 +0100)]
markup/highlight: Ignore HL_lines_parsed in the gen docs
Bjørn Erik Pedersen [Mon, 28 Feb 2022 07:12:35 +0000 (08:12 +0100)]
cod: Regen CLI docs
Bjørn Erik Pedersen [Sun, 27 Feb 2022 17:28:35 +0000 (18:28 +0100)]
tpl/diagrams: Rename the SVG accessor to Wrapped
Not perfect, but it gets it in line with the other .Inner/.Wrapped combos.
Bjørn Erik Pedersen [Sun, 27 Feb 2022 16:57:28 +0000 (17:57 +0100)]
markup/highlight: Rework the return value from HighlightCodeblock
To make it possible to render it with a custom HTML ("<div>") wrapper.
Updates #9573
Bjørn Erik Pedersen [Sun, 27 Feb 2022 16:09:11 +0000 (17:09 +0100)]
tpl/transform: Add CanHighlight
Closes #9573
Bjørn Erik Pedersen [Sun, 27 Feb 2022 18:40:07 +0000 (19:40 +0100)]
Rename Codeowners() to CodeOwners()
Bjørn Erik Pedersen [Sun, 27 Feb 2022 12:36:58 +0000 (13:36 +0100)]
tpl/diagrams: Rename Body to Inner
This relates to #9577 – there's no concept a body element in SVG, so we might as well use an exsisting "Hugo term".
Bjørn Erik Pedersen [Sun, 27 Feb 2022 12:31:55 +0000 (13:31 +0100)]
CodeblockContext method renames
Fixes #9577
dependabot[bot] [Fri, 25 Feb 2022 08:04:52 +0000 (08:04 +0000)]
build(deps): bump github.com/tdewolff/minify/v2 from 2.9.29 to 2.10.0
Bumps [github.com/tdewolff/minify/v2](https://github.com/tdewolff/minify) from 2.9.29 to 2.10.0.
- [Release notes](https://github.com/tdewolff/minify/releases)
- [Commits](https://github.com/tdewolff/minify/compare/v2.9.29...v2.10.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>
Bjørn Erik Pedersen [Sat, 26 Feb 2022 17:57:21 +0000 (18:57 +0100)]
markup/goldmark: Adjust test for Windows
Bjørn Erik Pedersen [Sat, 26 Feb 2022 16:24:10 +0000 (17:24 +0100)]
markup/goldmark: Improve attributes vs options
Fixes #9571
Bjørn Erik Pedersen [Sat, 26 Feb 2022 11:52:06 +0000 (12:52 +0100)]
markup/goldmark: Add Position to CodeblockContext
But note that this is not particulary fast and the recommendad usage is error logging only.
Updates #9574
Bjørn Erik Pedersen [Sat, 26 Feb 2022 10:27:54 +0000 (11:27 +0100)]
markup/goldmark: Unify some code block tests
Bjørn Erik Pedersen [Sat, 26 Feb 2022 09:42:21 +0000 (10:42 +0100)]
Remove the trailing new line in .Code
Fixes #9572
Bjørn Erik Pedersen [Sat, 26 Feb 2022 09:32:14 +0000 (10:32 +0100)]
markup/goldmark: Rename extension struct
dependabot[bot] [Thu, 24 Feb 2022 22:00:52 +0000 (22:00 +0000)]
build(deps): bump github.com/gobuffalo/flect from 0.2.3 to 0.2.4
Bumps [github.com/gobuffalo/flect](https://github.com/gobuffalo/flect) from 0.2.3 to 0.2.4.
- [Release notes](https://github.com/gobuffalo/flect/releases)
- [Commits](https://github.com/gobuffalo/flect/compare/v0.2.3...v0.2.4)
---
updated-dependencies:
- dependency-name: github.com/gobuffalo/flect
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Bjørn Erik Pedersen [Fri, 25 Feb 2022 06:45:37 +0000 (07:45 +0100)]
markup/goldmark: Use Ordinal to create default lineanchors
The `Ordinal` starts at 0, so with a `hl-` prefix, this gives `hl-0-1` as a starting point.
Fixes #9567
dependabot[bot] [Thu, 24 Feb 2022 22:00:31 +0000 (22:00 +0000)]
build(deps): bump github.com/gorilla/websocket from 1.4.2 to 1.5.0
Bumps [github.com/gorilla/websocket](https://github.com/gorilla/websocket) from 1.4.2 to 1.5.0.
- [Release notes](https://github.com/gorilla/websocket/releases)
- [Commits](https://github.com/gorilla/websocket/compare/v1.4.2...v1.5.0)
---
updated-dependencies:
- dependency-name: github.com/gorilla/websocket
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
dependabot[bot] [Thu, 24 Feb 2022 22:06:06 +0000 (22:06 +0000)]
build(deps): bump github.com/sanity-io/litter from 1.5.1 to 1.5.2
Bumps [github.com/sanity-io/litter](https://github.com/sanity-io/litter) from 1.5.1 to 1.5.2.
- [Release notes](https://github.com/sanity-io/litter/releases)
- [Changelog](https://github.com/sanity-io/litter/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sanity-io/litter/compare/v1.5.1...v1.5.2)
---
updated-dependencies:
- dependency-name: github.com/sanity-io/litter
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Bjørn Erik Pedersen [Thu, 24 Feb 2022 23:09:07 +0000 (00:09 +0100)]
Move the Goat template to the correct place
Updates #7765
dependabot[bot] [Thu, 24 Feb 2022 16:26:26 +0000 (16:26 +0000)]
build(deps): bump google.golang.org/api from 0.63.0 to 0.70.0
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.63.0 to 0.70.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.63.0...v0.70.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>
RheingoldRiver [Thu, 24 Feb 2022 10:14:32 +0000 (04:14 -0600)]
Update error message about failed menus in config.toml
dependabot[bot] [Thu, 24 Feb 2022 18:01:17 +0000 (18:01 +0000)]
build(deps): bump github.com/getkin/kin-openapi from 0.85.0 to 0.90.0
Bumps [github.com/getkin/kin-openapi](https://github.com/getkin/kin-openapi) from 0.85.0 to 0.90.0.
- [Release notes](https://github.com/getkin/kin-openapi/releases)
- [Commits](https://github.com/getkin/kin-openapi/compare/v0.85.0...v0.90.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>
Kaushal Modi [Thu, 24 Feb 2022 19:12:45 +0000 (14:12 -0500)]
Add test for line anchor attributes with code fences
Fixes https://github.com/gohugoio/hugo/issues/9385.
dependabot[bot] [Thu, 24 Feb 2022 18:01:15 +0000 (18:01 +0000)]
build(deps): bump github.com/evanw/esbuild from 0.14.22 to 0.14.23
Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild) from 0.14.22 to 0.14.23.
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/master/CHANGELOG.md)
- [Commits](https://github.com/evanw/esbuild/compare/v0.14.22...v0.14.23)
---
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, 17 Feb 2022 12:04:00 +0000 (13:04 +0100)]
Add Markdown diagrams and render hooks for code blocks
You can now create custom hook templates for code blocks, either one for all (`render-codeblock.html`) or for a given code language (e.g. `render-codeblock-go.html`).
We also used this new hook to add support for diagrams in Hugo:
* Goat (Go ASCII Tool) is built-in and enabled by default; just create a fenced code block with the language `goat` and start draw your Ascii diagrams.
* Another popular alternative for diagrams in Markdown, Mermaid (supported by GitHub), can also be implemented with a simple template. See the Hugo documentation for more information.
Updates #7765
Closes #9538
Fixes #9553
Fixes #8520
Fixes #6702
Fixes #9558
dependabot[bot] [Wed, 23 Feb 2022 21:45:43 +0000 (21:45 +0000)]
build(deps): bump github.com/aws/aws-sdk-go from 1.41.14 to 1.43.5
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.41.14 to 1.43.5.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.41.14...v1.43.5)
---
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] [Wed, 23 Feb 2022 21:51:53 +0000 (21:51 +0000)]
build(deps): bump github.com/google/go-cmp from 0.5.6 to 0.5.7
Bumps [github.com/google/go-cmp](https://github.com/google/go-cmp) from 0.5.6 to 0.5.7.
- [Release notes](https://github.com/google/go-cmp/releases)
- [Commits](https://github.com/google/go-cmp/compare/v0.5.6...v0.5.7)
---
updated-dependencies:
- dependency-name: github.com/google/go-cmp
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Marshall Cottrell [Fri, 18 Feb 2022 20:28:02 +0000 (14:28 -0600)]
Add support for CODEOWNERS
Fixes #9474
Bjørn Erik Pedersen [Wed, 23 Feb 2022 19:55:16 +0000 (20:55 +0100)]
Remove Viper as a dependency
Cameron Moore [Mon, 17 Jan 2022 22:33:47 +0000 (16:33 -0600)]
helpers: Allow hyphens in UnicodeSanitize
Improve handling of existing hyphens in input to UnicodeSanitize.
This commit accomplishes three things:
1. Explicitly allow hyphens
2. Avoid appending a hyphen if a preceeding hyphen is found
3. Avoid prepending a hyphen if a trailing hyphen is found
Fixes #7288
Akimo [Wed, 23 Feb 2022 04:42:40 +0000 (13:42 +0900)]
Change `disqus_config` to `window.disqus_config`
Anthony Fok [Tue, 22 Feb 2022 17:47:21 +0000 (10:47 -0700)]
deps: Update github.com/spf13/cobra v1.2.1 => v1.3.0
Bjørn Erik Pedersen [Tue, 22 Feb 2022 13:42:33 +0000 (14:42 +0100)]
Add page.Store
Fixes #9546
John Elliott [Tue, 22 Feb 2022 16:50:23 +0000 (16:50 +0000)]
Allow images to be cropped without being resized
Introduces the Crop method for image processing which implements gift.CropToSize. Also allows a smartCrop without resizing, and updates the documentation.
Fixes #9499
Bjørn Erik Pedersen [Mon, 21 Feb 2022 18:12:04 +0000 (19:12 +0100)]
commands: Fix server panic regression
And now with a proper server test.
Fixes #9518
Fixes #9530
Fixes #9539
Bjørn Erik Pedersen [Mon, 21 Feb 2022 19:53:52 +0000 (20:53 +0100)]
markup/goldmark: Add BenchmarkCodeblocks
Joe Mooring [Fri, 18 Feb 2022 17:17:29 +0000 (09:17 -0800)]
deps: Update github.com/gohugoio/localescompressed v0.14.0 => v0.15.0
Fixes #9446
Bjørn Erik Pedersen [Fri, 18 Feb 2022 20:18:57 +0000 (21:18 +0100)]
deps: Update github.com/yuin/goldmark v1.4.4 => v1.4.7
Closes #9397
Bjørn Erik Pedersen [Fri, 18 Feb 2022 11:43:59 +0000 (12:43 +0100)]
modules: Add modules.Workspace config for Go 1.18
Sets `GOWORK` env var for Go 1.18.
Fixes #9525
Bjørn Erik Pedersen [Fri, 18 Feb 2022 10:43:35 +0000 (11:43 +0100)]
Update stale.yml
Updates #9522