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
Bjørn Erik Pedersen
eb16165694
Squashed 'docs/' changes from 37095d540..d1cf9adc4
...
d1cf9adc4 Fix typo
26e10a690 Fix the name and arg mismatch between partial defn and call
2db0e53cd Merge commit '9c36cff15224f6cbd19058ad61311229b7a23c83'
9c36cff15 Squashed 'themes/gohugoioTheme/' changes from 68ddff44..b8202f53
4b021eff8 Update lang.Merge.md
b37af2916 Add title to yaml
a9a281233 Fixed incorrect usage of the code-toggle shortcode
4560a0169 Update Warning for Theme Links (#676 )
0305e3c6b Document .File.ContentBaseName
6d30c5aa1 Update configuration.md
158df174a Document .Sites and .Sites.First
0c0f583b8 Add stale config
e2531afd8 Document path template functions
4dd779057 Clarify that partialCached is per site/language
19e5bbe0c Update index.md
44b000857 Add missing dot
a41300cf9 Release 0.52
2d1d92b88 Merge branch 'temp52'
c5925250d releaser: Prepare repository for 0.53-DEV
d000b04a2 releaser: Add release notes to /docs for release of 0.52
4bb983a0a releaser: Bump versions for release of 0.52
36736ca28 tpl: Add "param" shortcode
378677aa6 Add Elasticsearch/bonsai.io to services doc.
4c3fd4fa4 docs: Document inline shortcodes
6c64c374c Whitelist CSS modules from purge
817a872b9 Improve search icon position
cf86ff1c7 Add minification and resource cache clear to build command
fd77e8df3 Update asset dependencies and adopt Hugo Pipes
cdbe97e8c Update render.md
b0e279220 git command to update submodule to latest
a1cb98c12 cache/filecache: Add a :project placeholder
07c1b2b46 cache/filecache: Use time.Duration for maxAge
ffa9b165e Add AND as a title
6e7733b40 Add OR as a sub title to make it easier to find in search
72b6791a1 docs: Document the new file cache
714d3ca91 Fix minification issues
cd1e961da Revert "Add Elasticsearch/bonsai.io to services doc."
15a0cda6e Add Elasticsearch/bonsai.io to services doc.
f931d86de Release 0.51
e2ffe867a Merge branch 'temp51'
423e7f5c8 releaser: Prepare repository for 0.52-DEV
c6f2d6ae1 releaser: Add release notes to /docs for release of 0.51
5bbb556dc releaser: Bump versions for release of 0.51
3b2b172b9 docs: Document shortcode error handling
b8672f3d4 docs: Document symdiff
4bc6071e6 docs: Document complement
d1baab752 docs: Re-generate CLI docs
9ea667e24 Revert "tpl: Update Jsonify to return pretty-print output"
ce5a1403d docs: Regenerate the docs helper
99a1f4a94 Fix note for reserved partial name(starting with -> including).
eba3cbc42 fix accidentally modification on paragraph.
3eebd98c3 Add note for reserved partial name.
40b881cc2 Document templates.Exists
b5c3bcd3b Update multilingual.md
61c59c67e Fix misspelling (#648 )
f21d8c4a4 Correct minor typo (#5372 )
e967001b9 Release 0.50
685fd6b08 releaser: Prepare repository for 0.51-DEV
f245a9faa releaser: Add release notes to /docs for release of 0.50
4354da30d releaser: Bump versions for release of 0.50
feaa05469 docs: Regenerate CLI docs
5c724200c Merge commit 'd6a4af7018e8618944a6471ceeb7aae1d4df6afa'
2ddab36c2 Merge commit '74309fe5699a595080fdb3a14711e0869babce99'
8cf296a7c docs: Regenerate CLI docs
9097683dd tpl: Update Jsonify to return pretty-print output
git-subtree-dir: docs
git-subtree-split: d1cf9adc412245c96d9d32592a903370d3972aef
2018-12-12 09:05:31 +01:00