brevno-suite/hugo
5 years agohugolib: Fix ref/relref anhcor handling
Bjørn Erik Pedersen [Wed, 6 Nov 2019 08:20:59 +0000 (09:20 +0100)]
hugolib: Fix ref/relref anhcor handling

Fixes #6481

5 years agodeps: Update to Chroma v0.6.9 for Java lexer fix
Anthony Fok [Tue, 5 Nov 2019 06:34:11 +0000 (23:34 -0700)]
deps: Update to Chroma v0.6.9 for Java lexer fix

Fixes #6476

5 years agotpl/collections: Add some index map test cases
Bjørn Erik Pedersen [Sun, 3 Nov 2019 18:41:29 +0000 (19:41 +0100)]
tpl/collections: Add some index map test cases

See #3974

5 years agohelpers: Use pointer receiver for ContentSpec
Bjørn Erik Pedersen [Mon, 4 Nov 2019 09:57:11 +0000 (10:57 +0100)]
helpers: Use pointer receiver for ContentSpec

5 years agotravis: Allow arm64 to fail
Bjørn Erik Pedersen [Sun, 3 Nov 2019 19:02:58 +0000 (20:02 +0100)]
travis: Allow arm64 to fail

As that is what it does at the moment.

5 years agominifiers: Add a JSON roundtrip test
Bjørn Erik Pedersen [Sun, 3 Nov 2019 10:34:22 +0000 (11:34 +0100)]
minifiers: Add a JSON roundtrip test

See #6472

5 years agoUpdate .travis.yml for arm64 support, etc.
Anthony Fok [Fri, 1 Nov 2019 15:46:54 +0000 (09:46 -0600)]
Update .travis.yml for arm64 support, etc.

- Add arm64 support for Linux thanks to Travis CI’s new feature, see
  https://blog.travis-ci.com/2019-10-07-multi-cpu-architecture-support
- Force GO111MODULE=on
- Cache directories
- Switch to bionic (Ubuntu 18.04) environment
- Use "master" instead of "tip" to match the latest Travis CI docs
- Allow "mage -v check" to fail on non-AMD64 architectures
  because "go test -race ./..." currently fails on arm64 and ppc64le.

5 years agomage: Skip Test386 on non-AMD64 architectures
Anthony Fok [Fri, 1 Nov 2019 00:04:54 +0000 (18:04 -0600)]
mage: Skip Test386 on non-AMD64 architectures

This is to allow "mage check" to run on arm64 on Travis CI.

5 years agoUpdate past go-cmp's checkptr fix
Anthony Fok [Fri, 1 Nov 2019 06:08:50 +0000 (00:08 -0600)]
Update past go-cmp's checkptr fix

To fix our -race test under Go 1.14.

See google/go-cmp#167

5 years agoreleaser: Prepare repository for 0.60.0-DEV
hugoreleaser [Thu, 31 Oct 2019 15:30:12 +0000 (15:30 +0000)]
releaser: Prepare repository for 0.60.0-DEV

[ci skip]

5 years agoreleaser: Add release notes to /docs for release of 0.59.1 v0.59.1
hugoreleaser [Thu, 31 Oct 2019 15:20:53 +0000 (15:20 +0000)]
releaser: Add release notes to /docs for release of 0.59.1

[ci skip]

5 years agoreleaser: Bump versions for release of 0.59.1
hugoreleaser [Thu, 31 Oct 2019 15:20:53 +0000 (15:20 +0000)]
releaser: Bump versions for release of 0.59.1

[ci skip]

5 years agoreleaser: Add release notes for 0.59.1
hugoreleaser [Thu, 31 Oct 2019 15:20:53 +0000 (15:20 +0000)]
releaser: Add release notes for 0.59.1
[ci skip]

5 years agohugofs: Fix crash in multilingual content fs
Bjørn Erik Pedersen [Thu, 31 Oct 2019 10:13:14 +0000 (11:13 +0100)]
hugofs: Fix crash in multilingual content fs

Fixes #6463

5 years agoDockerfile: Switch to mage builds, various optimizations
Jake Jarvis [Wed, 9 Oct 2019 15:27:08 +0000 (11:27 -0400)]
Dockerfile: Switch to mage builds, various optimizations

