hugoreleaser
ccfbb63d17
releaser: Bump versions for release of 0.55.2
...
[ci skip]
2019-04-17 12:20:37 +00:00
Bjørn Erik Pedersen
fcd63a865e
Release 0.55.2
2019-04-17 14:13:46 +02:00
hugoreleaser
7ace59d5bf
releaser: Add release notes draft for 0.55.2
...
Rename to *-ready.md to continue. [ci skip]
2019-04-17 12:10:37 +00:00
Bjørn Erik Pedersen
35f41834ea
hugolib: Add more tests for Permalinkable
...
See #5849
2019-04-17 13:26:27 +02:00
Bjørn Erik Pedersen
9b17cbb62a
hugolib: Fix Pages reinitialization on rebuilds
...
Which had some unpredictable behaviour when using `.Pages` on home page etc. that had a content page.
Fixes #5833
2019-04-17 12:56:46 +02:00
Bjørn Erik Pedersen
2957795f52
tpl/tplimpl: Handle late transformation of templates
...
Fixes #5865
2019-04-16 21:24:09 +02:00
Bjørn Erik Pedersen
56550d1e44
hugolib: Fix shortcode namespace issue
...
Fixes #5863
2019-04-15 18:31:56 +02:00
Bjørn Erik Pedersen
7881b0965f
hugolib: Fix false WARNINGs in lang prefix check
...
Add a slash to the check to make it less likely to match a valid value.
Fixes #5860
2019-04-15 17:12:29 +02:00
Bjørn Erik Pedersen
49d0a82641
hugolib: Fix bundle resource publishing when multiple output formats
...
The faulty logic published the bundled resources for the "first output" format.
This worked most of the time, but since the output formats list is sorted,
any output format only used for some of the pages (e.g. CSS) would not work properly.
Fixes #5858
2019-04-15 17:01:39 +02:00
Bjørn Erik Pedersen
b799b12f4a
hugolib: Fix panic for unused taxonomy content files
...
In Hugo 0.55 we connected the taxonomy nodes with their owning Page.
This failed if you had, say, a content file for a author that did not author anything in the site:
```
content/authors/silent-persin/_index.md
```
Fixes #5847
2019-04-15 13:36:05 +02:00
Bjørn Erik Pedersen
701486728e
hugolib: Fix dates for sections with dates in front matter
...
Fixes #5854
2019-04-13 20:01:43 +02:00
Bjørn Erik Pedersen
f2795d4d2c
Fix WeightedPages in union etc.
...
We introduced a callback func() to get the owner Page in 0.55.0.
Sadly, funcs is not comparable type in Go.
This commit replaces the func with a struct pointer that wraps the Page.
Fixes #5850
2019-04-13 18:52:38 +02:00
hugoreleaser
e85c057f99
releaser: Prepare repository for 0.56.0-DEV
...
[ci skip]
2019-04-12 09:58:35 +00:00
hugoreleaser
223b3c2eec
releaser: Add release notes to /docs for release of 0.55.1
...
[ci skip]
2019-04-12 09:56:13 +00:00
hugoreleaser
7ca15c7ddb
releaser: Bump versions for release of 0.55.1
...
[ci skip]
2019-04-12 09:56:13 +00:00
Bjørn Erik Pedersen
adb776b22b
Release 0.55.1
2019-04-12 11:30:04 +02:00
hugoreleaser
5efdd14ebd
releaser: Add release notes draft for 0.55.1
...
Rename to *-ready.md to continue. [ci skip]
2019-04-12 09:29:27 +00:00
Bjørn Erik Pedersen
8d7607aed1
hugolib: Add a test for parent's resources in shortcode
...
See #5833
2019-04-12 10:44:21 +02:00
Bjørn Erik Pedersen
4d425a86f5
Fix
2019-04-12 10:26:10 +02:00
Bjørn Erik Pedersen
9e9a1f92ba
hugolib: Fix simple menu config
...
This stopped working in Hugo 0.55:
```bash
---
menu: "main"
---
```
This was also the case for using a slice of menu entries.
This still worked:
---
menu:
main:
weight: 30
---
2019-04-12 10:04:17 +02:00
Bjørn Erik Pedersen
f7375c4972
Fix paginator refresh on server change
...
Fixes #5838
2019-04-12 09:18:59 +02:00
Yihui Xie
7966c0b5b7
Remove the space in . RelPermalink
...
The same fix as 3b86b4a9f5
, applied to doc.
2019-04-10 22:45:20 +02:00
Bjørn Erik Pedersen
cc98fc8ad2
Merge commit '8b73644d81a81e82851b7f7c90aa8ab5524fbe93'
2019-04-09 23:59:59 +02:00
Bjørn Erik Pedersen
8b73644d81
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
2019-04-09 23:59:13 +02:00
Bjørn Erik Pedersen
3b86b4a9f5
resources/page: Fix .RSSLinke deprecation message
...
Closes #4427
2019-04-09 16:47:29 +02:00
Bjørn Erik Pedersen
27a8049da7
tpl/tplimpl: Replace deprecated .GetParam usage
...
Fixes #5834
2019-04-09 16:39:12 +02:00
hugoreleaser
ee4274244b
releaser: Prepare repository for 0.56.0-DEV
...
[ci skip]
2019-04-08 16:42:12 +00:00
hugoreleaser
4333cc77fe
releaser: Add release notes to /docs for release of 0.55.0
...
[ci skip]
2019-04-08 16:39:45 +00:00
hugoreleaser
452cdcd7c8
releaser: Bump versions for release of 0.55.0
...
[ci skip]
2019-04-08 16:39:45 +00:00
Bjørn Erik Pedersen
05d614e13b
Release 0.55.0
2019-04-08 18:34:48 +02:00
hugoreleaser
018cd0c9da
releaser: Add release notes draft for 0.55.0
...
Rename to *-ready.md to continue. [ci skip]
2019-04-08 18:33:35 +02:00
Bjørn Erik Pedersen
612a06f067
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
2019-04-08 11:02:12 +02:00
Bjørn Erik Pedersen
3db4a1cf7a
Update to Go 1.12.2 and Go 1.11.7
...
Fixes #5819
2019-04-07 18:54:53 +02:00
Bjørn Erik Pedersen
f34e6172cf
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
2019-04-07 18:54:18 +02:00
Bjørn Erik Pedersen
708d4ceebd
Adjust rlimit logic
...
Closes #5821
2019-04-07 00:53:55 +02:00
Jim McDonald
ed65bda3b4
docs: Add information about summary front matter variable
2019-04-06 00:17:54 +02:00
Jim McDonald
3a62d54745
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
2019-04-05 19:11:04 +02:00
Bjørn Erik Pedersen
ebab291c0e
resources/page: Regenerate JSON wrapper
2019-04-05 16:58:52 +02:00
Bjørn Erik Pedersen
75467cd785
resources/page: Add missing GitInfo to Page
2019-04-05 16:52:37 +02:00
Bjørn Erik Pedersen
d1553b4b0f
integrity: Add support for sha384
...
Fixes #5815
2019-04-05 16:35:07 +02:00
Bjørn Erik Pedersen
1d9dde82a0
hugolib: Fix default date assignment for sections
...
See #5784
2019-04-05 11:20:09 +02:00
Bjørn Erik Pedersen
87b16abd93
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
2019-04-05 10:21:25 +02:00
Bjørn Erik Pedersen
415ca9673d
hugolib: Fix the GOMAXPROCS env get
...
Fixes #5813
2019-04-05 09:57:43 +02:00
Bjørn Erik Pedersen
8559f5c29f
Use YAML for the benchmark compare
2019-04-05 08:55:39 +02:00
Bjørn Erik Pedersen
e2dc432fe2
hugolib: Fix benchmark for YAML front matter
2019-04-05 08:52:58 +02:00
Bjørn Erik Pedersen
950295516d
hugolib: Buffer the render pages chan
2019-04-04 16:50:10 +02:00
Bjørn Erik Pedersen
032e6802d1
deps: Update to imaging v1.6.0
...
Closes #5812
2019-04-04 14:39:39 +02:00
Bjørn Erik Pedersen
d0d661dffd
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
2019-04-04 13:51:22 +02:00
Bjørn Erik Pedersen
4494a01b79
metrics: Adjust the howSimilar logic vs strings
...
Also add a test.
2019-04-02 21:00:42 +02:00
Bjørn Erik Pedersen
e91e222cd2
resources/page: Implement compare.ProbablyEqer for the core slices
...
Fixes #5808
2019-04-02 16:10:13 +02:00