Commit Graph
10979 Commits
Author SHA1 Message Date
Bjørn Erik Pedersen ddc15ed41b Merge commit '5e078383a787e8b5ec3ba73f05ea4130840afbe2' 2019-02-01 09:01:04 +01:00
Bjørn Erik Pedersen ddc6d4e30f tpl/data: Adjust tests
See #5643
2019-02-01 08:54:30 +01:00
Anthony Fok 6a2bfcbec8 tpl/data: Prevent getJSON and getCSV fetch failure from aborting build
Fixes #5643
2019-02-01 08:52:29 +01:00
Bjørn Erik Pedersen 59d87044a4 commands: Add test for --configDir
See #5662
2019-02-01 08:40:53 +01:00
Bjørn Erik Pedersen 49809a038b Merge commit '20a631b4964fc0ab9137cce1e41774cbc17de044' 2019-02-01 07:59:46 +01:00
Bjørn Erik Pedersen 20a631b496 Squashed 'themes/gohugoioTheme/' changes from b8202f539..dafc91ff1
dafc91ff1 Rebuild prod bundles
14f4f2c7e Update Babel dependencies
9cd6d77c1 site-search.html: remove duplicate type attribute.
eb8a3eb6a Remove unneeded chrome=1 X-UA-Compatible meta tag
47e4a62da sponsors.html: Fix wrong `f3` element
dc2320ecc Fix typo in headers file (#107)

git-subtree-dir: themes/gohugoioTheme
git-subtree-split: dafc91ff16f2fa02e972335189fca8eca1b0911a
2019-02-01 07:57:17 +01:00
Bjørn Erik Pedersen 3244cb3b31 Ignore unknown config files in config dir
Swap files etc.

Fixes #5646
2019-02-01 07:47:40 +01:00
Anton Harniakou d9282cf98a Store supported config formats in a variable 2019-02-01 07:17:37 +01:00
Bjørn Erik Pedersen c52045bbb3 Fix some inline shortcode issues
Fixes #5645
Fixes #5653
2019-01-31 19:08:19 +01:00
Bjørn Erik Pedersen 8ed2a1caa9 Bump to Go 1.11.5
Fixes #5654
2019-01-31 13:23:55 +01:00
Bjørn Erik Pedersen e85961390a Update Afero
Fixes #5650
2019-01-30 09:35:55 +01:00
Bjørn Erik Pedersen 8b58f565f0 Re-generate CLI docs 2019-01-30 00:37:23 +01:00
Bjørn Erik Pedersen 4653a724ac Add Netlify deployment badge 2019-01-29 23:47:13 +01:00
Anthony Fok 2a9060a85c hugolib: Expand TestPageWithEmoji to cover '+', '-' and '_' too
See #5635 and commit 3038464e
2019-01-29 13:03:42 -07:00
Anthony Fok 3038464ea6 Accept hyphen and plus sign in emoji detection
Fixes #5635
2019-01-29 05:38:36 -07:00
Bjørn Erik Pedersen 2d6246bcd3 Remove some deprecated site variables 2019-01-28 10:40:11 +01:00
budparr e6777153b5 Improve Algolia Search Display Styling
This commit restores original styling to the Algolia search box and adds a Hugo color to headings.
2019-01-27 19:03:15 +01:00
Phil Winder 1570999f32 Add missing "." in front of gitlab-ci.yaml example 2019-01-26 17:30:20 +01:00
Elliot Murphy 526b5b1c49 Fix OpenGraph image fallback to site params
Signed-off-by: Elliot Murphy <statik@users.noreply.github.com>
2019-01-25 18:14:10 +01:00
Regis Philibert b922ae7d55 This adds documentation to the new configDir/Environment logic from .53 (#729)
Adds a config entry to Directory Structure
Adds a Hugo.Environment entry to variables/hugo
Edit the configuration page to wrap first part under a Configuration File heading and introduce a second heading, Configuration Directory to present the feature.
2019-01-22 14:27:14 -05:00
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
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