- Use Alpine for both stages for consistency.
- Switch to mage from go install as dictated in the latest docs.
- Easy switch to building Hugo Extended by directly setting HUGO_BUILD_TAGS flag at image build time: `docker build --build-arg HUGO_BUILD_TAGS=extended .`
- Update to Go 1.13 and Alpine 3.10.
- The only possibly breaking change: Moved the `hugo` binary in the final stage from /hugo to /usr/bin/hugo so one can simply run `hugo` without having to search around for its location.

5 years agoresources/images: Add exception for new test image
Anthony Fok [Sun, 27 Oct 2019 12:39:18 +0000 (06:39 -0600)]
resources/images: Add exception for new test image

in TestImageOperationsGolden due to "fused multiply and add" (FMA)
instruction on s390x, ppc64* and arm64.

See #6439

5 years agoAdjust benchmark templates
Bjørn Erik Pedersen [Mon, 28 Oct 2019 09:52:47 +0000 (10:52 +0100)]
Adjust benchmark templates

5 years agodeps: Update to Chroma v0.6.8 to fix a crash
Bjørn Erik Pedersen [Wed, 23 Oct 2019 20:04:52 +0000 (22:04 +0200)]
deps: Update to Chroma v0.6.8 to fix a crash

Also improve relevant logging.

Fixes #6450

5 years agodeps: Update quicktest
Bjørn Erik Pedersen [Wed, 23 Oct 2019 06:57:09 +0000 (08:57 +0200)]
deps: Update quicktest

5 years agoDo not attempt to build if there is no config file
Nick Krichevsky [Tue, 15 Oct 2019 03:34:56 +0000 (23:34 -0400)]
Do not attempt to build if there is no config file

Fixes #5896

5 years agoreleaser: Prepare repository for 0.60.0-DEV
hugoreleaser [Mon, 21 Oct 2019 09:47:26 +0000 (09:47 +0000)]
releaser: Prepare repository for 0.60.0-DEV

[ci skip]

5 years agoreleaser: Add release notes to /docs for release of 0.59.0 v0.59.0
hugoreleaser [Mon, 21 Oct 2019 09:38:50 +0000 (09:38 +0000)]
releaser: Add release notes to /docs for release of 0.59.0

[ci skip]

5 years agoreleaser: Bump versions for release of 0.59.0
hugoreleaser [Mon, 21 Oct 2019 09:38:50 +0000 (09:38 +0000)]
releaser: Bump versions for release of 0.59.0

[ci skip]

5 years agoRelease 0.59.0
Bjørn Erik Pedersen [Mon, 21 Oct 2019 09:33:11 +0000 (11:33 +0200)]
Release 0.59.0

5 years agoreleaser: Add release notes for 0.59.0
hugoreleaser [Mon, 21 Oct 2019 09:17:53 +0000 (09:17 +0000)]
releaser: Add release notes for 0.59.0

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

5 years agoMerge commit '5ac0f751aa47e52625662215f66efa99a6abfc2e'
Bjørn Erik Pedersen [Mon, 21 Oct 2019 08:52:23 +0000 (10:52 +0200)]
Merge commit '5ac0f751aa47e52625662215f66efa99a6abfc2e'

5 years agoSquashed 'docs/' changes from 0584815c8..723da4a37
Bjørn Erik Pedersen [Mon, 21 Oct 2019 08:52:23 +0000 (10:52 +0200)]
Squashed 'docs/' changes from 0584815c8..723da4a37

723da4a37 Vendor the theme

git-subtree-dir: docs
git-subtree-split: 723da4a3769ee8a6c02758b553618143f92fccef

5 years agoMerge commit '5070ba6c9e6c492deade3c30cfe769b9dbf7151d'
Bjørn Erik Pedersen [Mon, 21 Oct 2019 08:49:16 +0000 (10:49 +0200)]
Merge commit '5070ba6c9e6c492deade3c30cfe769b9dbf7151d'

