Patrick Kollitsch
4e0acb89b7
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
2020-12-04 10:04:35 +01:00
Bjørn Erik Pedersen
718e09ed4b
tpl/internal/go_templates: Revert formatting
...
Should make future fork synch easier.
2020-12-03 13:47:43 +01:00
Bjørn Erik Pedersen
d90e37e0c6
all: Format code with gofumpt
...
See https://github.com/mvdan/gofumpt
2020-12-03 13:12:58 +01:00
dependabot[bot]
32471b57bd
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>
2020-12-02 13:04:16 +01:00
Andrew Zenk
4fc918e02c
tpl: Add title parameter to YouTube shortcode
2020-12-02 12:53:53 +01:00
sth
0ad378b09c
Use --baseURL path for live-reload URL
...
Fixes #6595
2020-12-02 12:52:26 +01:00
ivan-meridianbanc-com
aebfe156fb
Fix RelURL and AbsURL when path starts with language
2020-12-02 12:47:01 +01:00
dependabot[bot]
907d9e9268
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>
2020-12-02 12:26:27 +01:00
Cameron Moore
5862fd2a60
tpl: Fix substr when length parameter is zero
...
When length parameter is zero, always return an empty string.
Updates #7993
2020-12-01 23:20:04 +01:00
Cameron Moore
64789fb5dc
tpl: Refactor and fix substr logic
...
Fix miscalculations when start is negative. Results should now match
PHP substr.
Fixes #7993
2020-11-28 11:53:46 +01:00
hugoreleaser
32d4bf68da
releaser: Prepare repository for 0.80.0-DEV
...
[ci skip]
2020-11-27 09:19:04 +00:00
hugoreleaser
1415efdcd8
releaser: Add release notes to /docs for release of 0.79.0
...
[ci skip]
2020-11-27 09:06:36 +00:00
hugoreleaser
4e6bf7907d
releaser: Bump versions for release of 0.79.0
...
[ci skip]
2020-11-27 09:06:36 +00:00
Bjørn Erik Pedersen
50be4370b0
Update 0.79.0-relnotes.md
2020-11-27 09:55:51 +01:00
hugoreleaser
3d2e6a30d4
releaser: Add release notes for 0.79.0
...
Rename to *-ready.md to continue.
[ci skip]
2020-11-27 08:44:33 +00:00
Bjørn Erik Pedersen
4f1e4bb3fe
Merge commit '9f1265fde4b9ef186148337c99f08601633b6056'
2020-11-27 09:30:05 +01:00
Bjørn Erik Pedersen
9f1265fde4
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
2020-11-27 09:26:24 +01:00
Bjørn Erik Pedersen
d162bbd799
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
2020-11-27 09:13:16 +01:00
dependabot[bot]
17e0bbe821
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>
2020-11-26 21:41:21 +01:00
Bjørn Erik Pedersen
e442cf30a2
Fix server rebuild issue with partials referenced from render hooks
...
Fixes #7990
2020-11-26 20:41:54 +01:00
Bjørn Erik Pedersen
7e223b3baa
Allow setting the delimiter used for setting config via OS env, e.g. HUGO_
...
Fixes #7829
2020-11-25 20:34:34 +01:00
Bjørn Erik Pedersen
8a6e706053
deps: Update to github.com/evanw/esbuild 0.8.11 to 0.8.14
...
Closes #7986
2020-11-25 17:39:51 +01:00
Cameron Moore
34061706e6
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
2020-11-25 12:52:33 +01:00
dependabot[bot]
6f7633df7d
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>
2020-11-24 20:20:40 +01:00
Christian Oliff
a546059a9c
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.
2020-11-24 20:20:04 +01:00
dependabot[bot]
b5d906e31e
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>
2020-11-24 14:48:09 +01:00
Bjørn Erik Pedersen
fd70bdafe7
docs: Regen docshelper
2020-11-24 13:49:01 +01:00
David Jones
8f5c9a747f
Add menu params
...
Fixes #7951
2020-11-22 22:09:59 +01:00
SatowTakeshi
e4fcb672ed
resources: Preserve url set in frontmatter without sanitizing
...
related #6007 (already closed)
2020-11-21 23:37:58 +01:00
Bjørn Erik Pedersen
18c13adcd4
watcher: Add file deleted by accident
...
See #7972
2020-11-21 17:21:14 +01:00
Bjørn Erik Pedersen
20a35374a3
Revert "docs: Regenerate docshelper"
...
This reverts commit caf16c2085
.
Closes #7972
2020-11-21 12:48:48 +01:00
Bjørn Erik Pedersen
caf16c2085
docs: Regenerate docshelper
2020-11-20 09:32:16 +01:00
Bjørn Erik Pedersen
b298c06e05
deps: Update to Chroma v0.8.2
...
Closes #7970
2020-11-20 09:30:05 +01:00
dependabot[bot]
55e290af41
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>
2020-11-19 09:51:30 +01:00
dependabot[bot]
506a190a82
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>
2020-11-16 12:33:31 +01:00
dependabot[bot]
fc81de6439
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>
2020-11-16 12:32:33 +01:00
hugoreleaser
fcaa324e3c
releaser: Prepare repository for 0.79.0-DEV
...
[ci skip]
2020-11-13 10:19:23 +00:00
hugoreleaser
959724f0e0
releaser: Add release notes to /docs for release of 0.78.2
...
[ci skip]
2020-11-13 10:07:00 +00:00
hugoreleaser
a3012d85d1
releaser: Bump versions for release of 0.78.2
...
[ci skip]
2020-11-13 10:07:00 +00:00
hugoreleaser
fc7f739275
releaser: Add release notes for 0.78.2
...
[ci skip]
2020-11-13 10:07:00 +00:00
Bjørn Erik Pedersen
78f227b664
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
2020-11-13 08:54:29 +01:00
dependabot[bot]
5e03f644a4
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>
2020-11-12 13:59:18 +01:00
dependabot[bot]
a92ef20ff6
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>
2020-11-11 23:00:27 +01:00
dependabot[bot]
0d54a84406
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>
2020-11-08 12:44:01 +01:00
Mackenzie Morgan
943f3c932f
Update GH docs to say "main" as default branch
2020-11-06 20:57:52 +01:00
AdamKorcz
4f20bf29eb
Updated year in header
2020-11-06 13:19:18 +01:00
AdamKorcz
4c613d5d5d
Added first fuzzer
2020-11-06 13:19:18 +01:00
dependabot[bot]
82a182e52c
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>
2020-11-06 13:18:22 +01:00
dependabot[bot]
dfc662b208
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>
2020-11-06 09:09:13 +01:00
dependabot[bot]
2f0917cc01
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>
2020-11-06 09:01:32 +01:00