Yihui Xie [Wed, 10 Apr 2019 18:50:51 +0000 (13:50 -0500)]
Remove the space in `. RelPermalink`
The same fix as
3b86b4a9f5ce010c9714d813d5b8ecddda22c69f, applied to doc.
Bjørn Erik Pedersen [Tue, 9 Apr 2019 21:59:59 +0000 (23:59 +0200)]
Bjørn Erik Pedersen [Tue, 9 Apr 2019 21:59:13 +0000 (23:59 +0200)]
Squashed 'docs/' changes from
acf70cdd9..
0f2bf195e
0f2bf195e Adjust shortcodes for 0.55
48c577121 Fix deprecation warnings
ed95a341a Update index.md
e4bc8981f Release 0.55.0
25acacb91 Merge branch 'temp55'
b240e321a releaser: Add release notes to /docs for release of 0.55.0
86a190c92 docs: Add information about summary front matter variable
9d94f4340 integrity: Add support for sha384
dd3fe9f92 Add HUGO_NUMWORKERMULTIPLIER
968372d86 Add trace.out to .gitignore
660772713 Add the Fireship images to cache
41a3e19cb hugolib: Allow page-relative aliases
4497e4b12 Update faq.md
b0ee3dccc output: Add missing JSON tag
173dac0b7 docs: Regenerate docshelper data
e30473062 docs: Regenerate CLI docs
8cb775be2 Merge commit '
c2037f0c9a3a35b9db9c404f6b5f94ec8b690a53'
5bc64bf44 Make Page an interface
371ff6c12 Add skipHTML option to blackfriday config
git-subtree-dir: docs
git-subtree-split:
0f2bf195ef549013cc843199fb50317b0d1a5e85
Bjørn Erik Pedersen [Tue, 9 Apr 2019 14:47:29 +0000 (16:47 +0200)]
resources/page: Fix .RSSLinke deprecation message
Closes #4427
Bjørn Erik Pedersen [Tue, 9 Apr 2019 14:39:12 +0000 (16:39 +0200)]
tpl/tplimpl: Replace deprecated .GetParam usage
Fixes #5834
hugoreleaser [Mon, 8 Apr 2019 16:42:12 +0000 (16:42 +0000)]
releaser: Prepare repository for 0.56.0-DEV
[ci skip]
hugoreleaser [Mon, 8 Apr 2019 16:39:45 +0000 (16:39 +0000)]
releaser: Add release notes to /docs for release of 0.55.0
[ci skip]
hugoreleaser [Mon, 8 Apr 2019 16:39:45 +0000 (16:39 +0000)]
releaser: Bump versions for release of 0.55.0
[ci skip]
Bjørn Erik Pedersen [Mon, 8 Apr 2019 16:34:48 +0000 (18:34 +0200)]
Release 0.55.0
hugoreleaser [Mon, 8 Apr 2019 09:27:25 +0000 (09:27 +0000)]
releaser: Add release notes draft for 0.55.0
Rename to *-ready.md to continue. [ci skip]
Bjørn Erik Pedersen [Sun, 7 Apr 2019 19:59:37 +0000 (21:59 +0200)]
Misc paginator adjustments
* Rewind paginator for server mode
* Add some more related tests.
* Replace the clumsy scratch constructs in internal paginator template with variables
See #5825
Bjørn Erik Pedersen [Sun, 7 Apr 2019 11:16:01 +0000 (13:16 +0200)]
Update to Go 1.12.2 and Go 1.11.7
Fixes #5819
Bjørn Erik Pedersen [Sun, 7 Apr 2019 08:22:19 +0000 (10:22 +0200)]
hugolib: Log warning on relative front matter url with lang
Will do this for one version only, as there may be situations where this is the correct thing.
Also add some more related test cases.
Fixes #5818
Bjørn Erik Pedersen [Sat, 6 Apr 2019 15:40:35 +0000 (17:40 +0200)]
Adjust rlimit logic
Closes #5821
Jim McDonald [Fri, 5 Apr 2019 22:17:54 +0000 (23:17 +0100)]
docs: Add information about summary front matter variable
Jim McDonald [Fri, 5 Apr 2019 17:11:04 +0000 (18:11 +0100)]
hugolib: Consider summary in front matter for .Summary
Add the ability to have a `summary` page variable that overrides
the auto-generated summary. Logic for obtaining summary becomes:
* if summary divider is present in content, use the text above it
* if summary variables is present in page metadata, use that
* auto-generate summary from first _x_ words of the content
Fixes #5800
Bjørn Erik Pedersen [Fri, 5 Apr 2019 14:58:52 +0000 (16:58 +0200)]
resources/page: Regenerate JSON wrapper
Bjørn Erik Pedersen [Fri, 5 Apr 2019 14:52:37 +0000 (16:52 +0200)]
resources/page: Add missing GitInfo to Page
Bjørn Erik Pedersen [Fri, 5 Apr 2019 09:40:02 +0000 (11:40 +0200)]
integrity: Add support for sha384
Fixes #5815
Bjørn Erik Pedersen [Fri, 5 Apr 2019 09:05:25 +0000 (11:05 +0200)]
hugolib: Fix default date assignment for sections
See #5784
Bjørn Erik Pedersen [Fri, 5 Apr 2019 08:09:22 +0000 (10:09 +0200)]
Add HUGO_NUMWORKERMULTIPLIER
And use that to calculate number of workers, if set, else fall back to number of logical CPUs.
Also tweak the relevant related settings to match the new setup.
Also remove the setting of `runtime.GOMAXPROCS` as this has been the default behaviour since Go 1.5.
Fixes #5814
Bjørn Erik Pedersen [Fri, 5 Apr 2019 07:31:16 +0000 (09:31 +0200)]
hugolib: Fix the GOMAXPROCS env get
Fixes #5813
Bjørn Erik Pedersen [Fri, 5 Apr 2019 06:55:39 +0000 (08:55 +0200)]
Use YAML for the benchmark compare
Bjørn Erik Pedersen [Fri, 5 Apr 2019 06:44:14 +0000 (08:44 +0200)]
hugolib: Fix benchmark for YAML front matter
Bjørn Erik Pedersen [Thu, 4 Apr 2019 14:50:10 +0000 (16:50 +0200)]
hugolib: Buffer the render pages chan
Bjørn Erik Pedersen [Thu, 4 Apr 2019 12:39:39 +0000 (14:39 +0200)]
deps: Update to imaging v1.6.0
Closes #5812
Bjørn Erik Pedersen [Thu, 4 Apr 2019 10:37:55 +0000 (12:37 +0200)]
hugolib: Re-work "fast render" logic in the new flow
Note that this fixes some "live reload" issues recently introduced in non-released code.
Closes #5811
See #5784
Bjørn Erik Pedersen [Tue, 2 Apr 2019 18:43:58 +0000 (20:43 +0200)]
metrics: Adjust the howSimilar logic vs strings
Also add a test.
Bjørn Erik Pedersen [Tue, 2 Apr 2019 08:52:43 +0000 (10:52 +0200)]
resources/page: Implement compare.ProbablyEqer for the core slices
Fixes #5808
Bjørn Erik Pedersen [Sun, 31 Mar 2019 10:08:15 +0000 (12:08 +0200)]
hugolib: Allow relative URLs in front matter
Before this commit you would have to do this in multilingual setups:
```
---
title: "Custom!"
url: "/jp/custom/foo"
---
```
This commit allows for relative URLs, e.g:
```
---
title: "Custom!"
url: "custom/foo"
---
```
Which is obviously easier and more portable.
The meaning of relative may change to include more in the future (e.g. role based access).
Fixes #5704
Bjørn Erik Pedersen [Sat, 30 Mar 2019 16:08:25 +0000 (17:08 +0100)]
hugolib: Allow page-relative aliases
Fixes #5757
Bjørn Erik Pedersen [Tue, 2 Apr 2019 08:30:24 +0000 (10:30 +0200)]
tpl: Allow the partial template func to return any type
This commit adds support for return values in partials.
This means that you can now do this and similar:
{{ $v := add . 42 }}
{{ return $v }}
Partials without a `return` statement will be rendered as before.
This works for both `partial` and `partialCached`.
Fixes #5783
Bjørn Erik Pedersen [Mon, 1 Apr 2019 07:11:36 +0000 (09:11 +0200)]
releaser: Remove version replacement in docs config
Fixes #5665
Bjørn Erik Pedersen [Mon, 1 Apr 2019 07:07:19 +0000 (09:07 +0200)]
releaser: Adjust patch vs images logic
Fixes #5664
Bjørn Erik Pedersen [Sat, 30 Mar 2019 15:46:18 +0000 (16:46 +0100)]
hugolib: Fix alias path for AMP and similar
Fixes #5760
Bjørn Erik Pedersen [Sat, 30 Mar 2019 08:12:49 +0000 (09:12 +0100)]
resources: Fix image publish ordering issue
Fixes #5730
Bjørn Erik Pedersen [Thu, 28 Mar 2019 19:59:09 +0000 (20:59 +0100)]
output: Add missing JSON tag
Bjørn Erik Pedersen [Thu, 28 Mar 2019 08:49:54 +0000 (09:49 +0100)]
docs: Regenerate docshelper data
Closes #5799
Bjørn Erik Pedersen [Thu, 28 Mar 2019 08:46:55 +0000 (09:46 +0100)]
deps: Update Chroma
Closes #5780
Bjørn Erik Pedersen [Thu, 28 Mar 2019 08:45:25 +0000 (09:45 +0100)]
hugolib: Add a simple test for jsonify of Site
Closes #5780
Bjørn Erik Pedersen [Tue, 26 Mar 2019 17:46:01 +0000 (18:46 +0100)]
docs: Regenerate CLI docs
Fixes #5779
Bjørn Erik Pedersen [Tue, 26 Mar 2019 17:41:36 +0000 (18:41 +0100)]
Bjørn Erik Pedersen [Tue, 26 Mar 2019 17:41:09 +0000 (18:41 +0100)]
Squashed 'docs/' changes from
4f4d1f48c..
acf70cdd9
acf70cdd9 Update CSS after removing Purge
74c0bb7f2 Remove purge from Webpack, temporarily
397b7284f Merge commit '
ccb1e38f3822e9b5e4fb89a296324daf3400f23b'
ccb1e38f3 Squashed 'themes/gohugoioTheme/' changes from
042112e2d..
b7853ae70
bca84e914 Fix search box text being invisible in Safari
3f21d0957 FAQ: "this feature is not available in your current Hugo version"
d8b318f90 Remove Gulp from Victor Hugo description
09d9b4c24 Update contribute/development.md
4d0f6ba47 Theme Components Support on the Hugo Themes Site (#769)
f2ec3f2a6 Fix broken link 404
af82c56c5 config: Remove superflous param
8dc14f563 Update theme total on homepage (#765)
7838fd7e2 Update description of Atlas to reflect new changes
6abab23c6 update: total of hugo themes
1dba24fde Clarify: summaryLength uses words not characters
8c54f45d6 Add missing punctuation
d17000481 Remove Hugo Frontend caddy-plugin
a7094ae62 remove unneeded meta tags
f8b0f31c6 Fix typo in cross references
61781bab9 Fix: use gh shortcode correctly
357bfca43 Update files.md
d1d2406cc Updated Hugo convert to clarify for and not ..
86850f3c3 Fix typos in multilingual.md
b68d0d892 Fix typo
8cba70e28 Document disableAliases
00e440260 Remove extra whitespace
212d63e4c Update with latest Theme Submission Guidelines (#744)
c24ea638f Update frontends.md
942bc1972 Add one more video
2e1e1091d Update the rest of the videos
a7dc70f2b Add new installation video
1a78f8487 Hosting on AWS amplify
112420c46 Fix typo
f723425e4 Add fireship.io bio to showcase
574f43503 Fixed typo
88e0e0cb7 Release 0.54.0
303edf19e Merge branch 'temp54'
c38debebd releaser: Prepare repository for 0.55.0-DEV
5c6c56fa1 releaser: Add release notes to /docs for release of 0.54.0
f86e05950 releaser: Bump versions for release of 0.54.0
6a2684fe4 Add the default cache configuration
f75c0125a Merge commit '
f27faf9afd0a8db768a21954b8755f1bf1a14f1b'
e440dc6a4 Merge commit '
5e078383a787e8b5ec3ba73f05ea4130840afbe2'
981bf53f8 Update _index.md
b54aea066 tpl: Fix reflect
41f8af5a6 Merge commit '
978856e2ad12d2bcaf37bb9e31f806b30a4c42f4'
git-subtree-dir: docs
git-subtree-split:
acf70cdd9fe2a89413e13db29466e45629372343
Bjørn Erik Pedersen [Tue, 26 Mar 2019 13:33:09 +0000 (14:33 +0100)]
hugolib: Do not fall back to site title if not set in content file
See #5784
Bjørn Erik Pedersen [Tue, 26 Mar 2019 12:12:58 +0000 (13:12 +0100)]
deps: Update Afero
Closes #5673
Bjørn Erik Pedersen [Tue, 26 Mar 2019 09:28:02 +0000 (10:28 +0100)]
hugolib: Add a test for home page with no title
See #5784
Bjørn Erik Pedersen [Mon, 25 Mar 2019 17:18:34 +0000 (18:18 +0100)]
Avoid nilpointer on no File on Page
Fixes #5781
Bjørn Erik Pedersen [Tue, 26 Mar 2019 09:15:57 +0000 (10:15 +0100)]
herrors/errors: Improve the "feature not available" error
Bjørn Erik Pedersen [Mon, 25 Mar 2019 07:25:29 +0000 (08:25 +0100)]
hugolib: Add String() to fileInfo
See #5784
Bjørn Erik Pedersen [Mon, 25 Mar 2019 06:54:10 +0000 (07:54 +0100)]
resources/page: Re-introduce .Page.Page
It was removed in
597e418cb02883418f2cebb41400e8e61413f651 -- it's not documented, but it's used in too many real sites on the web.
See #5784
Bjørn Erik Pedersen [Sun, 24 Mar 2019 09:11:16 +0000 (10:11 +0100)]
all: Apply staticcheck recommendations
Bjørn Erik Pedersen [Sun, 24 Mar 2019 09:08:19 +0000 (10:08 +0100)]
hugolib: Remove unused slice
Bjørn Erik Pedersen [Sat, 23 Mar 2019 19:15:06 +0000 (20:15 +0100)]
Run gofmt -s
Bjørn Erik Pedersen [Wed, 2 Jan 2019 11:33:26 +0000 (12:33 +0100)]
Make Page an interface
The main motivation of this commit is to add a `page.Page` interface to replace the very file-oriented `hugolib.Page` struct.
This is all a preparation step for issue #5074, "pages from other data sources".
But this also fixes a set of annoying limitations, especially related to custom output formats, and shortcodes.
Most notable changes:
* The inner content of shortcodes using the `{{%` as the outer-most delimiter will now be sent to the content renderer, e.g. Blackfriday.
This means that any markdown will partake in the global ToC and footnote context etc.
* The Custom Output formats are now "fully virtualized". This removes many of the current limitations.
* The taxonomy list type now has a reference to the `Page` object.
This improves the taxonomy template `.Title` situation and make common template constructs much simpler.
See #5074
Fixes #5763
Fixes #5758
Fixes #5090
Fixes #5204
Fixes #4695
Fixes #5607
Fixes #5707
Fixes #5719
Fixes #3113
Fixes #5706
Fixes #5767
Fixes #5723
Fixes #5769
Fixes #5770
Fixes #5771
Fixes #5759
Fixes #5776
Fixes #5777
Fixes #5778
Daniel Compton [Thu, 21 Feb 2019 01:34:32 +0000 (14:34 +1300)]
List future and expired dates in CSV format
It is useful to see the date that a post will be published, or the date
that it has expired, to build tooling around it. This commit writes
posts and their publish/expired date as CSV.
Fixes #5610
Bjørn Erik Pedersen [Sun, 17 Mar 2019 07:37:42 +0000 (08:37 +0100)]
Update to Go 1.12.1 and Go 1.11.6
Fixes #5755
Bjørn Erik Pedersen [Sat, 16 Mar 2019 08:40:27 +0000 (09:40 +0100)]
tpl/tplimpl: Fix mutex unlock
Bjørn Erik Pedersen [Thu, 14 Mar 2019 20:39:00 +0000 (21:39 +0100)]
commands: Fix doLiveReload logic
Fixes #5754
Bjørn Erik Pedersen [Wed, 13 Mar 2019 09:42:43 +0000 (10:42 +0100)]
deps: Update Viper
Bjørn Erik Pedersen [Tue, 12 Mar 2019 19:27:50 +0000 (20:27 +0100)]
hugolib: Adjust site benchmark
Having all the pages with shortcodes isn't realistic.
Bjørn Erik Pedersen [Thu, 7 Mar 2019 09:26:26 +0000 (10:26 +0100)]
Update to Go 1.12
Fixes #5716
Bjørn Erik Pedersen [Wed, 6 Mar 2019 23:37:50 +0000 (00:37 +0100)]
Remove Gitter dev chat link
Almost every question we get there belong on https://discourse.gohugo.io/
Bjørn Erik Pedersen [Wed, 6 Mar 2019 08:07:49 +0000 (09:07 +0100)]
tpl/tplimpl: Fix template truth logic
Before this commit, due to a bug in Go's `text/template` package, this would print different output for typed nil interface values:
```
{{ if .AuthenticatedUser }}User is authenticated!{{ else }}{{ end }}
{{ if not .AuthenticatedUser }}{{ else }}}User is authenticated!{{ end }}
```
This commit works around this by wrapping every `if` and `with` with a custom `getif` template func with truth logic that matches `not`, `and` and `or`.
Those 3 template funcs from Go's stdlib are now pulled into Hugo's source tree and adjusted to support custom zero values, e.g. types that implement `IsZero`.
This means that you can now do:
```
{{ with .Date }}{{ . }}{{ end }}
```
And it would work as expected.
Fixes #5738
grahamjamesaddis [Tue, 5 Mar 2019 13:26:49 +0000 (13:26 +0000)]
Update Travis config to work for forked builds
arrtchiu [Mon, 4 Mar 2019 10:27:18 +0000 (18:27 +0800)]
Add skipHTML option to blackfriday config
Elliott Sales de Andrade [Sat, 2 Mar 2019 06:21:48 +0000 (01:21 -0500)]
Update stretchr/testify to 1.3.0.
Berin Larson [Tue, 26 Feb 2019 08:11:06 +0000 (13:41 +0530)]
Rewrite relative action URLS
Fixes #5701
Anthony Metzidis [Thu, 7 Feb 2019 01:01:26 +0000 (17:01 -0800)]
Support Docker args TAGS, WORKDIR, CGO; speed up repetitive builds
Bjørn Erik Pedersen [Tue, 19 Feb 2019 20:47:03 +0000 (21:47 +0100)]
hugolib: Adjust test for Go 1.12
Anton Harniakou [Sun, 3 Feb 2019 11:03:44 +0000 (14:03 +0300)]
Support nested keys/fields with missing values with the `where` function
Before this commit `where` would produce an error and bail building the
site. Now, `where` simply skips an element of a collection and does not
add it to the final result.
Closes #5637
Closes #5416
Bjørn Erik Pedersen [Sat, 2 Feb 2019 11:04:42 +0000 (12:04 +0100)]
commands: Update debouncer version
Iskander (Alex) Sharipov [Sat, 2 Feb 2019 07:19:12 +0000 (10:19 +0300)]
common/herrors: Fix args order in strings.TrimPrefix
Old code always returned "." or "" (if filepath.Ext(filename) returned ".").
Now it properly trims the prefix.
Signed-off-by: Iskander Sharipov <quasilyte@gmail.com>
Iskander (Alex) Sharipov [Sat, 2 Feb 2019 00:26:05 +0000 (03:26 +0300)]
tpl: Fix strings.HasPrefix args order
hugoreleaser [Fri, 1 Feb 2019 09:42:55 +0000 (09:42 +0000)]
releaser: Prepare repository for 0.55.0-DEV
[ci skip]
hugoreleaser [Fri, 1 Feb 2019 09:40:32 +0000 (09:40 +0000)]
releaser: Add release notes to /docs for release of 0.54.0
[ci skip]
hugoreleaser [Fri, 1 Feb 2019 09:40:32 +0000 (09:40 +0000)]
releaser: Bump versions for release of 0.54.0
[ci skip]
Bjørn Erik Pedersen [Fri, 1 Feb 2019 09:34:37 +0000 (10:34 +0100)]
Release 0.54.0
hugoreleaser [Fri, 1 Feb 2019 09:31:43 +0000 (09:31 +0000)]
releaser: Add release notes draft for 0.54.0
Rename to *-ready.md to continue. [ci skip]
Bjørn Erik Pedersen [Fri, 1 Feb 2019 09:09:14 +0000 (10:09 +0100)]
releaser: Adjust patch logic
See #5639
Bjørn Erik Pedersen [Fri, 1 Feb 2019 08:44:12 +0000 (09:44 +0100)]
common/hugo: Use official semver even for main releases
Closes #5639
Bjørn Erik Pedersen [Fri, 1 Feb 2019 08:08:24 +0000 (09:08 +0100)]
Squashed 'docs/' changes from
49809a038..
4f4d1f48c
4f4d1f48c Merge commit '
ccb3ee5c57a00d5d32c53c882cf9893181a6ec10'
ccb3ee5c5 Squashed 'themes/gohugoioTheme/' changes from
dafc91ff1..
042112e2d
git-subtree-dir: docs
git-subtree-split:
4f4d1f48cd3da268c108f1ea6c204dd30f516bb1
Bjørn Erik Pedersen [Fri, 1 Feb 2019 08:08:24 +0000 (09:08 +0100)]
Bjørn Erik Pedersen [Fri, 1 Feb 2019 08:01:04 +0000 (09:01 +0100)]
Squashed 'docs/' changes from
785e375f..
49809a03
49809a03 Merge commit '
20a631b4964fc0ab9137cce1e41774cbc17de044'
20a631b4 Squashed 'themes/gohugoioTheme/' changes from
b8202f539..
dafc91ff1
8b58f565 Re-generate CLI docs
4653a724 Add Netlify deployment badge
2d6246bc Remove some deprecated site variables
e6777153 Improve Algolia Search Display Styling
1570999f Add missing "." in front of gitlab-ci.yaml example
b922ae7d This adds documentation to the new configDir/Environment logic from .53 (#729)
7cff379f Correctly escape multi-word taxonomy terms in example
2dfeeda4 fix typo by removing stray paren
0870bd9a Fix typo in `paginate` description
91e8be85 Fixes https://github.com/gohugoio/hugo/issues/5609
c1db65ec Make the dummy URL more obvious
b4589ff0 Fix a link
b73dcb9a Consistently use "posts" as section name in examples
7a56abbc Format definitions
a9c6fd9b Minor clarification over the last commit
5c86bdc8 Add alternative instructions for Quick Start for non-git users
dafe7ee9 Add Visual Studio Code plug-ins
110ed19e Update HUGO_VERSION
2abd031a Update page.md
b332f7b9 Update page.md
f5a8c9d4 Update static-files.md
6d0c155c Add note about relative protocol URLs
a13751ac Theme Warning: Remove note about unquoted URLs
4c8f7d68 Incorporate feedback
6f2b9cf0 Update Creating Themes Warning
40d88d98 Fix ToC example to use binary true/false
4a11f3f1 Fix typo
2dbfc0a4 Fix a typo in taxonomies
d63790ef Do not mark UndocumentedFeature issues as stale
d7aff095 Regenerate docs.json
71c0826f Update transform.Unmarshal.md
git-subtree-dir: docs
git-subtree-split:
49809a038b2691637bab7f3f2e385dde654a88b8
Bjørn Erik Pedersen [Fri, 1 Feb 2019 08:01:04 +0000 (09:01 +0100)]
Bjørn Erik Pedersen [Fri, 1 Feb 2019 07:54:30 +0000 (08:54 +0100)]
tpl/data: Adjust tests
See #5643
Anthony Fok [Mon, 28 Jan 2019 23:27:43 +0000 (16:27 -0700)]
tpl/data: Prevent getJSON and getCSV fetch failure from aborting build
Fixes #5643
Bjørn Erik Pedersen [Fri, 1 Feb 2019 07:40:53 +0000 (08:40 +0100)]
commands: Add test for --configDir
See #5662
Bjørn Erik Pedersen [Fri, 1 Feb 2019 06:45:35 +0000 (07:45 +0100)]
Ignore unknown config files in config dir
Swap files etc.
Fixes #5646
Anton Harniakou [Thu, 31 Jan 2019 12:06:18 +0000 (15:06 +0300)]
Store supported config formats in a variable
Bjørn Erik Pedersen [Thu, 31 Jan 2019 10:53:21 +0000 (11:53 +0100)]
Fix some inline shortcode issues
Fixes #5645
Fixes #5653
Bjørn Erik Pedersen [Thu, 31 Jan 2019 10:35:27 +0000 (11:35 +0100)]
Bump to Go 1.11.5
Fixes #5654
Bjørn Erik Pedersen [Wed, 30 Jan 2019 08:35:55 +0000 (09:35 +0100)]
Update Afero
Fixes #5650
Anthony Fok [Tue, 29 Jan 2019 20:03:42 +0000 (13:03 -0700)]
hugolib: Expand TestPageWithEmoji to cover '+', '-' and '_' too
See #5635 and commit
3038464e
Anthony Fok [Tue, 29 Jan 2019 12:38:36 +0000 (05:38 -0700)]
Accept hyphen and plus sign in emoji detection
Fixes #5635
Elliot Murphy [Fri, 25 Jan 2019 04:19:59 +0000 (23:19 -0500)]
Fix OpenGraph image fallback to site params
Signed-off-by: Elliot Murphy <statik@users.noreply.github.com>
Anton Harniakou [Tue, 15 Jan 2019 12:41:54 +0000 (15:41 +0300)]
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
Bjørn Erik Pedersen [Fri, 18 Jan 2019 17:48:19 +0000 (17:48 +0000)]
Fix Params case handling in the new site global
Fixes #5615
Anton Harniakou [Sun, 13 Jan 2019 09:44:38 +0000 (12:44 +0300)]
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
Anthony Fok [Thu, 10 Jan 2019 22:57:30 +0000 (15:57 -0700)]
Add configFile(s) back to the watch list after RENAME event too
Alleviates #5205
mywaiting [Thu, 10 Jan 2019 17:24:38 +0000 (01:24 +0800)]
Remove historical rssURI config