5 years agoSquashed 'docs/' changes from fdea5430f..0584815c8
Bjørn Erik Pedersen [Mon, 21 Oct 2019 08:49:16 +0000 (10:49 +0200)]
Squashed 'docs/' changes from fdea5430f..0584815c8

0584815c8 Add a page about Pages methods (Next, Prev)
653dc8db5 Add note about default bgColor

git-subtree-dir: docs
git-subtree-split: 0584815c8a9ef49c9682b6468a9f2a1e9f05be46

5 years agoMerge commit 'b9bd35d72e14932fb6588ff62b90cddef0a060fc' as 'docs'
Bjørn Erik Pedersen [Mon, 21 Oct 2019 08:22:28 +0000 (10:22 +0200)]
Merge commit 'b9bd35d72e14932fb6588ff62b90cddef0a060fc' as 'docs'

5 years agoSquashed 'docs/' content from commit fdea5430f
Bjørn Erik Pedersen [Mon, 21 Oct 2019 08:22:28 +0000 (10:22 +0200)]
Squashed 'docs/' content from commit fdea5430f

git-subtree-dir: docs
git-subtree-split: fdea5430f89dfd849d39212abdf5ace0a4763e5a

5 years agodocs: Replace /docs
Bjørn Erik Pedersen [Mon, 21 Oct 2019 08:21:37 +0000 (10:21 +0200)]
docs: Replace /docs

5 years agocache/filecache: Recover from file corruption
Bjørn Erik Pedersen [Mon, 21 Oct 2019 07:37:46 +0000 (09:37 +0200)]
cache/filecache: Recover from file corruption

Fixes #6401

5 years agoresources/images: Allow to set background fill colour
Bjørn Erik Pedersen [Sun, 20 Oct 2019 08:39:00 +0000 (10:39 +0200)]
resources/images: Allow to set background fill colour

Closes #6298

5 years agomedia: Add common video media types
Nicolas Martignoni [Wed, 16 Oct 2019 13:10:32 +0000 (15:10 +0200)]
media: Add common video media types

- See https://discourse.gohugo.io/t/resources-bytype-for-video-files/21285

5 years agoexamples: Replace .RSSLink
Bjørn Erik Pedersen [Mon, 14 Oct 2019 07:30:09 +0000 (09:30 +0200)]
examples: Replace .RSSLink

Fixes #6037

5 years agoresources/page: Use binary search in Pages.Prev/Next if possible
Bjørn Erik Pedersen [Fri, 11 Oct 2019 11:55:46 +0000 (13:55 +0200)]
resources/page: Use binary search in Pages.Prev/Next if possible

This is obviously much faster for lager data sets:

```bash
name                         old time/op    new time/op    delta
SearchPage/ByWeight-100-4       267ns ± 4%     272ns ± 5%     ~     (p=0.457 n=4+4)
SearchPage/ByWeight-5000-4     10.8µs ± 3%     1.2µs ± 2%  -88.99%  (p=0.029 n=4+4)
SearchPage/ByWeight-10000-4    21.1µs ± 1%     1.4µs ±11%  -93.28%  (p=0.029 n=4+4)
```

See #4500

5 years agoMake Pages.Prev/Next work like the other Prev/Next methods
Bjørn Erik Pedersen [Fri, 11 Oct 2019 09:09:43 +0000 (11:09 +0200)]
Make Pages.Prev/Next work like the other Prev/Next methods

Fixes #4500

5 years agotpl: Add optional "title" attribute to iframe in Vimeo shortcode
Zach Bayoff [Sat, 12 Oct 2019 16:10:14 +0000 (12:10 -0400)]
tpl: Add optional "title" attribute to iframe in Vimeo shortcode

Add an optional "title" attribute to the iframe in the vimeo shortcode. If one is not given, the title attribute will default to "vimeo video". It is imperative for iframes to have a non-empty "title" attribute in order to meet WCAG2.0 accessibility guidelines https://www.w3.org/TR/WCAG20-TECHS/H64.

5 years agotpl: Modify error messages of after, first, and last
Baibhav Vatsa [Fri, 11 Oct 2019 18:51:24 +0000 (13:51 -0500)]
tpl: Modify error messages of after, first, and last

