brevno-suite/hugo
4 years agoAdd Dart Sass support
Bjørn Erik Pedersen [Wed, 23 Dec 2020 08:26:23 +0000 (09:26 +0100)]
Add Dart Sass support

But note that the Dart Sass Embedded Protocol is still in beta (beta 5), a main release scheduled for Q1 2021.

Fixes #7380
Fixes #8102

4 years agoGroupByParamDate now supports datetimes
Horst Gutmann [Mon, 28 Dec 2020 15:06:10 +0000 (16:06 +0100)]
GroupByParamDate now supports datetimes

Previously, the method only worked for date strings but not (for
instance) full RFC3339 datetime strings.

4 years agopara: Skip para test when not on CI
Bjørn Erik Pedersen [Wed, 23 Dec 2020 18:47:20 +0000 (19:47 +0100)]
para: Skip para test when not on CI

Fixes #6963

4 years agoUpdate SECURITY.md
Bjørn Erik Pedersen [Tue, 22 Dec 2020 09:09:59 +0000 (10:09 +0100)]
Update SECURITY.md

4 years agoreleaser: Add release notes to /docs for release of 0.79.1
hugoreleaser [Sat, 19 Dec 2020 15:41:03 +0000 (15:41 +0000)]
releaser: Add release notes to /docs for release of 0.79.1

[ci skip]

4 years agoImprove LookPath
Bjørn Erik Pedersen [Fri, 18 Dec 2020 17:20:12 +0000 (18:20 +0100)]
Improve LookPath

4 years agodocs: create a SECURITY.md
Patrick Kollitsch [Fri, 18 Dec 2020 16:40:49 +0000 (23:40 +0700)]
docs: create a SECURITY.md

This file is used by Github as a tab on the repos homepage to access information about how to report security issues. The text is kept simple.

Will solve #8074

4 years agoFix Resource.ResourceType so it always returns MIME's main type
Bjørn Erik Pedersen [Thu, 17 Dec 2020 08:33:26 +0000 (09:33 +0100)]
Fix Resource.ResourceType so it always returns MIME's main type

The one exception being for the Page, which does not have a MIME type, in which you will get the value `page`.

Fixes #8052

4 years agopara: Show more detail on failed time test
Cameron Moore [Thu, 17 Dec 2020 17:31:40 +0000 (11:31 -0600)]
para: Show more detail on failed time test

Give us more visibility into how badly a given host is failing in the
time test.

Updates #6963

4 years agoimages: Add images.Overlay filter
Bjørn Erik Pedersen [Wed, 16 Dec 2020 12:52:47 +0000 (13:52 +0100)]
images: Add images.Overlay filter

This allows for constructs ala:

```
{{ $overlay := $img.Filter (images.Overlay $logo 50 50 )}}
```
Or:

```
{{ $logoFilter := (images.Overlay $logo 50 50 ) }}
{{ $overlay := $img | images.Filter $logoFilter }}
```

Which will overlay the logo in the top left corner (x=50, y=50) of `$img`.

Fixes #8057
Fixes #4595
Updates #6731

4 years agotpl: Regenerate templates
Bjørn Erik Pedersen [Wed, 16 Dec 2020 11:20:02 +0000 (12:20 +0100)]
tpl: Regenerate templates

4 years agotpl: Fix series detection in opengraph
Maciej Sawicki [Wed, 16 Dec 2020 11:13:30 +0000 (12:13 +0100)]
tpl: Fix series detection in opengraph

When inside front matter you specified series with spaces,
then the opengraph template wouldn't detect other articles,
because in `.Site.Taxonomies.series` they are stored by
urlized key.

Example:

```yaml
# in front matter
series:
    - My Series
```

```gohtml
{{/* in a template */}}
{{- $series := index .Site.Taxonomies.series$name }}

{{/* was resolved to */}}
{{- $series := index {'my-series': ...} "MySeries" }}
```

4 years agohugolib/paths: Fix typo
真夜 [Wed, 16 Dec 2020 11:12:14 +0000 (19:12 +0800)]
hugolib/paths: Fix typo

