hugoreleaser
3f0d49e502
releaser: Prepare repository for 0.91.0-DEV
...
[ci skip]
2021-12-10 11:42:18 +00:00
hugoreleaser
4890788974
releaser: Bump versions for release of 0.90.1
...
[ci skip]
2021-12-10 10:56:40 +00:00
hugoreleaser
34a96290fa
releaser: Prepare repository for 0.91.0-DEV
...
[ci skip]
2021-12-08 10:11:31 +00:00
hugoreleaser
dd0d3fdbbe
releaser: Bump versions for release of 0.90.0
...
[ci skip]
2021-12-08 09:33:46 +00:00
Bjørn Erik Pedersen
e71d715b9b
Add custom font support to images.Text
...
Fixes #9253
2021-12-07 16:53:02 +01:00
hugoreleaser
0b70b46aad
releaser: Prepare repository for 0.90.0-DEV
...
[ci skip]
2021-11-17 09:05:38 +00:00
hugoreleaser
cc08c09592
releaser: Bump versions for release of 0.89.4
...
[ci skip]
2021-11-17 08:24:08 +00:00
hugoreleaser
1ed8069a3a
releaser: Prepare repository for 0.90.0-DEV
...
[ci skip]
2021-11-15 12:56:41 +00:00
hugoreleaser
e1064d2195
releaser: Bump versions for release of 0.89.3
...
[ci skip]
2021-11-15 12:17:45 +00:00
hugoreleaser
805c24c32c
releaser: Prepare repository for 0.90.0-DEV
...
[ci skip]
2021-11-08 15:56:14 +00:00
hugoreleaser
eaa6c96a79
releaser: Bump versions for release of 0.89.2
...
[ci skip]
2021-11-08 15:22:23 +00:00
hugoreleaser
9232e28446
releaser: Prepare repository for 0.90.0-DEV
...
[ci skip]
2021-11-05 16:24:06 +00:00
hugoreleaser
84de0c3255
releaser: Bump versions for release of 0.89.1
...
[ci skip]
2021-11-05 15:44:32 +00:00
hugoreleaser
41e9e9fe14
releaser: Prepare repository for 0.90.0-DEV
...
[ci skip]
2021-11-02 10:40:00 +00:00
hugoreleaser
a93d4ba64e
releaser: Bump versions for release of 0.89.0
...
[ci skip]
2021-11-02 10:00:17 +00:00
Bjørn Erik Pedersen
ed6fd26ce8
common/htime: Fix time.Format with Go layouts
...
Fixes #9107
2021-11-01 15:45:59 +01:00
satotake
b959ecbc81
htime: Set zone of datetime from from go-toml
...
`go-toml/v2`'s unmarshaler does not specify zone name even if value has
offset explicitly.
To make time-formatting behaviour consistent, convert them into string
in hugo.
Close #8895
2021-10-25 19:49:44 +02:00
hugoreleaser
3efc2e2af8
releaser: Prepare repository for 0.89.0-DEV
...
[ci skip]
2021-09-04 10:33:09 +00:00
hugoreleaser
bb3254385a
releaser: Bump versions for release of 0.88.1
...
[ci skip]
2021-09-04 09:39:19 +00:00
hugoreleaser
5b59b9c171
releaser: Prepare repository for 0.89.0-DEV
...
[ci skip]
2021-09-02 09:57:36 +00:00
hugoreleaser
6cacfa329c
releaser: Bump versions for release of 0.88.0
...
[ci skip]
2021-09-02 09:27:27 +00:00
Bjørn Erik Pedersen
f4ffeea71d
Fix it so disableKinds etc. does not get merged in from theme
...
Unless the merge strategy is set up to do so.
For `disableKinds` the current workaround is to make sure the project config has an entry, even if is empty:
```
disableKinds = []
```
Note that this issue only touches root, non-map config-values that either is not set in project config or in Hugo's defaults.
Fixes #8866
2021-08-22 13:25:20 +02:00
hugoreleaser
dfe54d3216
releaser: Prepare repository for 0.88.0-DEV
...
[ci skip]
2021-08-03 12:11:56 +00:00
hugoreleaser
2ed7be295c
releaser: Bump versions for release of 0.87.0
...
[ci skip]
2021-08-03 10:57:26 +00:00
Bjørn Erik Pedersen
d70c485707
Make sure module config loading errors have file positioning info
...
Fixes #8845
2021-08-03 09:57:14 +02:00
Bjørn Erik Pedersen
3a96655592
Reduce binary size vs locale, update to CLDR v36.1
...
Test building with `go build -ldflags="-s -w"`
Hugo 0.86.2: 46MB
Before this commit: 77MB
After this commit: 54MB
Fixes #8839
Fixes #8841
2021-08-02 19:40:32 +02:00
Bjørn Erik Pedersen
e3dc5240f0
Improve handling of <nil> Params
...
Fixes #8825
2021-07-30 21:07:52 +02:00
Bjørn Erik Pedersen
7907d24ba1
tpl/lang: Add new localized versions of lang.FormatNumber etc.
...
Fixes #8820
2021-07-29 16:40:06 +02:00
Bjørn Erik Pedersen
b5de37ee79
Handle toml.LocalDate and toml.LocalDateTime in front matter
...
See #8801
2021-07-28 18:02:42 +02:00
Bjørn Erik Pedersen
a3701e0931
Switch to go-toml v2
...
We have been using `go-toml` for language files only. This commit makes it the only TOML library.
It's spec compliant and very fast.
A benchark building a site with 200 pages with TOML front matter:
```bash
name old time/op new time/op delta
SiteNew/Regular_TOML_front_matter-16 48.5ms ± 1% 47.1ms ± 1% -2.85% (p=0.029 n=4+4)
name old alloc/op new alloc/op delta
SiteNew/Regular_TOML_front_matter-16 16.9MB ± 0% 16.7MB ± 0% -1.56% (p=0.029 n=4+4)
name old allocs/op new allocs/op delta
SiteNew/Regular_TOML_front_matter-16 302k ± 0% 296k ± 0% -2.20% (p=0.029 n=4+4)
```
Note that the front matter unmarshaling is only a small part of building a site, so the above is very good.
Fixes #8801
2021-07-28 11:51:13 +02:00
Bjørn Erik Pedersen
a57dda854b
Localize time.Format
...
Fixes #8797
2021-07-27 19:02:48 +02:00
hugoreleaser
11bb67dcfd
releaser: Prepare repository for 0.87.0-DEV
...
[ci skip]
2021-07-21 11:13:04 +00:00
hugoreleaser
d270eaf4fc
releaser: Bump versions for release of 0.86.0
...
[ci skip]
2021-07-21 09:53:11 +00:00
Bjørn Erik Pedersen
022c479551
hugofs: Make FileMeta a struct
...
This commit started out investigating a `concurrent map read write` issue, ending by replacing the map with a struct.
This is easier to reason about, and it's more effective:
```
name old time/op new time/op delta
SiteNew/Regular_Deep_content_tree-16 71.5ms ± 3% 69.4ms ± 5% ~ (p=0.200 n=4+4)
name old alloc/op new alloc/op delta
SiteNew/Regular_Deep_content_tree-16 29.7MB ± 0% 27.9MB ± 0% -5.82% (p=0.029 n=4+4)
name old allocs/op new allocs/op delta
SiteNew/Regular_Deep_content_tree-16 313k ± 0% 303k ± 0% -3.35% (p=0.029 n=4+4)
```
See #8749
2021-07-15 17:14:26 +02:00
hugoreleaser
8ddbc95466
releaser: Prepare repository for 0.86.0-DEV
...
[ci skip]
2021-07-05 11:37:38 +00:00
hugoreleaser
875fe4050c
releaser: Bump versions for release of 0.85.0
...
[ci skip]
2021-07-05 10:46:25 +00:00
Bjørn Erik Pedersen
e31b1d1946
commands: Make the --poll flag a duration
...
So you can do:
```
hugo server --poll 700ms
```
See #8720
2021-07-05 10:23:29 +02:00
hugoreleaser
b4d60b3db1
releaser: Prepare repository for 0.85.0-DEV
...
[ci skip]
2021-07-01 12:59:47 +00:00
hugoreleaser
4c34faf426
releaser: Bump versions for release of 0.84.4
...
[ci skip]
2021-07-01 11:51:53 +00:00
hugoreleaser
bffa2a2a98
releaser: Prepare repository for 0.85.0-DEV
...
[ci skip]
2021-06-29 12:27:15 +00:00
hugoreleaser
bc6f84c581
releaser: Bump versions for release of 0.84.3
...
[ci skip]
2021-06-29 11:40:19 +00:00
hugoreleaser
8290720107
releaser: Prepare repository for 0.85.0-DEV
...
[ci skip]
2021-06-28 11:41:38 +00:00
hugoreleaser
f6b9ce6ebd
releaser: Bump versions for release of 0.84.2
...
[ci skip]
2021-06-28 10:59:18 +00:00
Bjørn Erik Pedersen
19aa95fc7f
Fix config handling with empty config entries after merge
...
Fixes #8701
2021-06-27 15:01:56 +02:00
hugoreleaser
efb6ee6c1c
releaser: Prepare repository for 0.85.0-DEV
...
[ci skip]
2021-06-24 12:33:45 +00:00
hugoreleaser
ff2266300a
releaser: Bump versions for release of 0.84.1
...
[ci skip]
2021-06-24 11:44:21 +00:00
Bjørn Erik Pedersen
4a9d408fe0
config: Fix merge of config with map[string]string values.
...
Fixes #8679
2021-06-22 21:38:28 +02:00
hugoreleaser
3d544c9ae4
releaser: Prepare repository for 0.85.0-DEV
...
[ci skip]
2021-06-18 15:36:43 +00:00
hugoreleaser
9c0860f749
releaser: Bump versions for release of 0.84.0
...
[ci skip]
2021-06-18 14:55:51 +00:00
Bjørn Erik Pedersen
93aad3c543
Split out the puthe path/filepath functions into common/paths
...
So they can be used from the config package without cyclic troubles.
Updates #8654
2021-06-18 10:55:00 +02:00