Modified the messages functions after, first, and last threw on being passed invalid parameters (index or limit) to be more standardised and resemble what Go compiler would throw.

Fixes #6415

5 years agotpl: Last now accepts 0 as limit
Baibhav Vatsa [Fri, 11 Oct 2019 18:15:39 +0000 (13:15 -0500)]
tpl: Last now accepts 0 as limit

Modified the if conditional because of which last threw an error if 0 was passed as limit. The function now returns an empty slice if it is called with 0 as limit. The behavior of first and last is now the same when 0 is passed as limit. Also added tests to test the new behavior.

Fixes #6419

5 years agoUpdate feature_request.md
Bjørn Erik Pedersen [Fri, 11 Oct 2019 14:43:00 +0000 (16:43 +0200)]
Update feature_request.md

5 years agocommon: Fix elements are doubling when append a not assignable type
Vazrupe (HyeonGyu Lee) [Wed, 9 Oct 2019 09:36:25 +0000 (18:36 +0900)]
common: Fix elements are doubling when append a not assignable type

Fixes #6188

5 years agotpl: After now accepts 0 as index
Baibhav Vatsa [Fri, 11 Oct 2019 01:16:15 +0000 (20:16 -0500)]
tpl: After now accepts 0 as index

Modified the if conditional because of which after threw an error if called with 0 as index. The function now returns the whole original slice if 0 is passed as an index. Also added tests to test the new behavior.

Fixes #6388

5 years agohelpers: Fix data race in global logger init
Bjørn Erik Pedersen [Thu, 10 Oct 2019 12:14:55 +0000 (14:14 +0200)]
helpers: Fix data race in global logger init

Fixes #6409

5 years agotpl: Make getJSON/getCVS accept non-string args
Bjørn Erik Pedersen [Thu, 10 Oct 2019 08:18:30 +0000 (10:18 +0200)]
tpl: Make getJSON/getCVS accept non-string args

This broke for the Twitter simple shortcode now that Shortcodes accepts typed arguments.

Fixes #6382

5 years agoUpdate to Go 1.12.10 and 1.13.1
Bjørn Erik Pedersen [Wed, 9 Oct 2019 17:57:05 +0000 (19:57 +0200)]
Update to Go 1.12.10 and 1.13.1

Fixes #6406

5 years agoSimplify test output to simplify diffing
Bjørn Erik Pedersen [Wed, 9 Oct 2019 08:49:52 +0000 (10:49 +0200)]
Simplify test output to simplify diffing

5 years agohugofs: Add FileMeta.String
Bjørn Erik Pedersen [Wed, 9 Oct 2019 08:30:09 +0000 (10:30 +0200)]
hugofs: Add FileMeta.String

To make the page listing easier to compare.

5 years agodeps: Update minify to v2.5.2
Anthony Fok [Wed, 9 Oct 2019 05:46:04 +0000 (23:46 -0600)]
deps: Update minify to v2.5.2

- v2.5.1 removes import comments, solving a build error with Go 1.13
  in GOPATH mode (used Debian packaging for example)
- v2.5.2 no longer converts polyline/rect/polygon/line to path
  as it has been reported to break a SVG referenced by CSS,
  see tdewolff/minify#260

The test case for Min SVG in TestResourceChains is updated accordingly.

Fixes pocc/tshark.dev#33

5 years agoresources: Fix image test error on s390x, ppc64* and arm64
Anthony Fok [Mon, 7 Oct 2019 18:35:00 +0000 (12:35 -0600)]
resources: Fix image test error on s390x, ppc64* and arm64

In TestImageOperationsGolden, tolerate slight floating-point rounding
differences due to the use or non-use of "fused multiply and add" (FMA)
instruction on different architectures.

Special thanks to @disintegration for the solution in goldenEqual();
see https://github.com/disintegration/gift/issues/20

Fixes #6387

5 years agoAdd BaseFs to RenderingContext
Niklas Fasching [Thu, 3 Oct 2019 21:27:51 +0000 (23:27 +0200)]
Add BaseFs to RenderingContext

