hugo-test:release-0.34

Last commit made on 2018-01-22
Get this branch:
git clone -b release-0.34 https://git.launchpad.net/hugo-test

Branch merges

Branch information

Name:
release-0.34
Repository:
lp:hugo-test

Recent commits

87217d1... by hugoreleaser <email address hidden>

releaser: Prepare repository for 0.35-DEV

[ci skip]

ffd7dc3... by hugoreleaser <email address hidden>

releaser: Add release notes to /docs for release of 0.34

[ci skip]

2228d3e... by hugoreleaser <email address hidden>

releaser: Bump versions for release of 0.34

[ci skip]

5903a9c... by Bjørn Erik Pedersen

Release 0.34

4d644c9... by hugoreleaser <email address hidden>

releaser: Add release notes draft for 0.34

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

34a216f... by Bjørn Erik Pedersen

resource: Avoid some strings.ToLower in globbing

See #4301

adee04f... by Bjørn Erik Pedersen

releaser: Fix BuildDate in release binaries

Fixes #4299

9421380... by Bjørn Erik Pedersen

resource: Add Match and GetMatch

These methods takes a glob pattern as argument:

* by default matching from the bundle root
* matching is case insensitive and the separator is Unix style slashes: "/"
* the bundle root does (by default) not start with a leading slash
* if you renames the `Name` for the rsource in front matter (`src=...`), then that is the value used in `Match`.
* double asterisk matches beyond directory borders, so "**.jpg" will match any JPEG image in the bundle

See https://github.com/gobwas/glob

This commit also deprecates `ByPrefix` and `GetByPrefix`.

This should also be more effective, given a fair amount of reuse of the glob patterns:

```bash
BenchmarkResourcesByPrefix-4 300000 4284 ns/op 1130 B/op 7 allocs/op
BenchmarkResourcesMatch-4 300000 5220 ns/op 505 B/op 3 allocs/op
```

Fixes #4301

5d03086... by Bjørn Erik Pedersen

hugolib: Fix handling of pages bundled in sub-folders in ByPrefix etc.

Fixes #4295

07700aa... by Bjørn Erik Pedersen

output: Add some more layout docshelper variants