dependabot[bot]
c2d8f87cfc
build(deps): bump github.com/magefile/mage from 1.10.0 to 1.11.0
...
Bumps [github.com/magefile/mage](https://github.com/magefile/mage ) from 1.10.0 to 1.11.0.
- [Release notes](https://github.com/magefile/mage/releases )
- [Changelog](https://github.com/magefile/mage/blob/master/.goreleaser.yml )
- [Commits](https://github.com/magefile/mage/compare/v1.10.0...v1.11.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-04-14 11:55:38 +02:00
dependabot[bot]
cbc246616e
build(deps): bump github.com/google/go-cmp from 0.5.4 to 0.5.5
...
Bumps [github.com/google/go-cmp](https://github.com/google/go-cmp ) from 0.5.4 to 0.5.5.
- [Release notes](https://github.com/google/go-cmp/releases )
- [Commits](https://github.com/google/go-cmp/compare/v0.5.4...v0.5.5 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-04-14 11:55:18 +02:00
Niklas Fasching
fa432b17b3
org: Disable broken pretty relative links feature
...
go-org PrettyRelativeLinks rewrites relative org links by
- adding `../` in front
- removing any `.org` suffix
This was meant to play well with hugo pretty urls (which pretty much renders
posts in a subdirectory without the file suffix) and allow use of normal org
file links to reference other posts.
There's a lot of edge cases I didn't consider and multiple bug reports in
go-org [1] later I don't think the complexity of handling those edge cases is
worth it - so let's disable it.
[1]
- https://github.com/niklasfasching/go-org/issues/53
- 5dadf8c4c2
(comment)
- https://github.com/niklasfasching/go-org/issues/51
2021-04-12 08:08:53 +02:00
Niklas Fasching
0cd55c66d3
deps: Update go-org to v1.5.0
2021-04-12 08:08:53 +02:00
dependabot[bot]
0d5cf256e4
build(deps): bump github.com/jdkato/prose from 1.2.0 to 1.2.1
...
Bumps [github.com/jdkato/prose](https://github.com/jdkato/prose ) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/jdkato/prose/releases )
- [Commits](https://github.com/jdkato/prose/compare/v1.2.0...v1.2.1 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-04-11 13:54:16 +02:00
dependabot[bot]
36527576b3
build(deps): bump github.com/spf13/cobra from 1.1.1 to 1.1.3
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.1.1 to 1.1.3.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Changelog](https://github.com/spf13/cobra/blob/master/CHANGELOG.md )
- [Commits](https://github.com/spf13/cobra/compare/v1.1.1...v1.1.3 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-04-11 13:53:45 +02:00
Bjørn Erik Pedersen
9b83f45b6d
Add complete dependency list in "hugo env -v"
...
Fixes #8400
2021-04-09 08:07:22 +02:00
Bjørn Erik Pedersen
7fdd2b95e2
Add hugo.IsExtended
...
Fixes #8399
2021-04-09 07:28:27 +02:00
Bjørn Erik Pedersen
3d5dbdcb1a
publisher: Also test minified HTML in the element collector
...
Updates #7567
2021-04-07 16:40:15 +02:00
Bjørn Erik Pedersen
8a308944e4
publisher: Skip script, pre and textarea content when looking for HTML elements
...
Updates #7567
2021-04-07 00:26:02 +02:00
Bjørn Erik Pedersen
7b4ade56dd
output: Only output mediaType once in docshelper JSON
...
Fixes #8379
2021-04-01 19:05:33 +02:00
Joe Mooring
7c7974b711
Fix typo in docshelper.go
...
Fixes #8380
2021-04-01 18:44:39 +02:00
Bjørn Erik Pedersen
5656a908d8
tpl: Remove the FuzzMarkdownify func for now
...
It has gotten us nothing but "build fails" mail and work we don't have time to follow up on.
2021-03-30 20:57:31 +02:00
Bjørn Erik Pedersen
2dc222cec4
Add slice syntax to sections permalinks config
...
Fixes #8363
2021-03-30 07:55:24 +02:00
Bjørn Erik Pedersen
4d22ad580e
deps: Upgrade github.com/evanw/esbuild v0.9.6 => v0.11.0
2021-03-29 12:00:47 +02:00
Bjørn Erik Pedersen
5e2f128911
Try to fix the fuzz build
2021-03-28 21:42:44 +02:00
hugoreleaser
97934779ed
releaser: Prepare repository for 0.83.0-DEV
...
[ci skip]
2021-03-21 18:12:42 +00:00
hugoreleaser
9d96078439
releaser: Add release notes to /docs for release of 0.82.0
...
[ci skip]
2021-03-21 17:28:02 +00:00
hugoreleaser
1efd93c097
releaser: Bump versions for release of 0.82.0
...
[ci skip]
2021-03-21 17:28:02 +00:00
hugoreleaser
584a9b3e2e
releaser: Add release notes for 0.82.0
2021-03-21 18:16:55 +01:00
Bjørn Erik Pedersen
86b4fd35e7
docs: Regenerate docs helper
2021-03-21 13:33:26 +01:00
Bjørn Erik Pedersen
195d108da7
docs: Regen CLI docs
2021-03-21 13:32:12 +01:00
Bjørn Erik Pedersen
c94aa5cf46
Merge commit '81689af79901f0cdaff765cda6322dd4a9a7ccb3'
2021-03-21 13:31:17 +01:00
Bjørn Erik Pedersen
81689af799
Squashed 'docs/' changes from bb15e9804..9cece6640
...
9cece6640 Function sort: fix example labels (#1344 )
84444120f Revert "Fix sample data for sort function (#1363 )" (#1364 )
05c8619f4 Fix sample data for sort function (#1363 )
2beb1c0ed Fix "Configure taxonomies" title (#1361 )
cd777b9fb Fix sitemap configuration link (#1360 )
52251fb42 Update the 'Customize Dates' example to not error (#1357 )
1a14cc08a Update quick-start.md
17bb98a94 Add note about image metadata removal
ec4f7bfff Update 404.md
cebfb7a90 explaination that `weight` key is used for sorting
83190ff12 fix typo: "advance settings" → "advanced settings"
75743968c Update quick-start.md
f1c64cd5a Improved documentation.
8af3b236c Update theme
git-subtree-dir: docs
git-subtree-split: 9cece6640095a21673a730201466ea636d2f8ded
2021-03-21 13:31:17 +01:00
Bjørn Erik Pedersen
df8bb8812f
Simplify some config loading code
2021-03-21 13:29:11 +01:00
Bjørn Erik Pedersen
57d8d208ed
deps: Update github.com/evanw/esbuild v0.9.0 => v0.9.6
2021-03-21 11:24:43 +01:00
Bjørn Erik Pedersen
fc06e85082
Apply OS env overrides twice
...
The recent fix for #8346 had an unfortunate side-effect, as it prevented overrides of config options used in the module collector, e.g. `HUGO_MODULE_REPLACEMENTS`.
This commit fixes that by applying the overrides twice.
2021-03-21 10:54:30 +01:00
Bjørn Erik Pedersen
b725253f9e
Attributes for code fences should be placed after the lang indicator only
...
Fixes #8313
2021-03-20 19:15:11 +01:00
Bjørn Erik Pedersen
35dedf15c0
deps: Bump github.com/tdewolff/minify/v2 v2.9.15
...
Fixes #8332
2021-03-20 15:51:20 +01:00
Bjørn Erik Pedersen
7ed56c6941
Fix OS env override for nested config param only available in theme
...
Fixes #8346
2021-03-20 13:34:51 +01:00
Avinash Sonawane
24c716cac3
Fix new theme
command description
...
`hugo new theme foo` creates theme `foo` in `./themes` and not in current directory.
2021-03-14 18:47:23 +01:00
Patrick Kollitsch
137d2dab32
github: More explicit support link to discourse
2021-03-14 18:27:15 +01:00
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