The org mode renderer supports including other files [1]. We don't want to
allow reading of arbitrary files (go-org defaults to ioutil.ReadFile [2]) but want
to make use of the FileSystem abstractions hugo provides. For starters we will
allow reading from the content directory only

[1]: e.g. `#+INCLUDE: ./foo.py src python` includes `foo.py` as a python source
block.

5 years agodeps: Update go-org
Niklas Fasching [Tue, 1 Oct 2019 21:37:47 +0000 (23:37 +0200)]
deps: Update go-org

- add support for latex fragments
- allow customization of ReadFile method for includes (#+INCLUDE: ...)

5 years agomedia: Use + to create the Type string
Bjørn Erik Pedersen [Sun, 6 Oct 2019 19:22:10 +0000 (21:22 +0200)]
media: Use + to create the Type string

5 years agodeps: Upgrade to latest version of emoji dependency
Jamie Tanna [Sat, 5 Oct 2019 18:08:45 +0000 (19:08 +0100)]
deps: Upgrade to latest version of emoji dependency

To add support for new emojis in Hugo, we need to upgrade our internal
dependency on the emoji package.

Note that we also need to update our tests, as the underlying emoji that
is rendered has changed.

Follow-up to #6391. (170f18d9352d39213170dd9d5e947eb45854c84b and
2df5d202c6fc6eb18ee0b259c3dd1156094947c5)

5 years agoRevert "deps: Upgrade to latest version of emoji dependency"
Bjørn Erik Pedersen [Sat, 5 Oct 2019 17:25:25 +0000 (19:25 +0200)]
Revert "deps: Upgrade to latest version of emoji dependency"

This reverts commit 170f18d9352d39213170dd9d5e947eb45854c84b.

5 years agodeps: Upgrade to latest version of emoji dependency
Jamie Tanna [Sat, 5 Oct 2019 16:27:32 +0000 (17:27 +0100)]
deps: Upgrade to latest version of emoji dependency

To add support for new emojis in Hugo, we need to upgrade our internal
dependency on the emoji package.

5 years agoreadme: Update Architectures
Bjørn Erik Pedersen [Fri, 4 Oct 2019 18:55:10 +0000 (20:55 +0200)]
readme: Update Architectures

5 years agodeploy: Add ability to invalidate Google Cloud CDN
Garret Kelly [Thu, 3 Oct 2019 12:46:27 +0000 (08:46 -0400)]
deploy: Add ability to invalidate Google Cloud CDN

5 years agoresources: Ensure same dirinfos sort order in TestImageOperationsGolden
Anthony Fok [Thu, 3 Oct 2019 05:40:22 +0000 (23:40 -0600)]
resources: Ensure same dirinfos sort order in TestImageOperationsGolden

Fix filename mismatch errors on Debian auto-building machines
possibly due to different directory order on ext4 vs tmpfs file systems.

5 years agoUpdate bug_report.md
Bjørn Erik Pedersen [Mon, 30 Sep 2019 18:09:49 +0000 (20:09 +0200)]
Update bug_report.md

5 years agoSupport typed bool, int and float in shortcode params
Bjørn Erik Pedersen [Sun, 29 Sep 2019 12:51:51 +0000 (14:51 +0200)]
Support typed bool, int and float in shortcode params

This means that you now can do:

    {{< vidur 9KvBeKu false true 32 3.14 >}}

And the boolean and numeric values will be converted to `bool`, `int` and `float64`.

If you want these to be  strings, they must be quoted:

    {{< vidur 9KvBeKu "false" "true" "32" "3.14" >}}

Fixes #6371

5 years agodeps: Update Chroma
Bjørn Erik Pedersen [Wed, 25 Sep 2019 06:42:15 +0000 (08:42 +0200)]
deps: Update Chroma

Closes #6279

5 years agogithub: Add issue templates and action
Brian MacKinney [Wed, 25 Sep 2019 06:40:04 +0000 (23:40 -0700)]
github: Add issue templates and action

5 years agoresources: Support output image format in image operations
J. Ansorg [Sat, 21 Sep 2019 14:50:27 +0000 (16:50 +0200)]
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

