brevno-suite/hugo
4 years agojs: Let ESBuild handle all imports from node_modules
Bjørn Erik Pedersen [Fri, 13 Nov 2020 07:54:29 +0000 (08:54 +0100)]
js: Let ESBuild handle all imports from node_modules

This commit fixes some issues where modules in /assets share the same name as in node_modules.

This was not intended, and with this commit the node_modules-components should be isolated. If you want to redefine something inside node_modules, use the `defines` option.

Fixes #7948

4 years agobuild(deps): bump github.com/evanw/esbuild from 0.8.5 to 0.8.6
dependabot[bot] [Thu, 12 Nov 2020 06:30:28 +0000 (06:30 +0000)]
build(deps): bump github.com/evanw/esbuild from 0.8.5 to 0.8.6

Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild) from 0.8.5 to 0.8.6.
- [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.8.5...v0.8.6)

Signed-off-by: dependabot[bot] <support@github.com>
4 years agobuild(deps): bump github.com/evanw/esbuild from 0.8.4 to 0.8.5
dependabot[bot] [Mon, 9 Nov 2020 07:11:34 +0000 (07:11 +0000)]
build(deps): bump github.com/evanw/esbuild from 0.8.4 to 0.8.5

Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild) from 0.8.4 to 0.8.5.
- [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.8.4...v0.8.5)

Signed-off-by: dependabot[bot] <support@github.com>
4 years agobuild(deps): bump github.com/getkin/kin-openapi from 0.22.1 to 0.26.0
dependabot[bot] [Fri, 6 Nov 2020 12:24:58 +0000 (12:24 +0000)]
build(deps): bump github.com/getkin/kin-openapi from 0.22.1 to 0.26.0

