9059 Commits

Author SHA1 Message Date
Ross Light
7cff379f58 Correctly escape multi-word taxonomy terms in example 2019-01-20 10:34:53 -05:00
Michael Henderson
2dfeeda45e fix typo by removing stray paren 2019-01-20 10:33:47 -05:00
Anton Harniakou
26f75edb7a Support numeric sort in ByParam
With this commit ByParam takes into account a type of a value under a
key. If both values are numeric then they're coerced into float64 and
then get compared.
If any value isn't numeric, for example it's nil or string, then both
values coerced into string and get compared as strings
(lexicographicaly)

Nil values are always sent to the end.

Numeric values confirm to any type listed below:
uint8, uint16, uint32, uint64, int, int8, int16, int32, int64, float32, float64

Closes #5305
2019-01-20 13:05:20 +00:00
Bjørn Erik Pedersen
e1a66c7343 Fix Params case handling in the new site global
Fixes #5615
2019-01-20 12:42:24 +00:00
Tim McCormack
0870bd9a28 Fix typo in paginate description 2019-01-18 15:11:05 +00:00
Regis Philibert
91e8be85a1
Fixes https://github.com/gohugoio/hugo/issues/5609 2019-01-15 15:10:28 -05:00
Kaushal Modi
c1db65ec7a
Make the dummy URL more obvious
Ref: https://github.com/gohugoio/hugoDocs/issues/717
2019-01-15 09:16:30 -05:00
Kaushal Modi
b4589ff029 Fix a link 2019-01-14 16:19:37 -05:00
Kaushal Modi
b73dcb9adc Consistently use "posts" as section name in examples
While Hugo does not care if the section is named "post" or "posts",
this commit normalizes the whole Hugo documentation to use "posts"
when used as an example for a section name to prevent user confusion.

Fixes https://github.com/gohugoio/hugoDocs/issues/720.

Also highlight the use of `site.Params.mainSections`.
2019-01-14 13:23:53 -05:00
maiki
7a56abbcec Format definitions 2019-01-13 23:47:43 +00:00
Anton Harniakou
db3c49d049 Make hugo server -t work again
This commit solves an issue where hugo would ignore the cli -t flag
and only use a theme defined in config.toml.

Also allow -t flag to accept a string slice.

Closes #5569
Closes #5061
Related #4868
2019-01-13 20:13:59 +00:00
Anthony Fok
e3cb8e6c78
Add configFile(s) back to the watch list after RENAME event too
Alleviates #5205
2019-01-10 15:57:30 -07:00
mywaiting
55251aa890 Remove historical rssURI config 2019-01-10 18:24:38 +01:00
Kaushal Modi
a9c6fd9b73 Minor clarification over the last commit 2019-01-08 12:54:22 -05:00
Kaushal Modi
5c86bdc8a9 Add alternative instructions for Quick Start for non-git users
Ref: https://discourse.gohugo.io/t/error-on-quick-start/16216/7
2019-01-08 12:37:39 -05:00
Anton Harniakou
843fcd19d4 Use subtests with server_test.go
Use Golang's subtests to provide a convenient way
to run specific tests.
Example:
go test -run=TestFixURL/Basic_production
2019-01-08 14:54:11 +01:00
Shohei Ueda
dafe7ee957 Add Visual Studio Code plug-ins
* add Visual Studio Code plugin, Hugo Helper

* add Visual Studio Code plugin, Hugo Language and Syntax Support

* Fix comment for Hugo Language and Syntax Support
2019-01-05 14:10:32 +01:00
peaceiris
110ed19eed Update HUGO_VERSION 2019-01-05 14:09:52 +01:00
Bjørn Erik Pedersen
2abd031ae7
Update page.md 2019-01-04 17:37:41 +01:00
Bjørn Erik Pedersen
b332f7b94a
Update page.md 2019-01-04 17:35:02 +01:00
Sergio Nogueiras Fernández
f5a8c9d4fa Update static-files.md
Explain how to access static files
2019-01-04 12:33:34 +01:00
Alexandros
6d0c155c82 Add note about relative protocol URLs
See https://github.com/gohugoio/hugoThemes/pull/521#issue-239913619 for the need to have this note about relative protocol URLs in themes.
2019-01-03 14:35:15 +01:00
Alexandros
a13751ac53 Theme Warning: Remove note about unquoted URLs
See https://github.com/gohugoio/hugo/issues/5488#issuecomment-449552225
2019-01-03 14:35:15 +01:00
Alexandros
4c8f7d6837 Incorporate feedback
See
4fa760d709 (r242191660)
4fa760d709 (r242195513)
2019-01-03 14:35:15 +01:00
Alexandros
6f2b9cf0d6 Update Creating Themes Warning
See https://github.com/gohugoio/hugo/issues/5488#issuecomment-447807350 and https://github.com/gohugoio/hugo/issues/5488#issuecomment-447860467 for the rationale of this PR.

@bep Feel free to reword if you think, this could be improved.
2019-01-03 14:35:15 +01:00
Bjørn Erik Pedersen
ce8a09a4c0 resources: Move resource interfaces into its own package 2019-01-02 14:25:37 +01:00
Bjørn Erik Pedersen
669ada4367 resource: Move resource processors into sub-packages 2019-01-02 14:25:37 +01:00
Marc Robinson
981bf53f84 Update _index.md
Corrects misspelling of sync (synch)
2019-01-02 09:58:39 +01:00
Marc Robinson
507451229c Update _index.md
Corrects misspelling of sync (synch)
2019-01-02 09:58:39 +01:00
Alex Hogen
40d88d98f7 Fix ToC example to use binary true/false
The example code seemed to require that `toc` be set to the *string* `"false"` instead of the boolean keyword `false`. However, the text said the `toc` variable should be set to boolean `true`/`false` keywords, not strings. I'm not very familiar with GoLang so I could be completely wrong. I just know that the following Hugo page preamble did not work with the original code, but does work with the proposed fix.

```
+++

toc = false

+++
```
2019-01-02 09:58:16 +01:00
Jono Hey
4a11f3f17c Fix typo
Changed `you` to `your`
2018-12-31 07:08:54 -04:00
Danny Guo
2dbfc0a492 Fix a typo in taxonomies 2018-12-31 06:58:13 -04:00
Kaushal Modi
d63790ef3c
Do not mark UndocumentedFeature issues as stale 2018-12-31 06:55:12 -04: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 fff132537b4094221f4f099e2251f3cda613060f.
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 9ce0a1fb7011bd75eb0e2262e35354c49ce98ac5.
2018-12-29 10:00:17 +01:00
Cameron Moore
b54aea066c tpl: Fix reflect
Fixes #5564
2018-12-28 10:41:46 +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
d7aff09540
Regenerate docs.json 2018-12-27 10:11:50 +01:00
Bjørn Erik Pedersen
c24f3ae22b
Make docshelper run again
Fixes #5568
2018-12-27 10:08:44 +01:00
Arnaud Ligny
71c0826f3c Update transform.Unmarshal.md
Fix some typos.
2018-12-27 01:05:29 +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
41f8af5a6c Merge commit '978856e2ad12d2bcaf37bb9e31f806b30a4c42f4' 2018-12-26 10:27:54 +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
Mihira Jayasekera
785e375f57 Change 'my-another-post' to 'my-other-post'
Sounds more natural this way.
2018-12-26 00:26:17 +01:00