5 years agotpl: Add `rel="noopener"` for external links
XhmikosR [Sat, 21 Sep 2019 08:08:47 +0000 (11:08 +0300)]
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

5 years agotpl: Remove unneeded space
XhmikosR [Sat, 21 Sep 2019 08:06:15 +0000 (11:06 +0300)]
tpl: Remove unneeded space

5 years agoreleaser: Prepare repository for 0.59.0-DEV
hugoreleaser [Thu, 19 Sep 2019 15:36:35 +0000 (15:36 +0000)]
releaser: Prepare repository for 0.59.0-DEV

[ci skip]

5 years agoreleaser: Add release notes to /docs for release of 0.58.3 v0.58.3
hugoreleaser [Thu, 19 Sep 2019 15:28:26 +0000 (15:28 +0000)]
releaser: Add release notes to /docs for release of 0.58.3

[ci skip]

5 years agoreleaser: Bump versions for release of 0.58.3
hugoreleaser [Thu, 19 Sep 2019 15:28:26 +0000 (15:28 +0000)]
releaser: Bump versions for release of 0.58.3

[ci skip]

5 years agoreleaser: Add release notes for 0.58.3
hugoreleaser [Thu, 19 Sep 2019 15:28:26 +0000 (15:28 +0000)]
releaser: Add release notes for 0.58.3
[ci skip]

5 years agoAdd some more resource transform tests
Bjørn Erik Pedersen [Thu, 19 Sep 2019 14:58:14 +0000 (16:58 +0200)]
Add some more resource transform tests

See #6348

5 years agoFix cache key transformed resources
Bjørn Erik Pedersen [Thu, 19 Sep 2019 08:12:29 +0000 (10:12 +0200)]
Fix cache key transformed resources

Fixes #6348

5 years agodeploy: Do not compile in Azure on Solaris
Fazal Majid [Fri, 13 Sep 2019 12:53:36 +0000 (05:53 -0700)]
deploy: Do not compile in Azure on Solaris

See #6324

5 years agoreleaser: Prepare repository for 0.59.0-DEV
hugoreleaser [Fri, 13 Sep 2019 08:12:38 +0000 (08:12 +0000)]
releaser: Prepare repository for 0.59.0-DEV

[ci skip]

5 years agoreleaser: Add release notes to /docs for release of 0.58.2 v0.58.2
hugoreleaser [Fri, 13 Sep 2019 08:04:20 +0000 (08:04 +0000)]
releaser: Add release notes to /docs for release of 0.58.2

[ci skip]

5 years agoreleaser: Bump versions for release of 0.58.2
hugoreleaser [Fri, 13 Sep 2019 08:04:20 +0000 (08:04 +0000)]
releaser: Bump versions for release of 0.58.2

[ci skip]

5 years agoreleaser: Add release notes for 0.58.2
hugoreleaser [Fri, 13 Sep 2019 08:04:20 +0000 (08:04 +0000)]
releaser: Add release notes for 0.58.2
[ci skip]

5 years agoFix cache keys for bundled resoures in transform.Unmarshal
Bjørn Erik Pedersen [Thu, 12 Sep 2019 17:53:31 +0000 (19:53 +0200)]
Fix cache keys for bundled resoures in transform.Unmarshal

Fixes #6327

5 years agofilecache: Ignore "does not exist" errors in prune
Bjørn Erik Pedersen [Thu, 12 Sep 2019 15:24:34 +0000 (17:24 +0200)]
filecache: Ignore "does not exist" errors in prune

Fixes #6326
Fixes #5745

5 years agoreleaser: Prepare repository for 0.59.0-DEV
hugoreleaser [Fri, 6 Sep 2019 09:26:46 +0000 (09:26 +0000)]
releaser: Prepare repository for 0.59.0-DEV

[ci skip]

5 years agoreleaser: Add release notes to /docs for release of 0.58.1 v0.58.1
hugoreleaser [Fri, 6 Sep 2019 09:18:56 +0000 (09:18 +0000)]
releaser: Add release notes to /docs for release of 0.58.1

[ci skip]