Bumps [github.com/getkin/kin-openapi](https://github.com/getkin/kin-openapi) from 0.22.1 to 0.26.0.
- [Release notes](https://github.com/getkin/kin-openapi/releases)
- [Commits](https://github.com/getkin/kin-openapi/compare/v0.22.1...v0.26.0)

Signed-off-by: dependabot[bot] <support@github.com>
4 years agoUpdate GH docs to say "main" as default branch
Mackenzie Morgan [Fri, 6 Nov 2020 17:50:10 +0000 (12:50 -0500)]
Update GH docs to say "main" as default branch

4 years agoUpdated year in header
AdamKorcz [Mon, 2 Nov 2020 19:55:29 +0000 (19:55 +0000)]
Updated year in header

4 years agoAdded first fuzzer
AdamKorcz [Mon, 2 Nov 2020 17:53:21 +0000 (17:53 +0000)]
Added first fuzzer

4 years agobuild(deps): bump github.com/frankban/quicktest from 1.11.1 to 1.11.2
dependabot[bot] [Fri, 6 Nov 2020 08:04:55 +0000 (08:04 +0000)]
build(deps): bump github.com/frankban/quicktest from 1.11.1 to 1.11.2

Bumps [github.com/frankban/quicktest](https://github.com/frankban/quicktest) from 1.11.1 to 1.11.2.
- [Release notes](https://github.com/frankban/quicktest/releases)
- [Commits](https://github.com/frankban/quicktest/compare/v1.11.1...v1.11.2)

Signed-off-by: dependabot[bot] <support@github.com>
4 years agobuild(deps): bump golang.org/x/text from 0.3.3 to 0.3.4
dependabot[bot] [Wed, 28 Oct 2020 06:31:56 +0000 (06:31 +0000)]
build(deps): bump golang.org/x/text from 0.3.3 to 0.3.4

Bumps [golang.org/x/text](https://github.com/golang/text) from 0.3.3 to 0.3.4.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.3.3...v0.3.4)

Signed-off-by: dependabot[bot] <support@github.com>
4 years agobuild(deps): bump github.com/evanw/esbuild from 0.8.3 to 0.8.4
dependabot[bot] [Fri, 6 Nov 2020 06:26:25 +0000 (06:26 +0000)]
build(deps): bump github.com/evanw/esbuild from 0.8.3 to 0.8.4

Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild) from 0.8.3 to 0.8.4.
- [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.8.3...v0.8.4)

Signed-off-by: dependabot[bot] <support@github.com>
4 years agoreleaser: Prepare repository for 0.79.0-DEV
hugoreleaser [Thu, 5 Nov 2020 09:50:35 +0000 (09:50 +0000)]
releaser: Prepare repository for 0.79.0-DEV

[ci skip]

4 years agoreleaser: Add release notes to /docs for release of 0.78.1 v0.78.1
hugoreleaser [Thu, 5 Nov 2020 09:38:59 +0000 (09:38 +0000)]
releaser: Add release notes to /docs for release of 0.78.1

[ci skip]

4 years agoreleaser: Bump versions for release of 0.78.1
hugoreleaser [Thu, 5 Nov 2020 09:38:59 +0000 (09:38 +0000)]
releaser: Bump versions for release of 0.78.1

[ci skip]

4 years agoreleaser: Add release notes for 0.78.1
hugoreleaser [Thu, 5 Nov 2020 09:38:59 +0000 (09:38 +0000)]
releaser: Add release notes for 0.78.1
[ci skip]

4 years agoDisable NPM test on Travis on Windows
Bjørn Erik Pedersen [Thu, 5 Nov 2020 08:56:22 +0000 (09:56 +0100)]
Disable NPM test on Travis on Windows

For now.

4 years agotravis: Install nodejs on Windows
Bjørn Erik Pedersen [Thu, 5 Nov 2020 06:51:41 +0000 (07:51 +0100)]
travis: Install nodejs on Windows

4 years agojs: Remove external source map option
Bjørn Erik Pedersen [Wed, 4 Nov 2020 18:09:40 +0000 (19:09 +0100)]
js: Remove external source map option

It was merged by accident and the implementation does not look correct.

Fixes #7932

4 years agojs: Misc fixes
Bjørn Erik Pedersen [Wed, 4 Nov 2020 15:13:37 +0000 (16:13 +0100)]
js: Misc fixes

* Fix resolve of package.json deps in submodules
* Fix directory logic for writing assets/jsconfig.json

Fixes #7924
Fixes #7923

4 years agoreleaser: Prepare repository for 0.79.0-DEV
hugoreleaser [Tue, 3 Nov 2020 13:25:12 +0000 (13:25 +0000)]
releaser: Prepare repository for 0.79.0-DEV

[ci skip]

4 years agoreleaser: Add release notes to /docs for release of 0.78.0 v0.78.0
hugoreleaser [Tue, 3 Nov 2020 13:13:12 +0000 (13:13 +0000)]
releaser: Add release notes to /docs for release of 0.78.0

[ci skip]

4 years agoreleaser: Bump versions for release of 0.78.0
hugoreleaser [Tue, 3 Nov 2020 13:13:12 +0000 (13:13 +0000)]
releaser: Bump versions for release of 0.78.0

[ci skip]

4 years agoUpdate 0.78.0-relnotes.md
Bjørn Erik Pedersen [Tue, 3 Nov 2020 12:49:02 +0000 (13:49 +0100)]
Update 0.78.0-relnotes.md

4 years agoreleaser: Add release notes for 0.78.0
hugoreleaser [Tue, 3 Nov 2020 12:23:42 +0000 (12:23 +0000)]
releaser: Add release notes for 0.78.0

Rename to *-ready.md to continue.
[ci skip]

4 years agoMerge commit 'b74591123eac47a20d1f26ff3e2d291cd9c5cfc0'
Bjørn Erik Pedersen [Tue, 3 Nov 2020 12:05:34 +0000 (13:05 +0100)]
Merge commit 'b74591123eac47a20d1f26ff3e2d291cd9c5cfc0'

4 years agoSquashed 'docs/' changes from d1157b687..57c1d1a67
Bjørn Erik Pedersen [Tue, 3 Nov 2020 12:04:56 +0000 (13:04 +0100)]
Squashed 'docs/' changes from d1157b687..57c1d1a67

57c1d1a67 Add note about issue with Instagram shortcode
2a4355113 Add example for regional language tags (#1139)
5e9a60fc0 Format dates with "th", "nd", and "rd". (#1254)
43df9a7f6 Update index.md
f15f32590 Update index.md
5a15be93d Update configuration.md
e71c1c545 Update configuration.md
5fd0439ff Release Hugo 0.77.0
5b875477c releaser: Add release notes to /docs for release of 0.77.0
09a2a3199 docs: Regen docs helper
bebef9bbe Merge commit '9cabb46f68bae01aeb1859727dcb21e8a10f5ec7'
f5ed02685 tpl: Refactor time.AsTime location implementation
f3b8eccd2 tpl: Update Hugo time to support optional [LOCATION] parameter

git-subtree-dir: docs
git-subtree-split: 57c1d1a67b9da5ba8ad5151d464f3fd7a21a24d8

4 years agojs: Add avoidTDZ option
Bjørn Erik Pedersen [Tue, 3 Nov 2020 08:05:09 +0000 (09:05 +0100)]
js: Add avoidTDZ option

Fixes #7865

4 years agoMake js.Build fully support modules
Bjørn Erik Pedersen [Mon, 5 Oct 2020 11:34:14 +0000 (13:34 +0200)]
Make js.Build fully support modules

Fixes #7816
Fixes #7777
Fixes #7916

4 years agojs.Build: Generate tsconfig files
Andreas Richter [Sat, 12 Sep 2020 04:19:36 +0000 (00:19 -0400)]
js.Build: Generate tsconfig files

Updates #7777

Added support to allow SourceMap files to be external to the build.
In addition added more information when the js compilation has an error.
Correctly append sourceMappingURL to output file.
Fix merge conflict.

4 years agoreleaser: Prepare repository for 0.78.0-DEV
hugoreleaser [Fri, 30 Oct 2020 10:24:27 +0000 (10:24 +0000)]
releaser: Prepare repository for 0.78.0-DEV

[ci skip]

4 years agoreleaser: Add release notes to /docs for release of 0.77.0 v0.77.0
hugoreleaser [Fri, 30 Oct 2020 10:12:16 +0000 (10:12 +0000)]
releaser: Add release notes to /docs for release of 0.77.0

[ci skip]

4 years agoreleaser: Bump versions for release of 0.77.0
hugoreleaser [Fri, 30 Oct 2020 10:12:16 +0000 (10:12 +0000)]
releaser: Bump versions for release of 0.77.0

[ci skip]

4 years agoRelease 0.77.0
Bjørn Erik Pedersen [Fri, 30 Oct 2020 09:39:31 +0000 (10:39 +0100)]
Release 0.77.0

4 years agoUpdate 0.77.0-relnotes.md
Bjørn Erik Pedersen [Fri, 30 Oct 2020 09:39:04 +0000 (10:39 +0100)]
Update 0.77.0-relnotes.md

[ci skip]

4 years agoreleaser: Add release notes for 0.77.0
hugoreleaser [Fri, 30 Oct 2020 09:22:42 +0000 (09:22 +0000)]
releaser: Add release notes for 0.77.0

Rename to *-ready.md to continue.
[ci skip]

4 years agomodules: Allow absolute paths for project imports
Bjørn Erik Pedersen [Fri, 30 Oct 2020 09:14:08 +0000 (10:14 +0100)]
modules: Allow absolute paths for project imports

Fixes #7910

4 years agodocs: Regen docs helper
Bjørn Erik Pedersen [Fri, 30 Oct 2020 08:52:32 +0000 (09:52 +0100)]
docs: Regen docs helper

4 years agoMerge commit '9cabb46f68bae01aeb1859727dcb21e8a10f5ec7'
Bjørn Erik Pedersen [Fri, 30 Oct 2020 08:50:15 +0000 (09:50 +0100)]
Merge commit '9cabb46f68bae01aeb1859727dcb21e8a10f5ec7'

4 years agoSquashed 'docs/' changes from 9abd3043a..d1157b687
Bjørn Erik Pedersen [Fri, 30 Oct 2020 08:49:15 +0000 (09:49 +0100)]
Squashed 'docs/' changes from 9abd3043a..d1157b687

d1157b687 Fix typo -- missing word in title
34c9a9ff3 Remove Hartwell Insurance subpage broken link
d42f6d8eb Fix strings.Repeat documentation
09b49debb Release 0.76.5
149877735 Merge branch 'tempv0.76.5'
72ffeb026 releaser: Add release notes to /docs for release of 0.76.5
4150d8ae8 Fixed typo: update PrevPage to Prev
c3e630db1 Update index.md
deb7520a8 Release 0.76.4
f58bd7134 Merge branch 'tempv0.76.4'
2581fe4bc releaser: Add release notes to /docs for release of 0.76.4
26d8417fc Release 0.76.3
34c49e06a Merge branch 'tempv0.76.3'
0de2af2ef releaser: Add release notes to /docs for release of 0.76.3
cce12c0f7 Add missing closing quotes and fix code-block lang (#1250)
8c1c80d9f Update AMP link (#1251)
7b1211ffa Fix typos in multilingual.md
29e9d70fd Update index.md
172a5480b Release 0.76.2
93ff424d3 Merge branch 'temp762'
3cad3c23a releaser: Add release notes to /docs for release of 0.76.2
610221964 Update index.md
8a9d31709 Release 0.76.1
64b245aa4 Merge branch 'temp761'
f19469ff8 releaser: Add release notes to /docs for release of 0.76.1
97f0ed030 Update front-matter.md
cca71f263 Update index.md
23c64f6a3 Fix typo in 0.76.0 release note
5f79e034d Update index.md
b66567de2 netlify: Bump to Hugo 0.76.0
a3e30300d Release 0.76.0
3b057e8fe releaser: Add release notes to /docs for release of 0.76.0
7fa1cd912 docs: Regen docshelper
769712aec Merge commit 'e5568488051a571df48401e03f1304b95dbc9028'
70ce6ae33 pagemeta: Make BuildConfig.Render an enum
a78d3849f Allow cascade to be a slice with a _target discriminator
705fea656 Add force flag to server redirects config
04e4e1cc1 tpl: Add Do Not Track (dnt) option to Vimeo shortcode
025c19fe1 Fix CLI example for PostCSS 8
0c70c47b2 markup/asciidocext: Add preserveTOC option

git-subtree-dir: docs
git-subtree-split: d1157b687e25054501c3bcbb735da51229f66b74

4 years agoAdd module.replacements
Bjørn Erik Pedersen [Thu, 29 Oct 2020 16:14:04 +0000 (17:14 +0100)]
Add module.replacements

Fixes #7904
Fixes #7908

4 years agoFix setting HUGO_MODULE_PROXY etc. via env vars
Bjørn Erik Pedersen [Thu, 29 Oct 2020 15:22:35 +0000 (16:22 +0100)]
Fix setting HUGO_MODULE_PROXY etc. via env vars

Fixes #7903

4 years agotpl: Fix reflection bug in merge
Cameron Moore [Thu, 29 Oct 2020 02:44:38 +0000 (21:44 -0500)]
tpl: Fix reflection bug in merge

Value.Type().Key() must only be called on map values.

Fixes #7899

4 years agodeploy: Do not call CDN service invalidation when executing a dry run deployment
José Moreira [Tue, 27 Oct 2020 19:41:15 +0000 (20:41 +0100)]
deploy: Do not call CDN service invalidation when executing a dry run deployment

Currently, if cache invalidation is enabled when running `hugo deploy --dryRun` with , the deployer does not take the dry run flag into consideration and triggers CloudFront/GoogleCloudCDN cache invalidation if any of those services are configured.

This change will instead print a feedback message if a dry run is in effect and quiet mode is not enabled.

Fixes #7884

4 years agocreate: Pass editor arguments from newContentEditor correctly
Bhavin Gandhi [Thu, 15 Oct 2020 15:23:48 +0000 (20:53 +0530)]
create: Pass editor arguments from newContentEditor correctly

If newContentEditor has editor name with arguments like `emacsclient
-n`, it fails with `executable file not found in $PATH`. This change
parses the value correctly and passes it to the given editor.

Signed-off-by: Bhavin Gandhi <bhavin7392@gmail.com>
4 years agodeps: Bump github.com/spf13/cobra from 0.0.7 to 1.1.1
Anthony Fok [Sat, 24 Oct 2020 09:39:53 +0000 (03:39 -0600)]
deps: Bump github.com/spf13/cobra from 0.0.7 to 1.1.1

Cobra 1.1.1 fixes internal formatting for go-md2man v2 (which caused
man page generation e.g. "hugo gen man" to be broken since Cobra 0.0.6).
See spf13/cobra#1049 for context.

4 years agobuild: Allow optional "nodeploy" tag to exclude deploy command from bin
Eric Hagman [Fri, 23 Oct 2020 07:03:41 +0000 (03:03 -0400)]
build: Allow optional "nodeploy" tag to exclude deploy command from bin

Fixes #7826

4 years agoAllow cascade _target to work with non toml fm
Gareth Watts [Thu, 22 Oct 2020 17:14:14 +0000 (12:14 -0500)]
Allow cascade _target to work with non toml fm

The TOML lib unmarshals slices of string maps to []map[string]interface{}
whereas YAML and JSON decode to []interface{}

The existing tests only check for TOML working correctly, and _target
with cascade did not work at all for frontmatter defined in other formats.

Add a function to normalize those slices

Fixes #7874

4 years agoAllow getJSON errors to be ignored
Bjørn Erik Pedersen [Wed, 21 Oct 2020 09:17:48 +0000 (11:17 +0200)]
Allow getJSON errors to be ignored

This change is mostly motivated to get a more stable CI build (we're building the Hugo site there, with Instagram and Twitter shortcodes sometimes failing).

Fixes #7866

4 years agobuild(deps): bump github.com/evanw/esbuild from 0.7.15 to 0.7.18
dependabot[bot] [Wed, 21 Oct 2020 06:08:08 +0000 (06:08 +0000)]
build(deps): bump github.com/evanw/esbuild from 0.7.15 to 0.7.18

Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild) from 0.7.15 to 0.7.18.
- [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.7.15...v0.7.18)

Signed-off-by: dependabot[bot] <support@github.com>
4 years agotpl: Refactor time.AsTime location implementation
Cameron Moore [Wed, 21 Oct 2020 01:07:11 +0000 (20:07 -0500)]
tpl: Refactor time.AsTime location implementation

4 years agotpl: Update Hugo time to support optional [LOCATION] parameter
Mark Johnson [Mon, 19 Oct 2020 22:58:05 +0000 (15:58 -0700)]
tpl: Update Hugo time to support optional [LOCATION] parameter

4 years agoRevert "Add benchmark for building docs site"
Bjørn Erik Pedersen [Fri, 16 Oct 2020 22:37:42 +0000 (00:37 +0200)]
Revert "Add benchmark for building docs site"

We already have a lot of site building benchmarks. The main problem with adding the "Hugo site docs" to the list is that it cannot easiliy  be compared to any previous release, because its content/template/whatever has changed.

This reverts commit 837e084bbe53e9e2e6cd471d2a3daf273a874d92.

4 years agohighlight: Avoid making unnecessary allocation
Cameron Moore [Fri, 16 Oct 2020 18:27:09 +0000 (13:27 -0500)]
highlight: Avoid making unnecessary allocation

Avoid creating a local copy of the highlight configuration when no
options are passed.

Benchmarks of building the docs site:

name        old time/op    new time/op    delta
DocsSite-2     1.94s ± 4%     1.93s ± 4%    ~     (p=0.841 n=5+5)

name        old alloc/op   new alloc/op   delta
DocsSite-2     666MB ± 1%     656MB ± 0%  -1.48%  (p=0.008 n=5+5)

name        old allocs/op  new allocs/op  delta
DocsSite-2     8.85M ± 0%     8.76M ± 0%  -1.04%  (p=0.029 n=4+4)

4 years agoAdd benchmark for building docs site
Cameron Moore [Fri, 9 Oct 2020 20:49:32 +0000 (15:49 -0500)]
Add benchmark for building docs site

4 years agoembedded: Always show page number when 5 pages or less
Cameron Moore [Fri, 16 Oct 2020 01:13:41 +0000 (20:13 -0500)]
embedded: Always show page number when 5 pages or less

Fixes #7523

4 years agooutput: Improve layout path construction
Cameron Moore [Thu, 15 Oct 2020 18:54:47 +0000 (13:54 -0500)]
output: Improve layout path construction

4 years agobuild(deps): bump github.com/frankban/quicktest from 1.11.0 to 1.11.1
dependabot[bot] [Wed, 14 Oct 2020 20:07:02 +0000 (20:07 +0000)]
build(deps): bump github.com/frankban/quicktest from 1.11.0 to 1.11.1

Bumps [github.com/frankban/quicktest](https://github.com/frankban/quicktest) from 1.11.0 to 1.11.1.
- [Release notes](https://github.com/frankban/quicktest/releases)
- [Commits](https://github.com/frankban/quicktest/compare/v1.11.0...v1.11.1)

Signed-off-by: dependabot[bot] <support@github.com>
4 years agobuild(deps): bump github.com/evanw/esbuild from 0.7.14 to 0.7.15
dependabot[bot] [Wed, 14 Oct 2020 06:30:15 +0000 (06:30 +0000)]
build(deps): bump github.com/evanw/esbuild from 0.7.14 to 0.7.15

Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild) from 0.7.14 to 0.7.15.
- [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.7.14...v0.7.15)

Signed-off-by: dependabot[bot] <support@github.com>
4 years agoMerge branch 'release-0.76.5'
Bjørn Erik Pedersen [Wed, 14 Oct 2020 15:44:47 +0000 (17:44 +0200)]
Merge branch 'release-0.76.5'

4 years agoreleaser: Prepare repository for 0.77.0-DEV
hugoreleaser [Wed, 14 Oct 2020 15:28:16 +0000 (15:28 +0000)]
releaser: Prepare repository for 0.77.0-DEV

[ci skip]

4 years agoreleaser: Add release notes to /docs for release of 0.76.5 v0.76.5
hugoreleaser [Wed, 14 Oct 2020 15:15:22 +0000 (15:15 +0000)]
releaser: Add release notes to /docs for release of 0.76.5

[ci skip]

4 years agoreleaser: Bump versions for release of 0.76.5
hugoreleaser [Wed, 14 Oct 2020 15:15:22 +0000 (15:15 +0000)]
releaser: Bump versions for release of 0.76.5

[ci skip]

4 years agoreleaser: Add release notes for 0.76.5
hugoreleaser [Wed, 14 Oct 2020 15:15:22 +0000 (15:15 +0000)]
releaser: Add release notes for 0.76.5
[ci skip]

4 years agoRender aliases even if render=link
Bjørn Erik Pedersen [Wed, 14 Oct 2020 09:23:24 +0000 (11:23 +0200)]
Render aliases even if render=link

Fixes #7832

4 years agoRender aliases even if render=link
Bjørn Erik Pedersen [Wed, 14 Oct 2020 09:23:24 +0000 (11:23 +0200)]
Render aliases even if render=link

Fixes #7832

4 years agobuild(deps): bump github.com/spf13/afero from 1.4.0 to 1.4.1
dependabot[bot] [Wed, 7 Oct 2020 06:19:46 +0000 (06:19 +0000)]
build(deps): bump github.com/spf13/afero from 1.4.0 to 1.4.1

Bumps [github.com/spf13/afero](https://github.com/spf13/afero) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/spf13/afero/releases)
- [Commits](https://github.com/spf13/afero/compare/v1.4.0...v1.4.1)

Signed-off-by: dependabot[bot] <support@github.com>
4 years agobuild(deps): bump github.com/evanw/esbuild from 0.7.9 to 0.7.14
dependabot[bot] [Mon, 12 Oct 2020 06:59:40 +0000 (06:59 +0000)]
build(deps): bump github.com/evanw/esbuild from 0.7.9 to 0.7.14

Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild) from 0.7.9 to 0.7.14.
- [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.7.9...v0.7.14)

Signed-off-by: dependabot[bot] <support@github.com>
4 years agodocker: Update to Go 1.15 and Alpine 3.12
Daniel Sutton [Mon, 12 Oct 2020 20:51:08 +0000 (21:51 +0100)]
docker: Update to Go 1.15 and Alpine 3.12

4 years agooutput: Test all lookup permutations in TestLayout
Cameron Moore [Wed, 7 Oct 2020 15:41:37 +0000 (10:41 -0500)]
output: Test all lookup permutations in TestLayout

4 years agooutput: Reformat TestLayout table
Cameron Moore [Wed, 7 Oct 2020 13:09:28 +0000 (08:09 -0500)]
output: Reformat TestLayout table

4 years agoreleaser: Prepare repository for 0.77.0-DEV
hugoreleaser [Mon, 12 Oct 2020 08:45:25 +0000 (08:45 +0000)]
releaser: Prepare repository for 0.77.0-DEV

[ci skip]

4 years agoreleaser: Add release notes to /docs for release of 0.76.4 v0.76.4
hugoreleaser [Mon, 12 Oct 2020 08:32:44 +0000 (08:32 +0000)]
releaser: Add release notes to /docs for release of 0.76.4

[ci skip]

4 years agoreleaser: Bump versions for release of 0.76.4
hugoreleaser [Mon, 12 Oct 2020 08:32:44 +0000 (08:32 +0000)]
releaser: Bump versions for release of 0.76.4

[ci skip]

4 years agoreleaser: Add release notes for 0.76.4
hugoreleaser [Mon, 12 Oct 2020 08:32:44 +0000 (08:32 +0000)]
releaser: Add release notes for 0.76.4
[ci skip]

4 years agosnap: Install postcss v8 explicitly as it is now a peer dependency
Anthony Fok [Fri, 9 Oct 2020 10:06:38 +0000 (04:06 -0600)]
snap: Install postcss v8 explicitly as it is now a peer dependency

Fix Snap build failures since 2020-09-21

4 years agolang/i18n: Fix for language code case issue with pt-br etc.
Bjørn Erik Pedersen [Fri, 9 Oct 2020 08:00:50 +0000 (10:00 +0200)]
lang/i18n: Fix for language code case issue with pt-br etc.

Fixes #7804

4 years agoMerge branch 'release-0.76.3'
Bjørn Erik Pedersen [Thu, 8 Oct 2020 17:33:23 +0000 (19:33 +0200)]
Merge branch 'release-0.76.3'

4 years agoAdd merge helper
Bjørn Erik Pedersen [Thu, 8 Oct 2020 17:32:53 +0000 (19:32 +0200)]
Add merge helper

4 years agoreleaser: Prepare repository for 0.77.0-DEV
hugoreleaser [Thu, 8 Oct 2020 17:20:03 +0000 (17:20 +0000)]
releaser: Prepare repository for 0.77.0-DEV

[ci skip]

4 years agoreleaser: Add release notes to /docs for release of 0.76.3 v0.76.3
hugoreleaser [Thu, 8 Oct 2020 17:07:29 +0000 (17:07 +0000)]
releaser: Add release notes to /docs for release of 0.76.3

[ci skip]

4 years agoreleaser: Bump versions for release of 0.76.3
hugoreleaser [Thu, 8 Oct 2020 17:07:29 +0000 (17:07 +0000)]
releaser: Bump versions for release of 0.76.3

[ci skip]

4 years agoreleaser: Add release notes for 0.76.3
hugoreleaser [Thu, 8 Oct 2020 17:07:29 +0000 (17:07 +0000)]
releaser: Add release notes for 0.76.3
[ci skip]

4 years agolangs/i18n: Add workaround for known language, but missing plural rule error
Bjørn Erik Pedersen [Thu, 8 Oct 2020 08:21:23 +0000 (10:21 +0200)]
langs/i18n: Add workaround for known language, but missing plural rule error

Closes #7798

4 years agolangs/i18n: Fix for bare TOML keys
Bjørn Erik Pedersen [Thu, 8 Oct 2020 07:37:40 +0000 (09:37 +0200)]
langs/i18n: Fix for bare TOML keys

Hugo 0.76.0 updated go-i18n from v1 to v2. This allowed us to set the TOML unmarshaler to use, so we set the one we use in other places in Hugo.

But that does not support dotted bare keys, which caused some breakage in the wild.

This commit fixes that by:

* Using go-toml for language files
* Updating go-toml to the latest version

4 years agoreleaser: Prepare repository for 0.77.0-DEV
hugoreleaser [Wed, 7 Oct 2020 09:11:54 +0000 (09:11 +0000)]
releaser: Prepare repository for 0.77.0-DEV

[ci skip]

4 years agoreleaser: Add release notes to /docs for release of 0.76.2 v0.76.2
hugoreleaser [Wed, 7 Oct 2020 08:59:11 +0000 (08:59 +0000)]
releaser: Add release notes to /docs for release of 0.76.2

[ci skip]

4 years agoreleaser: Bump versions for release of 0.76.2
hugoreleaser [Wed, 7 Oct 2020 08:59:11 +0000 (08:59 +0000)]
releaser: Bump versions for release of 0.76.2

[ci skip]

4 years agoreleaser: Add release notes for 0.76.2
hugoreleaser [Wed, 7 Oct 2020 08:59:11 +0000 (08:59 +0000)]
releaser: Add release notes for 0.76.2
[ci skip]

4 years agoRevert "deps: Update to github.com/tdewolff/minify v2.9.4"
Bjørn Erik Pedersen [Wed, 7 Oct 2020 08:46:19 +0000 (10:46 +0200)]
Revert "deps: Update to  github.com/tdewolff/minify v2.9.4"

Closes #7792

This reverts commit b254532b52785954c98a473a635b9cea016d8565.

4 years agoreleaser: Prepare repository for 0.77.0-DEV
hugoreleaser [Wed, 7 Oct 2020 07:45:26 +0000 (07:45 +0000)]
releaser: Prepare repository for 0.77.0-DEV

[ci skip]

4 years agoreleaser: Add release notes to /docs for release of 0.76.1 v0.76.1
hugoreleaser [Wed, 7 Oct 2020 07:33:10 +0000 (07:33 +0000)]
releaser: Add release notes to /docs for release of 0.76.1

[ci skip]

4 years agoreleaser: Bump versions for release of 0.76.1
hugoreleaser [Wed, 7 Oct 2020 07:33:10 +0000 (07:33 +0000)]
releaser: Bump versions for release of 0.76.1

[ci skip]

4 years agoreleaser: Add release notes for 0.76.1
hugoreleaser [Wed, 7 Oct 2020 07:33:10 +0000 (07:33 +0000)]
releaser: Add release notes for 0.76.1
[ci skip]

4 years agolangs/i18n: Fix i18n .Count regression
Bjørn Erik Pedersen [Tue, 6 Oct 2020 18:32:52 +0000 (20:32 +0200)]
langs/i18n: Fix i18n .Count regression

Fixes #7787

4 years agoFix typo in 0.76.0 release note
digitalcraftsman [Tue, 6 Oct 2020 17:03:36 +0000 (19:03 +0200)]
Fix typo in 0.76.0 release note

4 years agoreleaser: Prepare repository for 0.77.0-DEV
hugoreleaser [Tue, 6 Oct 2020 15:42:25 +0000 (15:42 +0000)]
releaser: Prepare repository for 0.77.0-DEV

[ci skip]

4 years agoreleaser: Add release notes to /docs for release of 0.76.0 v0.76.0
hugoreleaser [Tue, 6 Oct 2020 15:29:25 +0000 (15:29 +0000)]
releaser: Add release notes to /docs for release of 0.76.0

[ci skip]

4 years agoreleaser: Bump versions for release of 0.76.0
hugoreleaser [Tue, 6 Oct 2020 15:29:25 +0000 (15:29 +0000)]
releaser: Bump versions for release of 0.76.0

[ci skip]

4 years agoRelease 0.76.0
Bjørn Erik Pedersen [Tue, 6 Oct 2020 15:21:35 +0000 (17:21 +0200)]
Release 0.76.0

4 years agoreleaser: Add release notes for 0.76.0
hugoreleaser [Tue, 6 Oct 2020 14:50:27 +0000 (14:50 +0000)]
releaser: Add release notes for 0.76.0

Rename to *-ready.md to continue.
[ci skip]

4 years agodocs: Regen docshelper
Bjørn Erik Pedersen [Tue, 6 Oct 2020 14:25:23 +0000 (16:25 +0200)]
docs: Regen docshelper