Bjørn Erik Pedersen
669ada4367
resource: Move resource processors into sub-packages
2019-01-02 14:25:37 +01:00
Marc Robinson
507451229c
Update _index.md
...
Corrects misspelling of sync (synch)
2019-01-02 09:58:39 +01:00
Bjørn Erik Pedersen
40ffb0484b
hugolib: Restore 0.48 slash handling in taxonomies
...
Fixes #5571
2018-12-30 18:50:09 +01:00
Bjørn Erik Pedersen
4bae8b04aa
Revert " Fix handling of taxonomy terms containing slashes"
...
See #4090
See #5571
This reverts commit fff132537b
.
2018-12-30 18:50:09 +01:00
Bjørn Erik Pedersen
0584432b07
Update go.sum
2018-12-30 17:07:31 +01:00
Bjørn Erik Pedersen
65fa069271
Revert "hugolib: Restore taxonomy term path separation"
...
See #5571
This reverts commit 9ce0a1fb70
.
2018-12-29 10:00:17 +01:00
Cameron Moore
9e4f9e0bb6
tpl: Fix reflect
...
Fixes #5564
2018-12-28 10:41:46 +01:00
Bjørn Erik Pedersen
3f3187de0f
cache/namedmemcache: Fix data race
2018-12-27 12:05:42 +01:00
Bjørn Erik Pedersen
cc351958e1
Update Chroma
...
Fixes #4993
2018-12-27 10:58:34 +01:00
Bjørn Erik Pedersen
c24f3ae22b
Make docshelper run again
...
Fixes #5568
2018-12-27 10:08:44 +01:00
Bjørn Erik Pedersen
214e9745b6
releaser: Use Git short commit in release binaries
...
Fixes #5562
2018-12-26 11:31:58 +01:00
Bjørn Erik Pedersen
ecc8922752
releaser: Bump Goreleaser version
2018-12-26 11:30:05 +01:00
Bjørn Erik Pedersen
22afe28047
Merge commit '978856e2ad12d2bcaf37bb9e31f806b30a4c42f4'
2018-12-26 10:27:54 +01:00
Bjørn Erik Pedersen
978856e2ad
Squashed 'docs/' changes from bd91d1cfd..785e375f5
...
785e375f5 Change 'my-another-post' to 'my-other-post'
ba9a69d25 Update reflect.IsSlice.md
806344258 Update reflect.IsMap.md
757c0dafa Update index.md
d3f20a2d5 Update index.md
9952e72a0 Formatting
70458ccf2 Formatting
7e0dd3969 Merge branch 'config-dir'
06a5c11fc Release 0.53
01c00229f releaser: Prepare repository for 0.54-DEV
29b223f78 releaser: Add release notes to /docs for release of 0.53
4f61d1194 releaser: Bump versions for release of 0.53
320a0ac68 Refactor config below /config
ec16b611e docs: Adjust CSV example
cecf97dfc Rename CSV option from comma to delimiter
18d06df58 docs: Document transform.Unmarshal
fdace78b5 docs: Regenerate CLI docs
b8f84ac59 hugolib: Add .Name as a shortcode variable
6612dd1b8 Merge commit '5a83bf314f4c0ce1d61341e0a1df21c9998e8154'
9b211089f docs: Regenerate CLI docs
9af46af3c Merge commit 'eb16165694f868d73e57b6aed5c26ba5e98229de'
12f46f356 tpl: Add reflect namespace
git-subtree-dir: docs
git-subtree-split: 785e375f577394c6f782ef51796e2efe88d52cbb
2018-12-26 10:27:12 +01:00
hugoreleaser
8431871201
releaser: Prepare repository for 0.54-DEV
...
[ci skip]
2018-12-24 08:26:54 +00:00
hugoreleaser
8fc339dc25
releaser: Add release notes to /docs for release of 0.53
...
[ci skip]
2018-12-24 08:24:42 +00:00
hugoreleaser
5236cb8e9a
releaser: Bump versions for release of 0.53
...
[ci skip]
2018-12-24 08:24:42 +00:00
Bjørn Erik Pedersen
a28865cfc3
release: Fix goreleaser config
2018-12-24 09:20:09 +01:00
hugoreleaser
cb6c77b813
Release 0.53
2018-12-24 09:05:26 +01:00
Bjørn Erik Pedersen
be58c7b9c8
tpl/transform: Include options in cache key
...
See #5555
2018-12-23 21:34:17 +01:00
Bjørn Erik Pedersen
62d031aedf
docs: Adjust CSV example
...
See #5555
2018-12-23 21:12:41 +01:00
Bjørn Erik Pedersen
ce06bdb16a
Rename CSV option from comma to delimiter
...
See #5555
2018-12-23 21:09:09 +01:00
Bjørn Erik Pedersen
2efc1a64c3
docs: Document transform.Unmarshal
...
Fixes #5556
2018-12-23 19:43:17 +01:00
Bjørn Erik Pedersen
25ddbb09fe
hugolib: Adjust test
...
See #5544
2018-12-23 19:42:51 +01:00
Bjørn Erik Pedersen
e691c48a5a
docs: Regenerate CLI docs
...
Fixes #5544
2018-12-23 19:05:40 +01:00
Bjørn Erik Pedersen
094709e105
tpl/transform: Simplify transform.Unmarshal func
...
See #5428
2018-12-23 16:43:04 +01:00
Bjørn Erik Pedersen
a574469797
Add CSV support to transform.Unmarshal
...
Fixes #5555
2018-12-23 16:33:21 +01:00
Bjørn Erik Pedersen
822dc627a1
tpl/transform: Add transform.Unmarshal func
...
Fixes #5428
2018-12-23 10:02:42 +01:00
Bjørn Erik Pedersen
43f9df0194
Prevent resource publishing for transformed inline resources
...
That is, if only `.Content` is accessed.
This means that, for a transformed resource to be published to `/public`, you need to access either `.RelPermalink` or `Permalink`.
Fixes #4944
2018-12-21 13:41:46 +01:00
Bjørn Erik Pedersen
1021714449
hugolib: Add .Name as a shortcode variable
...
Fixes #5546
2018-12-21 09:51:15 +01:00
Bjørn Erik Pedersen
5a83bf314f
Squashed 'docs/' changes from d1cf9adc4..bd91d1cfd
...
bd91d1cfd Fix typo
0d45ea9cf Fix order of arguments in another strings.TrimLeft example
0982f65c1 Fix the order of arguments to strings.TrimRight
f1f9b7cd6 Arguments in example
5d9c7327f Fix shortcode example escape chars
git-subtree-dir: docs
git-subtree-split: bd91d1cfddf87fa693c1e2e7a2de555d2cee19f3
2018-12-21 09:45:41 +01:00
Bjørn Erik Pedersen
6f069e549b
Merge commit '5a83bf314f4c0ce1d61341e0a1df21c9998e8154'
2018-12-21 09:45:41 +01:00
Cameron Moore
0483299bc0
hugolib: Improve logic of output path trimming
...
Fixes #4666
2018-12-21 09:42:37 +01:00
Anthony Fok
27b62a546c
snap: Revert build-snap to 1.11/stable channel for go
...
This is to fix the following snap build error:
Failed to install or refresh a snap: 'go' does not exist
or is not available on the desired channel '1.11.4/stable'.
Use `snap info go` to get a list of channels the snap is available on.
`snap info go` reveals that the '1.11/stable' channel automatically
follows the latest minor point release as it becomes available.
2018-12-20 21:46:47 -07:00
Bjørn Erik Pedersen
35bfca3b14
commands: Remove the benchmark command
...
It's not particulary useful, and when we start to get bug reports about it, it is easier to remove it.
Closes #5543
2018-12-20 20:55:26 +01:00
Bjørn Erik Pedersen
9cd54cab20
Move the emoji parsing to pageparser
...
This avoids double parsing the page content when `enableEmoji=true`.
This commit also adds some general improvements to the parser, making it in general much faster:
```bash
benchmark old ns/op new ns/op delta
BenchmarkShortcodeLexer-4 90258 101730 +12.71%
BenchmarkParse-4 148940 15037 -89.90%
benchmark old allocs new allocs delta
BenchmarkShortcodeLexer-4 456 700 +53.51%
BenchmarkParse-4 28 33 +17.86%
benchmark old bytes new bytes delta
BenchmarkShortcodeLexer-4 69875 81014 +15.94%
BenchmarkParse-4 8128 8304 +2.17%
```
Running some site benchmarks with Emoji support turned on:
```bash
benchmark old ns/op new ns/op delta
BenchmarkSiteBuilding/TOML,num_langs=3,num_pages=5000,tags_per_page=5,shortcodes,render-4 924556797 818115620 -11.51%
benchmark old allocs new allocs delta
BenchmarkSiteBuilding/TOML,num_langs=3,num_pages=5000,tags_per_page=5,shortcodes,render-4 4112613 4133787 +0.51%
benchmark old bytes new bytes delta
BenchmarkSiteBuilding/TOML,num_langs=3,num_pages=5000,tags_per_page=5,shortcodes,render-4 426982864 424363832 -0.61%
```
Fixes #5534
2018-12-20 20:08:01 +01:00
Bjørn Erik Pedersen
a8853f1c5a
parser/pageparser: Split the page lexer into some more files
...
See #5534
2018-12-20 20:08:01 +01:00
Bjørn Erik Pedersen
4d93aca27d
hugolib: Enable Emoji in site benchmark
2018-12-20 17:24:51 +01:00
Bjørn Erik Pedersen
f2167de834
parser/pageparser: Add a benchmark
2018-12-19 20:08:22 +01:00
Bjørn Erik Pedersen
64b6b29075
tpl: Fix case handling in cast params
...
Fixes #5538
2018-12-19 13:19:22 +01:00
Bjørn Erik Pedersen
bb9c2988f8
Update to Go 1.11.4
...
Fixes #5524
2018-12-19 11:48:17 +01:00
Bjørn Erik Pedersen
c04030b14c
releaser: Get ldflags for build date etc. in line for all builds
...
Closes #5539
Closes ##5388
2018-12-19 10:01:26 +01:00
Bjørn Erik Pedersen
f7691fe965
transform/urlreplacers: Simplify implementation
2018-12-17 19:17:56 +01:00
Bjørn Erik Pedersen
efe0b4e5c0
transform/urlreplacers: Support unquoted URLs in canonifyURLs replacer
...
Fixes #5529
2018-12-17 19:17:56 +01:00
Bjørn Erik Pedersen
d5a0b6bbbc
hugolib: Remove "double layout" lookup
...
Fixes #5390
2018-12-17 11:34:32 +01:00
Bjørn Erik Pedersen
5178cd13a7
Fix "failed to create file caches from configuration: file exists" on Windows
...
Fixes #5497
2018-12-17 10:36:52 +01:00
Bjørn Erik Pedersen
9ce0a1fb70
hugolib: Restore taxonomy term path separation
...
Fixes #5513
2018-12-14 10:29:32 +01:00
Jean-François YUEN
ab9214768d
importer: fix jekyll import highlight options
2018-12-12 19:12:12 +01:00
Bjørn Erik Pedersen
5068681707
docs: Regenerate CLI docs
...
Fixes #5507
2018-12-12 09:09:45 +01:00
Bjørn Erik Pedersen
b17a61a605
Merge commit 'eb16165694f868d73e57b6aed5c26ba5e98229de'
2018-12-12 09:06:42 +01:00