5 years agoreleaser: Bump versions for release of 0.58.1
hugoreleaser [Fri, 6 Sep 2019 09:18:56 +0000 (09:18 +0000)]
releaser: Bump versions for release of 0.58.1

[ci skip]

5 years agoreleaser: Add release notes for 0.58.1
hugoreleaser [Fri, 6 Sep 2019 09:18:56 +0000 (09:18 +0000)]
releaser: Add release notes for 0.58.1
[ci skip]

5 years agoAvoid writing the same processed image to /public twice
Bjørn Erik Pedersen [Fri, 6 Sep 2019 07:28:43 +0000 (09:28 +0200)]
Avoid writing the same processed image to /public twice

Fixes #6307

5 years agohugolib: Fix broken bundle live reload logic
Bjørn Erik Pedersen [Fri, 6 Sep 2019 09:03:23 +0000 (11:03 +0200)]
hugolib: Fix broken bundle live reload logic

Fixes #6315
Updates #6308

5 years agodeps: Update github.com/bep/gitmap
Bjørn Erik Pedersen [Fri, 6 Sep 2019 08:39:21 +0000 (10:39 +0200)]
deps: Update github.com/bep/gitmap

Fixes #6313

5 years agoFix concat with fingerprint regression
Bjørn Erik Pedersen [Thu, 5 Sep 2019 16:03:00 +0000 (18:03 +0200)]
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

5 years agotpl: Remove eq argument limitation
Vazrupe (HyeonGyu Lee) [Tue, 3 Sep 2019 12:20:20 +0000 (21:20 +0900)]
tpl: Remove eq argument limitation

Fixes #6237

5 years agoreleaser: Prepare repository for 0.59.0-DEV
hugoreleaser [Wed, 4 Sep 2019 15:51:16 +0000 (15:51 +0000)]
releaser: Prepare repository for 0.59.0-DEV

[ci skip]

5 years agoreleaser: Add release notes to /docs for release of 0.58.0 v0.58.0
hugoreleaser [Wed, 4 Sep 2019 15:41:58 +0000 (15:41 +0000)]
releaser: Add release notes to /docs for release of 0.58.0

[ci skip]

5 years agoreleaser: Bump versions for release of 0.58.0
hugoreleaser [Wed, 4 Sep 2019 15:41:58 +0000 (15:41 +0000)]
releaser: Bump versions for release of 0.58.0

[ci skip]

5 years agoRelease 0.58.0
Bjørn Erik Pedersen [Wed, 4 Sep 2019 15:33:42 +0000 (17:33 +0200)]
Release 0.58.0

5 years agoAllow slices in the image Filter funcs, not just varargs
Bjørn Erik Pedersen [Wed, 4 Sep 2019 12:07:10 +0000 (14:07 +0200)]
Allow slices in the image Filter funcs, not just varargs

[ci skip]

See #6255

5 years agoUpdate 0.58.0-relnotes.md
Bjørn Erik Pedersen [Wed, 4 Sep 2019 11:05:50 +0000 (13:05 +0200)]
Update 0.58.0-relnotes.md

[ci skip]

5 years agoreleaser: Add release notes for 0.58.0
hugoreleaser [Wed, 4 Sep 2019 10:39:05 +0000 (10:39 +0000)]
releaser: Add release notes for 0.58.0

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

5 years agohugolib: Adjust Go version specific test
Bjørn Erik Pedersen [Wed, 4 Sep 2019 07:50:32 +0000 (09:50 +0200)]
hugolib: Adjust Go version specific test

See #6304

5 years agoUpdate to Go 1.13
Bjørn Erik Pedersen [Tue, 3 Sep 2019 22:54:41 +0000 (00:54 +0200)]
Update to Go 1.13

Fixes #6304

5 years agohugolib: Remove the old and slow site benchmarks
Bjørn Erik Pedersen [Tue, 3 Sep 2019 19:36:28 +0000 (21:36 +0200)]
hugolib: Remove the old and slow site benchmarks

5 years agoCache processed images by their source path
Bjørn Erik Pedersen [Tue, 3 Sep 2019 08:36:09 +0000 (10:36 +0200)]
Cache processed images by their source path

Fixes #6269