4 years agoall: Fix minor typos
Phil Davis [Wed, 16 Dec 2020 11:11:32 +0000 (16:56 +0545)]
all: Fix minor typos

4 years agoFix BenchmarkMergeByLanguage
Bjørn Erik Pedersen [Wed, 9 Dec 2020 16:47:10 +0000 (17:47 +0100)]
Fix BenchmarkMergeByLanguage

Fixes #7914

4 years agodeps: Bump github.com/spf13/cobra from 0.15.0 to 0.20.0
Anthony Fok [Sat, 5 Dec 2020 03:43:03 +0000 (20:43 -0700)]
deps: Bump github.com/spf13/cobra from 0.15.0 to 0.20.0

The substring match in TestExecute deploy test is adjusted accordingly.

4 years agochore: configure proper link to discourse.gohugo.io (#8020)
Patrick Kollitsch [Fri, 4 Dec 2020 09:04:35 +0000 (16:04 +0700)]
chore: configure proper link to discourse.gohugo.io (#8020)

* chore: configure proper link to discourse.gohugo.io

This adds a configuration file to the issue templates for this repo. In this config file, an issue template is added that will look like the existing issue templates, but on click will lead directly to the discourse forum instead of hoping that people read what it says there. The support.md can be deleted.

* chore: remove obsolete support.md configuration

* chore: remove obsolete autoclosing workflow

4 years agotpl/internal/go_templates: Revert formatting
Bjørn Erik Pedersen [Thu, 3 Dec 2020 12:47:43 +0000 (13:47 +0100)]
tpl/internal/go_templates: Revert formatting

Should make future fork synch easier.

4 years agoall: Format code with gofumpt
Bjørn Erik Pedersen [Wed, 2 Dec 2020 12:23:25 +0000 (13:23 +0100)]
all: Format code with gofumpt

See https://github.com/mvdan/gofumpt

4 years agobuild(deps): bump github.com/evanw/esbuild from 0.8.15 to 0.8.17
dependabot[bot] [Mon, 30 Nov 2020 07:19:22 +0000 (07:19 +0000)]
build(deps): bump github.com/evanw/esbuild from 0.8.15 to 0.8.17

Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild) from 0.8.15 to 0.8.17.
- [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.15...v0.8.17)

Signed-off-by: dependabot[bot] <support@github.com>
4 years agotpl: Add title parameter to YouTube shortcode
Andrew Zenk [Wed, 2 Dec 2020 11:53:53 +0000 (05:53 -0600)]
tpl: Add title parameter to YouTube shortcode

4 years agoUse --baseURL path for live-reload URL
sth [Wed, 2 Dec 2020 11:52:26 +0000 (12:52 +0100)]
Use --baseURL path for live-reload URL

Fixes #6595

4 years agoFix RelURL and AbsURL when path starts with language
ivan-meridianbanc-com [Wed, 2 Dec 2020 11:47:01 +0000 (13:47 +0200)]
Fix RelURL and AbsURL when path starts with language

4 years agobuild(deps): bump github.com/getkin/kin-openapi from 0.31.0 to 0.32.0
dependabot[bot] [Thu, 26 Nov 2020 06:37:57 +0000 (06:37 +0000)]
build(deps): bump github.com/getkin/kin-openapi from 0.31.0 to 0.32.0

Bumps [github.com/getkin/kin-openapi](https://github.com/getkin/kin-openapi) from 0.31.0 to 0.32.0.
- [Release notes](https://github.com/getkin/kin-openapi/releases)
- [Commits](https://github.com/getkin/kin-openapi/compare/v0.31.0...v0.32.0)

Signed-off-by: dependabot[bot] <support@github.com>
4 years agotpl: Fix substr when length parameter is zero
Cameron Moore [Sat, 28 Nov 2020 15:56:49 +0000 (09:56 -0600)]
tpl: Fix substr when length parameter is zero

When length parameter is zero, always return an empty string.

Updates #7993

4 years agotpl: Refactor and fix substr logic
Cameron Moore [Sat, 28 Nov 2020 05:43:01 +0000 (23:43 -0600)]
tpl: Refactor and fix substr logic

Fix miscalculations when start is negative.  Results should now match
PHP substr.

Fixes #7993

4 years agoreleaser: Prepare repository for 0.80.0-DEV
hugoreleaser [Fri, 27 Nov 2020 09:19:04 +0000 (09:19 +0000)]
releaser: Prepare repository for 0.80.0-DEV

[ci skip]

4 years agoreleaser: Add release notes to /docs for release of 0.79.0 v0.79.0
hugoreleaser [Fri, 27 Nov 2020 09:06:36 +0000 (09:06 +0000)]
releaser: Add release notes to /docs for release of 0.79.0

[ci skip]

4 years agoreleaser: Bump versions for release of 0.79.0
hugoreleaser [Fri, 27 Nov 2020 09:06:36 +0000 (09:06 +0000)]
releaser: Bump versions for release of 0.79.0

[ci skip]

4 years agoUpdate 0.79.0-relnotes.md
Bjørn Erik Pedersen [Fri, 27 Nov 2020 08:54:03 +0000 (09:54 +0100)]
Update 0.79.0-relnotes.md

4 years agoreleaser: Add release notes for 0.79.0
hugoreleaser [Fri, 27 Nov 2020 08:44:33 +0000 (08:44 +0000)]
releaser: Add release notes for 0.79.0

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

4 years agoMerge commit '9f1265fde4b9ef186148337c99f08601633b6056'
Bjørn Erik Pedersen [Fri, 27 Nov 2020 08:30:05 +0000 (09:30 +0100)]
Merge commit '9f1265fde4b9ef186148337c99f08601633b6056'

4 years agoSquashed 'docs/' changes from 57c1d1a67..1de7a358c
Bjørn Erik Pedersen [Fri, 27 Nov 2020 08:26:24 +0000 (09:26 +0100)]
Squashed 'docs/' changes from 57c1d1a67..1de7a358c

1de7a358c Clarify that "with" blocks do not render with empty values (#1287)
b48de8b0a Update js.md
e0124e4b1 Update js.md
087b39d74 Update hosting-on-render.md (#1286)
8f02b5412 Update js.md (#1284)
8dd8a8d1d Add link to "Build Websites with Hugo" book (#1174)
ae2dc138a Fix typo in page bundles (#1283)
ab14bfec3 Update configuration directory section
17da77ff1 Update multilingual.md (#1280)
5bce8db3a Fix for site-hierarchy image, issue #60
9d7a2366d Fix typo
ad4210c41 Fix typo
c88bc0383 Fix orphan branch url (#1262)
1cf6cf5b3 Hugo 0.78.2
538c3cb86 Merge branch 'tempv0.78.2'
e5e07fc81 releaser: Add release notes to /docs for release of 0.78.2
120a61a47 Fixed wrong var assignment example
4cebbb1a7 Ignore remote JSON errors (for now)
618fcf9ba Add a link to modules config option 'replacements'
e12722779 Fix typo ("wil" -> "will") (#1273)
0670e9894 Update js.md
5bde834cf Update GH docs to say "main" as default branch
26312f93d Update index.md
eb6f51df1 Update js.md
b890dc84d Merge branch 'tempv0.78.1'
6b73ea450 releaser: Add release notes to /docs for release of 0.78.1
46e582112 Update starter-kits.md (#1268)
a62786235 Update 404 docs: GitLab auto-detects 404.html (#1173)
cbd4fd2d9 Fix typo (#1271)
2ba3f9386 Update js.md
7b5109d90 Update js.md
bc75bc962 Release 0.78.0
0b2e8b0f1 releaser: Add release notes to /docs for release of 0.78.0
9ecba8480 Merge commit 'b74591123eac47a20d1f26ff3e2d291cd9c5cfc0'
60a475df7 js: Add avoidTDZ option
3b895261f Make js.Build fully support modules

git-subtree-dir: docs
git-subtree-split: 1de7a358cac94ac09a513456bdaae65e6ae94859

4 years agopublisher: Fix memory usage in writeStats
Bjørn Erik Pedersen [Fri, 27 Nov 2020 07:46:58 +0000 (08:46 +0100)]
publisher: Fix memory usage in writeStats

```
name                     old time/op    new time/op    delta
ClassCollectorWriter-16    72.1µs ± 0%    32.3µs ± 0%  -55.17%  (p=0.029 n=4+4)

name                     old alloc/op   new alloc/op   delta
ClassCollectorWriter-16    85.9kB ± 0%    35.1kB ± 0%  -59.16%  (p=0.029 n=4+4)

name                     old allocs/op  new allocs/op  delta
ClassCollectorWriter-16       329 ± 0%       149 ± 0%  -54.71%  (p=0.029 n=4+4)
```

Fixes #7945

4 years agobuild(deps): bump gopkg.in/yaml.v2 from 2.3.0 to 2.4.0
dependabot[bot] [Thu, 26 Nov 2020 06:37:31 +0000 (06:37 +0000)]
build(deps): bump gopkg.in/yaml.v2 from 2.3.0 to 2.4.0

Bumps [gopkg.in/yaml.v2](https://github.com/go-yaml/yaml) from 2.3.0 to 2.4.0.
- [Release notes](https://github.com/go-yaml/yaml/releases)
- [Commits](https://github.com/go-yaml/yaml/compare/v2.3.0...v2.4.0)

Signed-off-by: dependabot[bot] <support@github.com>
4 years agoFix server rebuild issue with partials referenced from render hooks
Bjørn Erik Pedersen [Thu, 26 Nov 2020 07:32:49 +0000 (08:32 +0100)]
Fix server rebuild issue with partials referenced from render hooks

Fixes #7990

4 years agoAllow setting the delimiter used for setting config via OS env, e.g. HUGO_
Bjørn Erik Pedersen [Tue, 24 Nov 2020 13:11:42 +0000 (14:11 +0100)]
Allow setting the delimiter used for setting config via OS env, e.g. HUGO_

Fixes #7829

4 years agodeps: Update to github.com/evanw/esbuild 0.8.11 to 0.8.14
Bjørn Erik Pedersen [Wed, 25 Nov 2020 16:39:51 +0000 (17:39 +0100)]
deps: Update to github.com/evanw/esbuild 0.8.11 to 0.8.14

Closes #7986

4 years agooutput: Add more layout lookup tests
Cameron Moore [Tue, 24 Nov 2020 20:49:06 +0000 (14:49 -0600)]
output: Add more layout lookup tests

Add more tests to cover more cases and to help with documentation and
discussion of template lookup order.

Updates #7964

4 years agobuild(deps): bump github.com/google/go-cmp from 0.5.2 to 0.5.3
dependabot[bot] [Fri, 13 Nov 2020 06:25:16 +0000 (06:25 +0000)]
build(deps): bump github.com/google/go-cmp from 0.5.2 to 0.5.3

Bumps [github.com/google/go-cmp](https://github.com/google/go-cmp) from 0.5.2 to 0.5.3.
- [Release notes](https://github.com/google/go-cmp/releases)
- [Commits](https://github.com/google/go-cmp/compare/v0.5.2...v0.5.3)

Signed-off-by: dependabot[bot] <support@github.com>
4 years agoexamples: Remove unneeded meta tag from blog example
Christian Oliff [Tue, 24 Nov 2020 19:20:04 +0000 (04:20 +0900)]
examples: Remove unneeded meta tag from blog example

```html
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
```
This was only needed for IE10 and lower (which are no longer supported) and chromeframe which was a Google plugin for IE8 and lower and was discontinued many years ago. So this meta tag can be safely removed.

4 years agobuild(deps): bump github.com/getkin/kin-openapi from 0.30.0 to 0.31.0
dependabot[bot] [Tue, 24 Nov 2020 06:28:08 +0000 (06:28 +0000)]
build(deps): bump github.com/getkin/kin-openapi from 0.30.0 to 0.31.0

Bumps [github.com/getkin/kin-openapi](https://github.com/getkin/kin-openapi) from 0.30.0 to 0.31.0.
- [Release notes](https://github.com/getkin/kin-openapi/releases)
- [Commits](https://github.com/getkin/kin-openapi/compare/v0.30.0...v0.31.0)

Signed-off-by: dependabot[bot] <support@github.com>
4 years agodocs: Regen docshelper
Bjørn Erik Pedersen [Tue, 24 Nov 2020 12:49:01 +0000 (13:49 +0100)]
docs: Regen docshelper

4 years agoAdd menu params
David Jones [Sun, 22 Nov 2020 21:09:59 +0000 (13:09 -0800)]
Add menu params

Fixes #7951

4 years agoresources: Preserve url set in frontmatter without sanitizing
SatowTakeshi [Sat, 21 Nov 2020 17:58:26 +0000 (02:58 +0900)]
resources: Preserve url set in frontmatter without sanitizing

related #6007 (already closed)

4 years agowatcher: Add file deleted by accident
Bjørn Erik Pedersen [Sat, 21 Nov 2020 16:21:14 +0000 (17:21 +0100)]
watcher: Add file deleted by accident

See #7972

4 years agoRevert "docs: Regenerate docshelper"
Bjørn Erik Pedersen [Sat, 21 Nov 2020 11:48:48 +0000 (12:48 +0100)]
Revert "docs: Regenerate docshelper"

This reverts commit caf16c20853947138883f6460682e19733895f52.

Closes #7972

4 years agodocs: Regenerate docshelper
Bjørn Erik Pedersen [Fri, 20 Nov 2020 08:32:16 +0000 (09:32 +0100)]
docs: Regenerate docshelper

4 years agodeps: Update to Chroma v0.8.2
Bjørn Erik Pedersen [Fri, 20 Nov 2020 08:30:05 +0000 (09:30 +0100)]
deps: Update to Chroma v0.8.2

Closes #7970

4 years agobuild(deps): bump github.com/evanw/esbuild from 0.8.8 to 0.8.11
dependabot[bot] [Thu, 19 Nov 2020 06:33:33 +0000 (06:33 +0000)]
build(deps): bump github.com/evanw/esbuild from 0.8.8 to 0.8.11

Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild) from 0.8.8 to 0.8.11.
- [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.8...v0.8.11)

Signed-off-by: dependabot[bot] <support@github.com>
4 years agobuild(deps): bump github.com/getkin/kin-openapi from 0.26.0 to 0.30.0
dependabot[bot] [Mon, 16 Nov 2020 07:10:57 +0000 (07:10 +0000)]
build(deps): bump github.com/getkin/kin-openapi from 0.26.0 to 0.30.0

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

Signed-off-by: dependabot[bot] <support@github.com>
4 years agobuild(deps): bump github.com/evanw/esbuild from 0.8.6 to 0.8.8
dependabot[bot] [Mon, 16 Nov 2020 07:10:01 +0000 (07:10 +0000)]
build(deps): bump github.com/evanw/esbuild from 0.8.6 to 0.8.8

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

Signed-off-by: dependabot[bot] <support@github.com>
4 years agoreleaser: Prepare repository for 0.79.0-DEV
hugoreleaser [Fri, 13 Nov 2020 10:19:23 +0000 (10:19 +0000)]
releaser: Prepare repository for 0.79.0-DEV

[ci skip]

4 years agoreleaser: Add release notes to /docs for release of 0.78.2 v0.78.2
hugoreleaser [Fri, 13 Nov 2020 10:07:00 +0000 (10:07 +0000)]
releaser: Add release notes to /docs for release of 0.78.2

[ci skip]

4 years agoreleaser: Bump versions for release of 0.78.2
hugoreleaser [Fri, 13 Nov 2020 10:07:00 +0000 (10:07 +0000)]
releaser: Bump versions for release of 0.78.2

[ci skip]

4 years agoreleaser: Add release notes for 0.78.2
hugoreleaser [Fri, 13 Nov 2020 10:07:00 +0000 (10:07 +0000)]
releaser: Add release notes for 0.78.2
[ci skip]

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.