brevno-suite/hugo
4 years agojs: Add Shims option
Bjørn Erik Pedersen [Thu, 21 Jan 2021 15:52:32 +0000 (16:52 +0100)]
js: Add Shims option

This commit adds a new `shims` option to `js.Build` that allows swapping out a component with another.

Fixes #8165

4 years agoFix nilpointer in js.Build error handling
Bjørn Erik Pedersen [Thu, 21 Jan 2021 09:09:33 +0000 (10:09 +0100)]
Fix nilpointer in js.Build error handling

Fixes #8162

4 years agoMerge commit 'e48ffb763572814a3788780bb9653dfa2daeae22'
Bjørn Erik Pedersen [Wed, 20 Jan 2021 11:48:39 +0000 (12:48 +0100)]
Merge commit 'e48ffb763572814a3788780bb9653dfa2daeae22'

4 years agoSquashed 'docs/' changes from 1de7a358c..ef9c4913c
Bjørn Erik Pedersen [Wed, 20 Jan 2021 11:47:49 +0000 (12:47 +0100)]
Squashed 'docs/' changes from 1de7a358c..ef9c4913c

ef9c4913c Clean up and removal of outdated examples
46122c9aa add godot tutorials to showcase
06d1d1ea2 Update scss-sass.md
1fc63c100 Spelling fix in 0.79.1 release notes
ad2f50e3d Update plainwords description (#1296)
33021d451 Update substr examples (#1304)
6b1cc59bb Release 0.80.0
521db8c6d Merge branch 'tempv0.80.0'
58626c2b3 releaser: Add release notes to /docs for release of 0.80.0
f81d118af dartsass: Dart Sass only supports `expanded` and `compressed`
7da6f54be Add Dart Sass support
b1f2661bb Replace jsconfig.js with jsconfig.json
38de0c1a4 Update index.md
223ceae80 Update index.md
f7ac0e59d Release v0.79.1
2d4583d43 Merge branch 'temp791-2'
1d34e609b releaser: Add release notes to /docs for release of 0.79.1
e26769988 Merge branch 'temp791'
75694d904 Fix Resource.ResourceType so it always returns MIME's main type
0f65d7783 Typo s/adds/add (#1298)
0b896b2c0 images: Add images.Overlay filter
0d4257dcd Clarify documentation on shimming
fcf601ddf Update index.html
6bf9bc1c1 Update index.html
1ce76bf3a Update index.html
e7d976eec Update index.html
db2996e64 Update index.html
245e5bfc9 news: Add post about Apple M1
3ad4115ed tpl: Add title parameter to YouTube shortcode
76ed976f8 Added two useful extensions to the list (#1243)
e5a30dd11 Update related.md
25cf8f48b Improve substr examples
e16e57e9a Update path.Split.md
2749b88fd Update path.Split.md
d76cad3ff Release 0.79.0
f5ccfbe98 releaser: Add release notes to /docs for release of 0.79.0
ebf1b87b0 Merge commit '9f1265fde4b9ef186148337c99f08601633b6056'
1f1e8f39c Allow setting the delimiter used for setting config via OS env, e.g. HUGO_
e9b1414dd deps: Update to github.com/evanw/esbuild 0.8.11 to 0.8.14
0f76cf66c docs: Regen docshelper
1ada5d47e Add menu params
1c120aef0 Revert "docs: Regenerate docshelper"
7b60b5624 docs: Regenerate docshelper

git-subtree-dir: docs
git-subtree-split: ef9c4913cdcf95d62ec12d872f412f97e55a55ad

4 years agobuild(deps): bump github.com/spf13/afero from 1.4.1 to 1.5.1
Robert-André Mauchin [Mon, 18 Jan 2021 01:35:33 +0000 (02:35 +0100)]
build(deps): bump github.com/spf13/afero from 1.4.1 to 1.5.1

Signed-off-by: Robert-André Mauchin <zebob.m@gmail.com>
4 years agopipes: Add external source map support to js.Build and Babel
Andreas Richter [Mon, 18 Jan 2021 09:38:09 +0000 (04:38 -0500)]
pipes: Add external source map support to js.Build and Babel

Fixes #8132

4 years agotpl: Fix metrics hint tracking
Cameron Moore [Fri, 8 Jan 2021 16:26:35 +0000 (10:26 -0600)]
tpl: Fix metrics hint tracking

When tracking for cache hints, track the same template name as the call
to MeasureSince in Execute.  When referencing a partial "foo", the value
of `n` does not match `templ.Name()` (`partials/foo` versus
`partials/foo.html`).  This was causing hints to go untracked since
there was no existing metric to append the hint to.

Fixes #8125

4 years agotpl: Do not return errors in substr for out-of-bounds cases
Cameron Moore [Sun, 3 Jan 2021 18:01:42 +0000 (12:01 -0600)]
tpl: Do not return errors in substr for out-of-bounds cases

Most other substr implementations don't error out in out-of-bounds cases
but simply return an empty string (or a value that's printed as an empty
string). We'll follow their lead and not exit template execution.  Allow
the user decide what to do with the empty result.

Fixes #8113

4 years agotpl: Add missing test scenario for strings.Substr
Cameron Moore [Sun, 3 Jan 2021 18:00:17 +0000 (12:00 -0600)]
tpl: Add missing test scenario for strings.Substr

4 years agoRun go mod tidy
Bjørn Erik Pedersen [Sun, 3 Jan 2021 17:48:35 +0000 (18:48 +0100)]
Run go mod tidy

4 years agodeps: Update go-org to v1.4.0
Niklas Fasching [Sat, 2 Jan 2021 19:52:37 +0000 (20:52 +0100)]
deps: Update go-org to v1.4.0

- Add support for pretty urls [1]. Rewrite file links:
  1. replace the `.org` extension with `/` (`/foo.org` -> `/foo/`)
  2. prefix unrooted links with `../` as relative links start in the fake
  subdirectory `/foo/` rather than `/`
- Fix case-sensitivity of org drawer `:end:`

[1] https://gohugo.io/content-management/urls/#pretty-urls

4 years agorst: Adjust log level
Bjørn Erik Pedersen [Fri, 1 Jan 2021 10:50:13 +0000 (11:50 +0100)]
rst: Adjust log level

4 years agoreleaser: Prepare repository for 0.81.0-DEV
hugoreleaser [Thu, 31 Dec 2020 13:49:02 +0000 (13:49 +0000)]
releaser: Prepare repository for 0.81.0-DEV

[ci skip]

4 years agoreleaser: Add release notes to /docs for release of 0.80.0 v0.80.0
hugoreleaser [Thu, 31 Dec 2020 13:36:35 +0000 (13:36 +0000)]
releaser: Add release notes to /docs for release of 0.80.0

[ci skip]

4 years agoreleaser: Bump versions for release of 0.80.0
hugoreleaser [Thu, 31 Dec 2020 13:36:35 +0000 (13:36 +0000)]
releaser: Bump versions for release of 0.80.0

[ci skip]

4 years agoUpdate 0.80.0-relnotes.md
Bjørn Erik Pedersen [Thu, 31 Dec 2020 13:25:05 +0000 (14:25 +0100)]
Update 0.80.0-relnotes.md

4 years agoreleaser: Add release notes for 0.80.0
hugoreleaser [Thu, 31 Dec 2020 13:09:24 +0000 (13:09 +0000)]
releaser: Add release notes for 0.80.0

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

4 years agoAllow Dart Sass transformations to be cached on disk
Bjørn Erik Pedersen [Thu, 31 Dec 2020 10:32:20 +0000 (11:32 +0100)]
Allow Dart Sass transformations to be cached on disk

This enbles people to build their sites/themes on servers where the Dart Sass binary is not available.

4 years agodartsass: Dart Sass only supports `expanded` and `compressed`
Bjørn Erik Pedersen [Thu, 31 Dec 2020 10:18:54 +0000 (11:18 +0100)]
dartsass: Dart Sass only supports `expanded` and `compressed`

4 years agodartsass: Add missing OutputStyle option
Bjørn Erik Pedersen [Thu, 31 Dec 2020 09:49:39 +0000 (10:49 +0100)]
dartsass: Add missing OutputStyle option

4 years agoUpdate emoji import paths and version
Cameron Moore [Wed, 30 Dec 2020 20:19:40 +0000 (14:19 -0600)]
Update emoji import paths and version

Since emoji is v2, we must import it with the `/v2` suffix.  Doing so
allows the Go tools to detect the latest release.

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]