Bjørn Erik Pedersen
b4f27ef8e7
deps: Upgrade github.com/evanw/esbuild v0.13.12 => v0.14.2 (note)
...
Note: ESBuild v0.14.0 contains backwards-incompatible changes, see https://github.com/evanw/esbuild/releases/tag/v0.14.0
Fixes #9244
2021-12-04 16:28:50 +01:00
Bjørn Erik Pedersen
3473e31eb1
releaser: Add "note" to Note regexp
2021-12-04 16:27:56 +01:00
dependabot[bot]
fa0da004a9
build(deps): bump github.com/mitchellh/mapstructure from 1.4.2 to 1.4.3
...
Bumps [github.com/mitchellh/mapstructure](https://github.com/mitchellh/mapstructure ) from 1.4.2 to 1.4.3.
- [Release notes](https://github.com/mitchellh/mapstructure/releases )
- [Changelog](https://github.com/mitchellh/mapstructure/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mitchellh/mapstructure/compare/v1.4.2...v1.4.3 )
---
updated-dependencies:
- dependency-name: github.com/mitchellh/mapstructure
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-12-03 18:16:50 +01:00
Bjørn Erik Pedersen
24a893cf83
releaser: Rework and simplify to use GitHub only for release notes
2021-12-03 17:02:20 +01:00
dependabot[bot]
bf1564bd2c
build(deps): bump google.golang.org/api from 0.51.0 to 0.61.0
...
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.51.0 to 0.61.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases )
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md )
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.51.0...v0.61.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/api
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-12-03 17:01:37 +01:00
Paul van Brouwershaven
cd44d409ba
media: Add rss suffix for application/rss+xml
...
Closes #9233
2021-12-03 12:45:49 +01:00
Bjørn Erik Pedersen
9a326d5636
parser: Add a test case in format resolution
...
See #9233
2021-12-03 10:34:34 +01:00
Bjørn Erik Pedersen
b10381fbe0
lazy: Reset error in Reset
...
To prevent sticky errors on server rebuilds.
Fixes #7043
Closes #9194
2021-12-02 18:06:19 +01:00
Paul van Brouwershaven
7993f17d02
Implement XML data support
...
Example:
```
{{ with resources.Get "https://example.com/rss.xml " | transform.Unmarshal }}
{{ range .channel.item }}
<strong>{{ .title | plainify | htmlUnescape }}</strong><br />
<p>{{ .description | plainify | htmlUnescape }}</p>
{{ $link := .link | plainify | htmlUnescape }}
<a href="{{ $link }}">{{ $link }}</a><br />
<hr>
{{ end }}
{{ end }}
```
Closes #4470
2021-12-02 17:30:36 +01:00
Paul van Brouwershaven
0eaaa8fee3
Implement XML data support
...
Example:
```
{{ with resources.Get "https://example.com/rss.xml " | transform.Unmarshal }}
{{ range .channel.item }}
<strong>{{ .title | plainify | htmlUnescape }}</strong><br />
<p>{{ .description | plainify | htmlUnescape }}</p>
{{ $link := .link | plainify | htmlUnescape }}
<a href="{{ $link }}">{{ $link }}</a><br />
<hr>
{{ end }}
{{ end }}
```
Closes #4470
2021-12-02 17:30:36 +01:00
Joe Mooring
58adbeef88
Validate private use language tags
...
Fixes #9119
2021-12-02 16:30:53 +01:00
Bjørn Erik Pedersen
93572e5318
resources: Add timeout to the HTTP request in Get
...
Workaround for https://github.com/golang/go/issues/49366
2021-12-02 16:11:14 +01:00
Bjørn Erik Pedersen
94f149b21e
Add a remote retry for resources.Get
2021-12-02 16:11:14 +01:00
Paul van Brouwershaven
1eb9d34cfd
Make resources.Get use a file cache for remote resources
...
Closes #9228
2021-12-02 12:56:25 +01:00
Paul van Brouwershaven
66753416b5
Make resources.Get use a file cache for remote resources
...
Closes #9228
2021-12-02 12:56:25 +01:00
Joe Mooring
133e4bfbee
Remove empty href element from pagination template
...
Closes #9149
2021-12-02 09:14:30 +01:00
Joe Mooring
f122771fb1
Check for empty deployment targets and matchers
...
Fixes #9220
2021-12-01 10:17:42 +01:00
Joe Mooring
8262b077c6
Improve inline resource examples ( #1587 )
2021-11-30 08:24:56 -08:00
Bjørn Erik Pedersen
08a863e1e8
resources: Adjust the remote Get cache so it does not get evicted on restarts
...
We fill improve this, soon.
2021-11-30 16:54:01 +01:00
Paul van Brouwershaven
8a0fffd56d
Add remote support to resources.Get
...
Closes #5255
Supports #9044
2021-11-30 11:49:51 +01:00
Paul van Brouwershaven
8aa7257f65
Add remote support to resources.Get
...
Closes #5255
Supports #9044
2021-11-30 11:49:51 +01:00
Christian Oliff
2eae7c7ec0
fix disqus example name ( #1588 )
2021-11-30 00:21:29 -08:00
Manny Aparaschivei
a772f48048
Added install instructions for openSUSE Tumbleweed ( #1459 )
2021-11-29 22:45:12 -08:00
Joe Mooring
7ad1c301bc
Remove screen capture from Hosting on GitHub page ( #1586 )
2021-11-29 22:13:42 -08:00
a58541f495
add more details on about gh-pages and baseURL on hosting-on-github.md ( #1346 )
...
* add more details on about gh-pages and baseURL on hosting-on-github.md
* Update content/en/hosting-and-deployment/hosting-on-github.md
Co-authored-by: Shohei Ueda <30958501+peaceiris@users.noreply.github.com >
* Update content/en/hosting-and-deployment/hosting-on-github.md
Co-authored-by: Shohei Ueda <30958501+peaceiris@users.noreply.github.com >
Co-authored-by: Joe Mooring <joe@mooring.com >
Co-authored-by: Shohei Ueda <30958501+peaceiris@users.noreply.github.com >
2021-11-29 22:04:18 -08:00
Joe Mooring
3bd0b46dc5
Update configuration page ( #1585 )
...
Add copyright and languageCode entries.
Fixes #1582
Fixes #1583
2021-11-29 21:17:00 -08:00
Joe Mooring
4cf1f013e9
Update OS functions
...
Corrections and clarifications.
2021-11-27 16:43:58 +01:00
Joe Mooring
2c45a95c28
Remove getting-started/code-toggle/
...
This does not belong in the documentation. Its usage as a shortcode in
this documentation site is self-documented through example.
Fixes #1063
Fixes #1473
2021-11-26 23:15:16 +01:00
Joe Mooring
40fdff5981
Describe artificial language private use subtags ( #1577 )
...
Supports https://github.com/gohugoio/hugo/issues/9119
2021-11-21 09:40:10 -08:00
Joe Mooring
75a823a36a
Add deprecation warning to google_news template
...
Closes #9172
2021-11-21 11:25:17 +01:00
Joe Mooring
91011d210b
Remove google_news from list of internal templates ( #1576 )
...
Supports https://github.com/gohugoio/hugo/issues/9172
2021-11-20 18:32:55 -08:00
Joe Mooring
36c7879e4c
Update the .Unix function
...
- Correct decscription
- Include Milli, Micro, and Nano variants
- Improve examples
2021-11-21 00:34:20 +01:00
Bjørn Erik Pedersen
7310634880
Remove a showcase
...
On request -- because of its age.
2021-11-20 11:30:55 +01:00
Bjørn Erik Pedersen
5e0947c5b5
helpers: Make UniqueStringsReuse allocation free
...
This should be faster for all of our use cases (small string slices), but more important, it makes UniqueStringsReuse allocation free.
```bash
name old time/op new time/op delta
UniqueStrings/Safe-16 776ns ± 0% 305ns ± 0% -60.68% (p=0.029 n=4+4)
UniqueStrings/Reuse_slice-16 621ns ± 3% 174ns ± 0% -72.01% (p=0.029 n=4+4)
UniqueStrings/Reuse_slice_sorted-16 319ns ± 4% 313ns ± 0% -2.01% (p=0.029 n=4+4)
name old alloc/op new alloc/op delta
UniqueStrings/Safe-16 224B ± 0% 128B ± 0% -42.86% (p=0.029 n=4+4)
UniqueStrings/Reuse_slice-16 96.0B ± 0% 0.0B -100.00% (p=0.029 n=4+4)
UniqueStrings/Reuse_slice_sorted-16 24.0B ± 0% 24.0B ± 0% ~ (all equal)
name old allocs/op new allocs/op delta
UniqueStrings/Safe-16 7.00 ± 0% 1.00 ± 0% -85.71% (p=0.029 n=4+4)
UniqueStrings/Reuse_slice-16 6.00 ± 0% 0.00 -100.00% (p=0.029 n=4+4)
UniqueStrings/Reuse_slice_sorted-16 1.00 ± 0% 1.00 ± 0% ~ (all equal)
```
2021-11-17 10:44:03 +01:00
Bjørn Erik Pedersen
818c371a09
Update index.md
2021-11-17 10:41:00 +01:00
Bjørn Erik Pedersen
3136d39d90
netlify: Hugo 0.89.4
2021-11-17 10:36:14 +01:00
Bjørn Erik Pedersen
092bc92783
Merge branch 'tempv0.89.4'
2021-11-17 10:35:49 +01:00
hugoreleaser
0b70b46aad
releaser: Prepare repository for 0.90.0-DEV
...
[ci skip]
2021-11-17 09:05:38 +00:00
hugoreleaser
18e01f105d
releaser: Add release notes to /docs for release of 0.89.4
...
[ci skip]
2021-11-17 08:24:08 +00:00
hugoreleaser
ab01ba6e7e
releaser: Add release notes to /docs for release of 0.89.4
...
[ci skip]
2021-11-17 08:24:08 +00:00
hugoreleaser
cc08c09592
releaser: Bump versions for release of 0.89.4
...
[ci skip]
2021-11-17 08:24:08 +00:00
hugoreleaser
f97da9eca9
releaser: Add release notes for 0.89.4
...
[ci skip]
2021-11-17 08:24:08 +00:00
Bjørn Erik Pedersen
2e70f61fb0
Fix content dir resolution when main project is a Hugo Module
...
Fixes #9177
2021-11-16 20:42:34 +01:00
Joe Mooring
79135281f9
Correct and sort list of target image formats ( #1574 )
2021-11-15 21:48:03 -08:00
Bjørn Erik Pedersen
af4170c7ea
netlify: Hugo 0.89.3
2021-11-15 15:17:20 +01:00
Bjørn Erik Pedersen
7f54442514
Merge branch 'tempv0.89.3'
2021-11-15 15:16:24 +01:00
hugoreleaser
1ed8069a3a
releaser: Prepare repository for 0.90.0-DEV
...
[ci skip]
2021-11-15 12:56:41 +00:00
hugoreleaser
a32e4a6c27
releaser: Add release notes to /docs for release of 0.89.3
...
[ci skip]
2021-11-15 12:17:45 +00:00
hugoreleaser
c88cdb5610
releaser: Add release notes to /docs for release of 0.89.3
...
[ci skip]
2021-11-15 12:17:45 +00:00
hugoreleaser
e1064d2195
releaser: Bump versions for release of 0.89.3
...
[ci skip]
2021-11-15 12:17:45 +00:00