J. Ansorg
e5856e61d8
resources: Support output image format in image operations
...
The image format is defined as the image extension of the known formats,
excluding the dot.
All of 'img.Resize "600x jpeg"', 'img.Resize "600x jpg"',
and 'img.Resize "600x png"' are valid format definitions.
If the target format is defined in the operation definition string,
then the converted image will be stored in this format. Permalinks and
media type are updated correspondingly.
Unknown image extensions in the operation definition have not effect.
See #6298
2019-09-21 16:50:27 +02:00
XhmikosR
34dc06b032
tpl: Add rel="noopener"
for external links
...
This could be a security and performance issue.
See https://developers.google.com/web/tools/lighthouse/audits/noopener
2019-09-21 10:08:47 +02:00
XhmikosR
2b1814ee58
tpl: Remove unneeded space
2019-09-21 10:06:15 +02:00
hugoreleaser
8cb7a0d4db
releaser: Prepare repository for 0.59.0-DEV
...
[ci skip]
2019-09-19 15:36:35 +00:00
hugoreleaser
4aac02d49c
releaser: Add release notes to /docs for release of 0.58.3
...
[ci skip]
2019-09-19 15:28:26 +00:00
hugoreleaser
85376a757b
releaser: Bump versions for release of 0.58.3
...
[ci skip]
2019-09-19 15:28:26 +00:00
hugoreleaser
0fd30f832b
releaser: Add release notes for 0.58.3
...
[ci skip]
2019-09-19 15:28:26 +00:00
Bjørn Erik Pedersen
c262a95a5c
Add some more resource transform tests
...
See #6348
2019-09-19 16:58:14 +02:00
Bjørn Erik Pedersen
6dec671fb9
Fix cache key transformed resources
...
Fixes #6348
2019-09-19 12:36:01 +02:00
Fazal Majid
c0d7188ec8
deploy: Do not compile in Azure on Solaris
...
See #6324
2019-09-13 14:53:36 +02:00
hugoreleaser
13768c3c50
releaser: Prepare repository for 0.59.0-DEV
...
[ci skip]
2019-09-13 08:12:38 +00:00
hugoreleaser
253e5fdc69
releaser: Add release notes to /docs for release of 0.58.2
...
[ci skip]
2019-09-13 08:04:20 +00:00
hugoreleaser
7bc1270ec7
releaser: Bump versions for release of 0.58.2
...
[ci skip]
2019-09-13 08:04:20 +00:00
hugoreleaser
d4c98e5800
releaser: Add release notes for 0.58.2
...
[ci skip]
2019-09-13 08:04:20 +00:00
Bjørn Erik Pedersen
c0d7573677
Fix cache keys for bundled resoures in transform.Unmarshal
...
Fixes #6327
2019-09-12 20:58:06 +02:00
Bjørn Erik Pedersen
fcfa6f33bb
filecache: Ignore "does not exist" errors in prune
...
Fixes #6326
Fixes #5745
2019-09-12 17:37:41 +02:00
hugoreleaser
77b23fe3db
releaser: Prepare repository for 0.59.0-DEV
...
[ci skip]
2019-09-06 09:26:46 +00:00
hugoreleaser
24277b9202
releaser: Add release notes to /docs for release of 0.58.1
...
[ci skip]
2019-09-06 09:18:56 +00:00
hugoreleaser
8bc478d3f7
releaser: Bump versions for release of 0.58.1
...
[ci skip]
2019-09-06 09:18:56 +00:00
hugoreleaser
609a9afbed
releaser: Add release notes for 0.58.1
...
[ci skip]
2019-09-06 09:18:56 +00:00
Bjørn Erik Pedersen
9442937d82
Avoid writing the same processed image to /public twice
...
Fixes #6307
2019-09-06 11:04:57 +02:00
Bjørn Erik Pedersen
901077c036
hugolib: Fix broken bundle live reload logic
...
Fixes #6315
Updates #6308
2019-09-06 11:03:23 +02:00
Bjørn Erik Pedersen
24ad429571
deps: Update github.com/bep/gitmap
...
Fixes #6313
2019-09-06 10:39:21 +02:00
Bjørn Erik Pedersen
3be2c25351
Fix concat with fingerprint regression
...
In Hugo 0.58 we optimized the transformers that only adjusted metadata, e.g. the fingerprint.
This depended on the source readers implementing `io.ReadSeeker`.
The reader produced by `concat` did that, but the implementation was buggy.
This commit fixes that.
Fixes #6309
2019-09-05 19:59:49 +02:00
Vazrupe (HyeonGyu Lee)
5e66094775
tpl: Remove eq argument limitation
...
Fixes #6237
2019-09-05 14:38:47 +02:00
hugoreleaser
f4e1cb8d05
releaser: Prepare repository for 0.59.0-DEV
...
[ci skip]
2019-09-04 15:51:16 +00:00
hugoreleaser
64d8bf1ee9
releaser: Add release notes to /docs for release of 0.58.0
...
[ci skip]
2019-09-04 15:41:58 +00:00
hugoreleaser
10c0baddfa
releaser: Bump versions for release of 0.58.0
...
[ci skip]
2019-09-04 15:41:58 +00:00
Bjørn Erik Pedersen
9d3ae81b91
Release 0.58.0
2019-09-04 17:33:42 +02:00
Bjørn Erik Pedersen
bb894ceaf8
Allow slices in the image Filter funcs, not just varargs
...
[ci skip]
See #6255
2019-09-04 17:24:50 +02:00
Bjørn Erik Pedersen
529c7f1090
Update 0.58.0-relnotes.md
...
[ci skip]
2019-09-04 13:05:50 +02:00
hugoreleaser
57a54d19d5
releaser: Add release notes for 0.58.0
...
Rename to *-ready.md to continue.
[ci skip]
2019-09-04 10:39:05 +00:00
Bjørn Erik Pedersen
dc3f3df29d
hugolib: Adjust Go version specific test
...
See #6304
2019-09-04 09:50:32 +02:00
Bjørn Erik Pedersen
b43130115d
Update to Go 1.13
...
Fixes #6304
2019-09-04 00:54:41 +02:00
Bjørn Erik Pedersen
28501ceb93
hugolib: Remove the old and slow site benchmarks
2019-09-03 21:36:53 +02:00
Bjørn Erik Pedersen
8624b9fe9e
Cache processed images by their source path
...
Fixes #6269
2019-09-03 18:38:57 +02:00
Bjørn Erik Pedersen
018494f363
Remove test artifact
2019-09-03 17:18:18 +02:00
Bjørn Erik Pedersen
43298f028c
Make the "is this a Hugo Module" logic more lenient
...
Now we only try to load modules via Go if there is one or more modules imported in project config.
Fixes #6299
2019-09-03 15:12:33 +02:00
Bjørn Erik Pedersen
1b5c7e327c
hugolib: Add a Sass includePaths test
...
See #6274
2019-09-03 12:25:41 +02:00
Bjørn Erik Pedersen
05d83b6c08
Update to Go 1.11.13 and 1.12.9
...
Fixes #6228
2019-09-03 10:05:17 +02:00
Bjørn Erik Pedersen
4898fb3d64
Make home.Pages work like any other section
...
Fixes #6240
2019-09-02 17:34:02 +02:00
Bjørn Erik Pedersen
45d7988f2d
Add some fingerprint tests
...
Closes #6284
Closes #6280
2019-09-02 17:18:32 +02:00
Bjørn Erik Pedersen
ce47c21a29
resources: Cache Exif data to disk
...
```bash
name old time/op new time/op delta
ImageExif/Cold_cache-4 312µs ±28% 355µs ± 7% ~ (p=0.343 n=4+4)
ImageExif/Cold_cache,_10-4 479µs ± 6% 546µs ± 0% +13.91% (p=0.029 n=4+4)
ImageExif/Warm_cache-4 272µs ± 1% 81µs ± 5% -70.30% (p=0.029 n=4+4)
name old alloc/op new alloc/op delta
ImageExif/Cold_cache-4 151kB ± 0% 161kB ± 0% +6.46% (p=0.029 n=4+4)
ImageExif/Cold_cache,_10-4 179kB ± 0% 189kB ± 0% +5.49% (p=0.029 n=4+4)
ImageExif/Warm_cache-4 151kB ± 0% 13kB ± 0% -91.52% (p=0.029 n=4+4)
name old allocs/op new allocs/op delta
ImageExif/Cold_cache-4 1.03k ± 0% 1.21k ± 0% +17.78% (p=0.029 n=4+4)
ImageExif/Cold_cache,_10-4 1.65k ± 0% 1.83k ± 0% +11.09% (p=0.029 n=4+4)
ImageExif/Warm_cache-4 1.03k ± 0% 0.28k ± 0% -72.40% (p=0.029 n=4+4)
```
Fixes #6291
2019-09-02 16:37:28 +02:00
Bjørn Erik Pedersen
de9cbf6195
Remove metaDataFormat setting
...
Not in use anymore.
2019-09-01 23:48:51 +02:00
Bjørn Erik Pedersen
4f5011692a
resources: Make the Exif benchmark filenames distinct
2019-09-01 22:05:39 +02:00
Bjørn Erik Pedersen
3becba7a98
resources: Add Exif benchmark
...
See #6291
2019-09-01 18:02:49 +02:00
Bjørn Erik Pedersen
20bdc69a47
resources: Remove unused map type
2019-08-31 21:30:13 +02:00
Bjørn Erik Pedersen
28143397d6
Add image.Exif
...
Note that we will probably need to add some metadata cache for this to scale.
Fixes #4600
2019-08-31 19:04:56 +02:00
Niklas Fasching
8a8d4a6d97
deps: Update go-org (fix descriptive lists)
...
</dt> and </dd> closing tags were broken, see
https://github.com/niklasfasching/go-org/pull/9
2019-08-31 15:03:12 +02:00
Jake Jarvis
00297085db
tpl: Migrate last shortcodes (YouTube and Vimeo) to HTTPS embeds
2019-08-30 11:55:55 +02:00