Commit Graph
10191 Commits
Author SHA1 Message Date
Bjørn Erik Pedersen 5571673f08 Migrate from analytics.js to gtag.js
We should move this to the internal Hugo template when tested.
2018-02-19 09:26:13 +01:00
Curtis Timson c7eacf018d Fix typos in development contribution doc 2018-02-18 20:47:18 +01:00
Curtis Timson 244deafc2b Fix typos in development contribution doc 2018-02-18 20:47:18 +01:00
Curtis Timson faa3159e5e Fix typos in development contribution doc 2018-02-18 20:47:18 +01:00
Bjørn Erik Pedersen 64a29b6cbc Update faq.md 2018-02-18 00:53:28 +01:00
Hugo Locurcio 84704aa84b Use GOPATH variable if defined in installation from source
This makes the command work on systems with a custom GOPATH environment
variable set. If not defined, it will fallback to `$HOME/.go`.
2018-02-17 19:11:20 +01:00
Bjørn Erik Pedersen 5f70e6ee2c Remove disableRSS etc. from the documentation
They was deprecated and then removed.

Fixes https://github.com/gohugoio/hugo/issues/4419
2018-02-17 13:40:37 +01:00
Bjørn Erik Pedersen eaf573a277 Update dependencies
Closes #4418
2018-02-17 10:46:38 +01:00
Bjørn Erik Pedersen 3ced6f8d47 magefile: Disable Go 1.10 gofmt check for now 2018-02-17 01:24:07 +01:00
Bjørn Erik Pedersen a3f26e5636 Second try: Update to Go 1.10 (!) 2018-02-17 00:35:22 +01:00
Bjørn Erik Pedersen 0c452c6e7d Revert "Update to Go 1.10 (!)"
This reverts commit ff10c15a93.
2018-02-16 23:42:42 +01:00
Bjørn Erik Pedersen ff10c15a93 Update to Go 1.10 (!)
See https://blog.golang.org/go1.10
2018-02-16 23:29:51 +01:00
Bjørn Erik Pedersen 4945e7937c Remove superflous asterisks 2018-02-16 14:04:11 +01:00
Bjørn Erik Pedersen 39f6c9c28c showcase: Add 1password.com 2018-02-16 11:27:15 +01:00
Bjørn Erik Pedersen fe0f82610f Add GitLab warning
See #358
2018-02-15 19:23:27 +01:00
maiki 9f26f21d28 Fix URL typo
Remove extra word in URL, as pointed at at https://discourse.gohugo.io/t/typo-in-docs/10558?u=maiki.
2018-02-15 11:08:44 -05:00
Bjørn Erik Pedersen 83a91fc998 Remove duplicate release notes
Gotta fix that merge logic.
2018-02-15 10:33:04 +01:00
Bjørn Erik Pedersen 133cdd3132 Release 0.36.1 2018-02-15 10:27:01 +01:00
Bjørn Erik Pedersen fbe2a2dc73 Clean images 2018-02-15 10:22:12 +01:00
Bjørn Erik Pedersen 1b02f9193e Merge branch 'temp361' 2018-02-15 10:21:57 +01:00
Bjørn Erik Pedersen c430d2d586 Merge branch 'release-0.36.1' 2018-02-15 10:13:09 +01:00
Bjørn Erik Pedersen 608c80f720 Merge branch 'release-0.36.1' 2018-02-15 10:13:09 +01:00
Bjørn Erik Pedersen efd506314a Merge branch 'release-0.36.1' 2018-02-15 10:13:09 +01:00
hugoreleaser dd7370fc4e releaser: Prepare repository for 0.37-DEV
[ci skip]
2018-02-15 09:10:09 +00:00
hugoreleaser 0f8ffbd5c4 releaser: Prepare repository for 0.37-DEV
[ci skip]
2018-02-15 09:10:09 +00:00
hugoreleaser 8de91da74f releaser: Prepare repository for 0.37-DEV
[ci skip]
2018-02-15 09:10:09 +00:00
hugoreleaser 72534f9ec6 releaser: Add release notes to /docs for release of 0.36.1
[ci skip]
2018-02-15 09:07:43 +00:00
hugoreleaser 5028ee849f releaser: Add release notes to /docs for release of 0.36.1
[ci skip]
2018-02-15 09:07:43 +00:00
hugoreleaser 25e88ccabe releaser: Add release notes to /docs for release of 0.36.1
[ci skip]
2018-02-15 09:07:43 +00:00
hugoreleaser 845b2cacb4 releaser: Bump versions for release of 0.36.1
[ci skip]
2018-02-15 09:07:43 +00:00
hugoreleaser 9ccc7cb11d releaser: Bump versions for release of 0.36.1
[ci skip]
2018-02-15 09:07:43 +00:00
hugoreleaser 19228ed83c releaser: Bump versions for release of 0.36.1
[ci skip]
2018-02-15 09:07:43 +00:00
Bjørn Erik Pedersen a1f40084f9 Release 0.36.1 2018-02-15 10:03:24 +01:00
hugoreleaser d7bf9d4daa releaser: Add release notes draft for 0.36.1
Rename to *-ready.md to continue. [ci skip]
2018-02-15 08:51:22 +00:00
Bjørn Erik Pedersen 53e661e7c9 releaser: Update to Go 1.9.4 2018-02-15 09:43:03 +01:00
Bjørn Erik Pedersen fc23a80ffd Bump Travis/Snapcraft to Go 1.9.4 2018-02-15 09:43:03 +01:00
Bjørn Erik Pedersen d8fdffb552 resource: Fix multi-threaded image processing issue
When doing something like this with the same image from a partial used in, say, both the home page and the single page:

```bash
{{ with $img }}
{{ $big := .Fill "1024x512 top" }}
{{ $small := $big.Resize "512x" }}
{{ end }}
```

There would be timing issues making Hugo in some cases try to process the same image with the same instructions in parallel.

You would experience errors of type:

```bash
png: invalid format: not enough pixel data
```

This commit works around that by adding a mutex per image. This should also improve the performance, sligthly, as it avoids duplicate work.

The current workaround before this fix is to always operate on the original:

```bash
{{ with $img }}
{{ $big := .Fill "1024x512 top" }}
{{ $small := .Fill "512x256 top" }}
{{ end }}
```

Fixes #4404
2018-02-15 09:41:29 +01:00
Bjørn Erik Pedersen 2851af0225 resource: Improve error processing error message 2018-02-15 09:41:29 +01:00
Bjørn Erik Pedersen 08521dac83 hugolib: Improve error message in .Render 2018-02-15 09:41:29 +01:00
Bjørn Erik Pedersen 58382e9572 resource: Fix multi-threaded image processing issue
When doing something like this with the same image from a partial used in, say, both the home page and the single page:

```bash
{{ with $img }}
{{ $big := .Fill "1024x512 top" }}
{{ $small := $big.Resize "512x" }}
{{ end }}
```

There would be timing issues making Hugo in some cases try to process the same image with the same instructions in parallel.

You would experience errors of type:

```bash
png: invalid format: not enough pixel data
```

This commit works around that by adding a mutex per image. This should also improve the performance, sligthly, as it avoids duplicate work.

The current workaround before this fix is to always operate on the original:

```bash
{{ with $img }}
{{ $big := .Fill "1024x512 top" }}
{{ $small := .Fill "512x256 top" }}
{{ end }}
```

Fixes #4404
2018-02-14 20:59:02 +01:00
budparr 78790fcb18 Add fluid type to showcase details box
The fluid type, which has a safe backup, will help longer titles stay
within the constrained div on a variety of screens
2018-02-14 16:12:33 +01:00
budparr 4ef59e0082 Adjust column widths to handle a wider variety of copy width 2018-02-14 16:12:33 +01:00
Bjørn Erik Pedersen 6d2e68521a Always show the latest showcase item on front page 2018-02-13 15:45:38 +01:00
Bjørn Erik Pedersen 665b1eb5e7 showcase: Shuffle the news items
To give them all some time in the spotlight.
2018-02-13 15:25:42 +01:00
Bjørn Erik Pedersen 5fef1f9b75 Escape quote 2018-02-13 13:51:26 +01:00
Bjørn Erik Pedersen d680f0c165 Add some quotes 2018-02-13 13:51:03 +01:00
Bjørn Erik Pedersen 1722f0d5af showcase: Make the description more about Hugo 2018-02-13 13:48:12 +01:00
Sebastian Schirmer a9d43db0ae Add Quiply Employee Communications App 2018-02-13 13:41:41 +01:00
Sebastian Schirmer 7aaa464ecc Add Quiply Employee Communications App 2018-02-13 13:41:41 +01:00
Bjørn Erik Pedersen 53dac9a506 resource: Improve error processing error message 2018-02-13 09:14:44 +01:00