Bjørn Erik Pedersen
ba1d0051b4
media: Make Type comparable
...
So we can use it and output.Format as map key etc.
This commit also fixes the media.Type implementation so it does not need to mutate itself to handle different suffixes for the same MIME type, e.g. jpg vs. jpeg.
This means that there are no Suffix or FullSuffix on media.Type anymore.
Fixes #8317
Fixes #8324
2021-03-14 15:21:54 +01:00
Bjørn Erik Pedersen
1b1dcf586e
deps: Update to esbuild v0.9.0
2021-03-14 11:51:25 +01:00
Cameron Moore
f6612d8bd8
exif: Fix handling of utf8 runes in nullString()
2021-03-13 21:20:10 +01:00
Cameron Moore
0a2ab3f8fe
exif: Allow more spacing characters in strings
...
The root cause of issue #8079 was a non-breaking space (U+0160).
`unicode.IsPrint` only allows the ASCII space (U+0020). Be more lenient
by using `unicode.IsGraphic` instead.
Fixes #8079
2021-03-13 21:20:10 +01:00
Bjørn Erik Pedersen
4d24e2a326
media: Add a basic benchmark
2021-03-11 10:08:51 +01:00
Bjørn Erik Pedersen
18074d0c23
Fix output format handling for render hooks
...
Fixes #8176
2021-03-09 13:26:39 +01:00
Bjørn Erik Pedersen
35bfb66222
Rename a test
2021-03-04 13:46:31 +01:00
Bjørn Erik Pedersen
6d21559fb5
Add a debug helper
2021-03-03 20:16:58 +01:00
Daniel Atwood
ba16a14c6e
Add support for Google Analytics v4
2021-03-03 13:30:06 +01:00
Bjørn Erik Pedersen
782c79ae61
Bump go.mod to Go 1.16
...
Fixes #8294
2021-03-03 09:17:57 +01:00
Systemkern
5afcae7e0b
#8210 Upgrade golang version for Dockerfile
...
https://github.com/gohugoio/hugo/issues/8210
relates to: #8210
2021-02-28 14:14:06 +01:00
Bjørn Erik Pedersen
60469f429e
Update CONTRIBUTING.md
2021-02-25 11:50:08 +01:00
Bjørn Erik Pedersen
aed7df62a8
markup: Handle attribute lists in code fences
...
Fixes #8278
2021-02-24 11:16:06 +01:00
Bjørn Erik Pedersen
cd0c5d7ef3
Allow markdown attribute lists to be used in title render hooks
...
Fixes #8270
2021-02-23 18:08:39 +01:00
Bjørn Erik Pedersen
e7e194435b
Merge commit '9d31f650da964a52f05fc27b7fb99cf3e09778cf'
2021-02-23 17:41:05 +01:00
Bjørn Erik Pedersen
9d31f650da
Squashed 'docs/' changes from d343ebf71..bb15e9804
...
bb15e9804 Update index.md (#1339 )
ffb2f21d1 Update index.md
fc154ac02 Regenerate CLI docs
a0a687738 Update index.md
d0e35a844 Update index.md
86d0cc042 Update index.md
bdaf7e022 Release 0.81.0
b51017445 releaser: Add release notes to /docs for release of 0.81.0
888dd8fcc docs: Regen CLI docs
8c3e8b270 docs: Regen docs helper
79e3e1ebc Merge commit 'acb9109df778fa4a51c0d8b29b3212b12988908f'
31f70af7e modules: Add config option modules.vendorClosest
2631df94e markup/goldmark: Add attributes support for blocks (tables etc.)
19dee04ad Update to Dart Sass Protocol beta6
e507721fe Refactor: Write to stdout by default
d204bf160 Refactor: Remove powershell support
91bea48f5 Feat: Add zsh, fish and powershell completion support
9c915ea27 docs: Remove mention of a file size limit for readFile
5acc8b6c7 js: Add Inject config option
45321989e js: Add Shims option
git-subtree-dir: docs
git-subtree-split: bb15e9804ae56da41f3bdb361adc14f8711fc19d
2021-02-23 17:39:59 +01:00
dependabot[bot]
88a85dcea9
build(deps): bump github.com/kyokomi/emoji/v2 from 2.2.7 to 2.2.8
...
Bumps [github.com/kyokomi/emoji/v2](https://github.com/kyokomi/emoji ) from 2.2.7 to 2.2.8.
- [Release notes](https://github.com/kyokomi/emoji/releases )
- [Commits](https://github.com/kyokomi/emoji/compare/v2.2.7...v2.2.8 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-02-23 10:55:29 +01:00
Bjørn Erik Pedersen
7f8530039a
tpl: Add method mappings for strings.Contains, strings.ContainsAny
...
Just to confirm/document the function signature.
2021-02-23 09:36:43 +01:00
gzagatti
01dd7c16af
Fixes #7698 .
...
markup: Allow installed arbitrary Asciidoc extension via path validation.
2021-02-22 13:52:04 +01:00
Bjørn Erik Pedersen
c8f45d1d86
commands: Fix autocomplete docs
2021-02-20 14:08:51 +01:00
hugoreleaser
b3504a0ee8
releaser: Prepare repository for 0.82.0-DEV
...
[ci skip]
2021-02-19 17:55:53 +00:00
hugoreleaser
59d15c97d8
releaser: Add release notes to /docs for release of 0.81.0
...
[ci skip]
2021-02-19 17:07:09 +00:00
hugoreleaser
9e2d086ca7
releaser: Bump versions for release of 0.81.0
...
[ci skip]
2021-02-19 17:07:09 +00:00
Bjørn Erik Pedersen
b65518ac63
releaser: Increase build timeout
2021-02-19 17:57:24 +01:00
hugoreleaser
0e9cd8128d
releaser: Add release notes for 0.81.0
2021-02-19 16:52:22 +01:00
Bjørn Erik Pedersen
fe77f7434b
tpl: Make the build green again
2021-02-18 18:17:43 +01:00
Bjørn Erik Pedersen
9e99950c6e
docs: Regen CLI docs
2021-02-18 17:55:38 +01:00
Bjørn Erik Pedersen
1b364b003f
docs: Regen docs helper
2021-02-18 17:54:25 +01:00
Bjørn Erik Pedersen
acb9109df7
Squashed 'docs/' changes from ef9c4913c..d343ebf71
...
d343ebf71 Document ignoreImports
f912ea1cc Fix the github workflow (#1332 )
617894052 Add site function
f3be651f9 Minor typo/markdown fixes (#1328 )
7a95e9db5 Fix a formatting error for Github Actions (#1323 )
260106669 Fix #1120 Use Github Action
d8847a144 docs: Fix HTML code in .RenderString description being stripped out (#1320 )
7a67c38c4 Correct sitemap version (#1318 )
6a163f53a Removed noise. (#1317 )
b02902121 Fix a minor typo (#1314 )
399c74acd Revert "js: Update shims setup"
77def8a8c Revert "Update js.md"
13aeb2c73 Update js.md
704987dc1 js: Update shims setup
git-subtree-dir: docs
git-subtree-split: d343ebf718393ea704da132de508db712f7bcb44
2021-02-18 17:52:49 +01:00
Bjørn Erik Pedersen
7d0a261981
Merge commit 'acb9109df778fa4a51c0d8b29b3212b12988908f'
2021-02-18 17:52:49 +01:00
Bjørn Erik Pedersen
c60806550a
tpl: Regenerate internal templates
2021-02-18 17:52:32 +01:00
Daniel Atwood
ffd9dac421
tpl: Update date logic of opengraph and schema internal templates
...
* Fix: updated date logic in opengraph template
* Updated date logic in schema template
* Reformatted opengraph and schema
* Wrapped PublishDate and Lastmod in with
2021-02-18 17:51:32 +01:00
Bjørn Erik Pedersen
88b93a09dc
Run go mod tidy
2021-02-18 14:22:25 +01:00
Bjørn Erik Pedersen
29fb456c9e
build: Add arm64 to Darwinextended build and add vendorInfo
...
Closes #8003
2021-02-18 14:11:48 +01:00
Bjørn Erik Pedersen
718fba7d63
Update Travis, GitHub, CircleCI and Snap to Go 1.16 (only)
2021-02-18 14:11:48 +01:00
Bjørn Erik Pedersen
9650e56841
tpl: Add temporary patch to fix template data race
...
Keep this as a separate commit so we can reapply it if needed.
Fixes #7293
2021-02-18 14:11:48 +01:00
Bjørn Erik Pedersen
e77b2e3aa0
Pull in latest Go 1.16 template source
2021-02-18 14:11:48 +01:00
Bjørn Erik Pedersen
b5485aeae7
Add breaking tests for "map read and map write in templates"
...
The fix upstream in Go was reverted, so we apply a temporary patch for this in Hugo.
Updates #7293
2021-02-18 14:11:48 +01:00
Bjørn Erik Pedersen
ccb822eb5a
Pull in latest Go template source
2021-02-18 14:11:48 +01:00
Bjørn Erik Pedersen
21e9eb18ac
Expand template newline testcase to commands
2021-02-18 14:11:48 +01:00
Bjørn Erik Pedersen
ae57ba6a9d
Add a test case for Go 1.16 template action newlines
2021-02-18 14:11:48 +01:00
Bjørn Erik Pedersen
cf3e077da3
tpl/internal: Synch Go templates fork with Go 1.16dev
2021-02-18 14:11:48 +01:00
Bjørn Erik Pedersen
66beac99c6
deps: Update github.com/tdewolff/minify/v2 v2.6.2 => v2.9.13
...
Fixes #8258
2021-02-18 10:19:22 +01:00
dependabot[bot]
968dd7a711
build(deps): bump github.com/frankban/quicktest from 1.11.2 to 1.11.3
...
Bumps [github.com/frankban/quicktest](https://github.com/frankban/quicktest ) from 1.11.2 to 1.11.3.
- [Release notes](https://github.com/frankban/quicktest/releases )
- [Commits](https://github.com/frankban/quicktest/compare/v1.11.2...v1.11.3 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-02-16 22:10:33 +01:00
dependabot[bot]
38f29e817f
build(deps): bump github.com/getkin/kin-openapi from 0.32.0 to 0.39.0
...
Bumps [github.com/getkin/kin-openapi](https://github.com/getkin/kin-openapi ) from 0.32.0 to 0.39.0.
- [Release notes](https://github.com/getkin/kin-openapi/releases )
- [Commits](https://github.com/getkin/kin-openapi/compare/v0.32.0...v0.39.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-02-16 21:18:35 +01:00
dependabot[bot]
cd87813aa0
build(deps): bump github.com/aws/aws-sdk-go from 1.36.33 to 1.37.11
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.36.33 to 1.37.11.
- [Release notes](https://github.com/aws/aws-sdk-go/releases )
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.36.33...v1.37.11 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-02-16 18:43:30 +01:00
dependabot[bot]
4e815b063e
build(deps): bump github.com/sanity-io/litter from 1.3.0 to 1.5.0
...
Bumps [github.com/sanity-io/litter](https://github.com/sanity-io/litter ) from 1.3.0 to 1.5.0.
- [Release notes](https://github.com/sanity-io/litter/releases )
- [Changelog](https://github.com/sanity-io/litter/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sanity-io/litter/compare/v1.3.0...v1.5.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-02-16 18:42:55 +01:00
dependabot[bot]
652a59d385
build(deps): bump github.com/olekukonko/tablewriter from 0.0.4 to 0.0.5
...
Bumps [github.com/olekukonko/tablewriter](https://github.com/olekukonko/tablewriter ) from 0.0.4 to 0.0.5.
- [Release notes](https://github.com/olekukonko/tablewriter/releases )
- [Commits](https://github.com/olekukonko/tablewriter/compare/v0.0.4...v0.0.5 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-02-16 18:39:44 +01:00
Bjørn Erik Pedersen
84f0ec7f80
deps: Update to esbuild v0.8.46
2021-02-16 18:37:30 +01:00
Bjørn Erik Pedersen
bdfbcf6f4b
modules: Add config option modules.vendorClosest
...
Fixes #8235
Fixes #8242
2021-02-16 16:30:01 +01:00