Commit Graph
9901 Commits
Author SHA1 Message Date
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
https://github.com/gohugoio/hugoDocs/pull/690/files/4fa760d7096692366c2d09606e43d9b58d792131#r242191660
https://github.com/gohugoio/hugoDocs/pull/690/files/4fa760d7096692366c2d09606e43d9b58d792131#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 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 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: 785e375f57
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
Bjørn Erik Pedersen ba9a69d25e Update reflect.IsSlice.md
See https://github.com/gohugoio/hugo/issues/5564
2018-12-25 10:00:40 +01:00
Bjørn Erik Pedersen 8063442580 Update reflect.IsMap.md
See https://github.com/gohugoio/hugo/issues/5564
2018-12-25 10:00:11 +01:00
Bjørn Erik Pedersen 757c0dafa1 Update index.md 2018-12-24 16:15:34 +01:00
Bjørn Erik Pedersen d3f20a2d5f Update index.md 2018-12-24 16:14:56 +01:00
Bjørn Erik Pedersen 9952e72a0e Formatting 2018-12-24 10:03:36 +01:00
Bjørn Erik Pedersen 70458ccf28 Formatting 2018-12-24 10:01:47 +01:00
Bjørn Erik Pedersen 7e0dd3969f Merge branch 'config-dir' 2018-12-24 09:56:45 +01:00
Bjørn Erik Pedersen 06a5c11fc8 Release 0.53 2018-12-24 09:56:02 +01:00